The length of medical detox varies from person to person.
https://cruzekqf414.summitquill.com/posts/cocaine-and-methamphetamine-withdrawal-the-case-for-medical-detox
How long medical detox lasts depends on the individual. Emotional readiness matters along with physical stability. Detox ends when the body is stable, not when a date arrives. A licensed treatment provider can give realistic guidance.