Stop 2
Detox in San Francisco: getting through the first days safely
Withdrawal is the part people fear most, and the part where medical help makes the biggest difference. Here is how detox works and how to tell what kind you need.

What detox is, and what it is not
Detox, which clinicians call withdrawal management, is the medical care that gets you through the first days after you stop drinking or using. Nurses check vital signs, a prescriber uses medication to ease symptoms and prevent complications, and staff watch for the problems that make withdrawal dangerous.
Detox is not treatment on its own. It clears the way. People who go straight from detox back home with no next step relapse at very high rates, and after opioid detox the risk of a fatal overdose goes up because tolerance drops fast. A good detox program spends part of every day on what comes next.
Emergency rooms and crisis care in San Francisco
Zuckerberg San Francisco General Hospital is the city's public hospital and only level I trauma center, with a psychiatric emergency service. UCSF and other hospitals also have emergency departments that see withdrawal and overdoses.
For a mental health crisis, call or text 988. The city's street crisis response teams can respond to many behavioral health calls without police.
Detox and mental health at the same time
Withdrawal can make anxiety and depression worse for a while. It can also uncover things that drinking or using was covering, such as panic attacks, trauma symptoms or long-standing depression.
Tell staff if you have a mental health diagnosis or take psychiatric medication. Ask whether a psychiatrist or psychiatric nurse practitioner is available during detox. If you have thoughts of suicide, say so. It changes the level of supervision, and that is the point.
Inpatient or outpatient detox?
Inpatient detox
You stay at a hospital unit or a freestanding detox program for about 3 to 7 days, with nursing care around the clock. Best for alcohol and benzodiazepine withdrawal with any risk factors, and for anyone without a safe, sober place to stay.
Outpatient detox
You sleep at home and check in daily, or close to it, with a prescriber. It can work for milder alcohol withdrawal or for starting buprenorphine, if someone sober is with you at home. In San Francisco, ask how far the clinic is from you: daily visits only work if you can get there.
California laws worth knowing
California's Good Samaritan law gives limited legal protection to people who call 911 for an overdose and to the person who overdosed, covering minor possession charges. Naloxone is widely available: the state's Naloxone Distribution Project supplies it free to many community groups, schools and agencies, and pharmacies sell it over the counter.
Fentanyl test strips are legal to possess in California.
If you have tried detox before and it did not stick
That is a very common story, and it usually says more about what happened after detox than about you. Ask what the plan was the last time you left. Was there an appointment the next day? Medication? A safe place to sleep?
This time, tell the program what went wrong before. A good team will build around it: a direct handoff to residential care, a buprenorphine prescription that continues, or a bed in sober living. Each previous attempt is information, not a failure.
Detox when you also live with chronic pain
People who use opioids for pain, prescribed or not, often fear that detox will leave the pain untreated. Good programs plan for pain with non-opioid medicines and sometimes with buprenorphine, which treats both pain and opioid use disorder.
Bring a list of your pain diagnoses and treatments.
Leaving detox with a plan
The best detox programs do not just discharge you; they book your next appointment before you leave, give you naloxone if you used opioids, and make sure you have any medication you need until that appointment.
If a program does not offer these, ask for them.
Sources
- American Society of Addiction Medicine, The ASAM Criteria: www.asam.org/asam-criteria
- SAMHSA, Treatment Options for Substance Use Disorder: www.samhsa.gov/substance-use/treatment/options
Sources checked December 2026. General information only, not medical advice.