The invention relates to an inhalable gaseous composition containing oxygen (O2) in a proportion greater than 50% by volume, intended to treat, to minimize or to prevent a chronic migraine attack in a patient, said composition being produced on site, i.e. at the patients home, by an oxygen-producing device designed so as to produce a gas stream containing more than 50% of oxygen from air.