One weekend.
I was on zolpidem and ssri's etc. suffer anxiety etc. was on other stuff too.
The trick is to not get out of bed when you get annoyed by not falling asleep. The not sleeping is a byproduct of the addiction. It is a mindset, the monkey brain running around all night telling you, you need to take a pill otherwise you cannot sleep.
I have quit multiple times in my life. And what works best is to get into bed at 9pm every night. If you do not sleep, just stay in bed. Yes you will be tired and yes you will tell yourself its ok to rather take sleeping pills than it is to be tired at work etc.
Just stick with it. Eventually your mind will let you sleep. If that does not work, go and sit on a bed from friday night, forcing yourself to do chores from 6am, repeat it sunday. If you have not slept for 2 nights straight, your body will crash and you will sleep. The rest is BS excuses to feed the addiction
Oh. But i will admit when i quit the first time, i used CBD oil which is legal and can be bought online with a tiny bit of THC content. Its more a placebo than anything else, but it alleviates the need to take something before bed time.