There is no single timeline for medical detox,
https://speakerdeck.com/geleynlsgq
How long medical detox takes varies from person to person, and rushing withdrawal can create new risks. Detox is a first step, best followed by a continuum of care. Ask a treatment provider which level of care fits.