Diagnosis of migraines is primarily clinical, based on patient history and the exclusion of other potential causes. Healthcare providers may use criteria from the International Classification of Headache Disorders (ICHD) to aid in diagnosis. Imaging studies or other diagnostic tests may be conducted to rule out secondary causes.