Headaches can make even the most steadfast among us lose focus. And women, especially those in middle age, may experience a disproportionate number of certain kinds of headaches.

Migraines, for example, are three times more common among women. Approximately 40 percent of women between the ages of 30 and 50 suffer from migraines, according to Peter McAllister, M.D., a board-certified neurologist and director of the New England Institute for Neurology and Headache in Stamford, Connecticut.

Here are common reasons why headaches occur for women during midlife and how you can treat them.