Drug-induced headache is a well-known complication of the treatment of primary headache disorders, and its successful management is only possible by withdrawal therapy. However, it is unknown whether ambulatory or stationary withdrawal is the therapy preferred. We conducted a prospective study on the outcome of stationary versus ambulatory withdrawal therapy in patients with drug-induced headache according to the International Headache Society criteria. Out of 257 patients with the diagnosis of drug-induced headache during the study period, 101 patients (41 after ambulatory and 60 after stationary withdrawal therapy) could be followed up for 5.9 +/- 4.0 years. The total relapse rate after successful withdrawal therapy was 20.8% (14.6% after ambulatory and 25.0% after stationary withdrawal therapy, p < 0.2). The main risk factors for a relapse were male sex (OR = 3.9, CI = 1.3-11.6), intake of combined analgesic drugs (OR = 3.8, CI = 1.4-10.3), administration of naturopathy (OR = 6.0, CI = 1.2-29.3), and a trend to tension-type headache as the primary headache disorder (OR = 1.9, CI = 0.6-53.0). Our data suggest that neither the method of withdrawal therapy nor the kind of analgesic and other antimigraine drugs has a major impact on the long-term result after successful withdrawal therapy. Patients with risk factors according to our findings should be informed and monitored regularly, and combined drugs should be avoided. Furthermore, our data suggest that there is a need for research on individual psychological and behavioral risk factors for relapse after successful withdrawal therapy in drug-induced headache.