Medication-overuse headache-i.e., a too-frequent consumption of acute headache medications leading to increased headache frequency and reduced effectiveness of acute and preventive treatments-is a serious medical condition whose pathophysiology still remains incompletely known, which is reflected into a lack of mechanism-based treatments. The first mandatory step in the therapeutic strategy remains withdrawal of the abused drug, preferably abrupt, in concomitance with a detoxification pharmacological regimen to lessen withdrawal symptoms. Intravenous hydration, antiemetics, corticosteroids (prednisone), tranquilizers (benzodiazepine), neuroleptics, and rescue medication (another analgesic than the overused) should be delivered in various combinations, on an inpatient (hospitalization and day hospital) basis or outpatient basis, depending on the characteristics of the specific patient and type of overuse. Inpatient withdrawal should be preferred in barbiturate and opioid overuse, in concomitant depression, or, in general, in patients who have difficulty in stopping the overused medication as outpatients. In contrast, in overuse limited to simple analgesics in highly motivated patients, without high levels of depression and/or anxiety, home detoxification should be chosen. Re-prophylaxis should immediately follow detoxification, ideally with local injections of onabotulinumtoxinA every 3 months or topiramate orally for at least 3 months. Adequate information to patients about the risks of a too-frequent consumption of symptomatic headache medications is essential and should constantly parallel treatment to help preventing relapse after detoxification and re-prophylaxis.