The time couldn’t be quantified, but a slow tapering of medicine dose over a span of 3-6 months could be considered depending on how much time have you been taking the medication.
Next Steps
Other sedative molecules may be added to ensure sleep if sleep
Gets disturbed with reducing or stopping Zolpidem.
Various molecules with no tendency of dependence have been found effective for insomnia.