Migraines and headaches don't exist in a bubble. Comorbid conditions (conditions that we can have at the same time, but these conditions don't cause each other) can have significant impact on effective treatment of the individual disorders.
Since January is Thyroid Awareness Month, this is a good time to take a look at the connection between thyroid and headache disorders. A strong connection has been found between hypothyroidism and both new daily persistent headache and chronic Migraine.
Dr. John Claude Krusz notes that, "Thyroid and other endocrine hormones can play a notable role in the development of headache and Migraine and in their failure to respond to treatment."