Chronic migraines are diagnosed by a physician based on a thorough headache history, tracking migraine frequency, ruling out secondary causes, and features of the headache attacks themselves. A headache diary is usually kept to record attack details.