Provided herein are prostaglandin F2alpha analog compositions and methods for treating migraines by topical administration. The method involves administering topically to a subject in need thereof a composition including a prostaglandin F2apha analog or pharmaceutically acceptable salt thereof, in an amount effective to treat migraine. The treatment may be administered prophylactically or therapeutically. Topical administration is to the epidermis, conjunctival surface or other mucous membranes, typically to a nail, the skin, the hair, the surface of the eye or the inner surface of the eyelid, and the like. The prostaglandin F2a analog can be latanoprost, isopropyl unoprostone, bimatoprost, travoprost, or tafluprost; or pharmaceutically acceptable salt thereof.