Experiencing a headache when coughing can be a frustrating and uncomfortable sensation. There are several potential reasons why this occurs. One possibility is that the act of coughing can increase pressure in the head and sinus cavities, which can trigger or exacerbate a headache. Coughing forcefully or repeatedly may also strain the muscles in the head and neck, leading to tension headaches.
Another common cause is sinus congestion or inflammation. When you have a cold, allergies, or sinus infection, the nasal passages can become congested. Coughing can further irritate the sinuses, causing pain or pressure in the head. Additionally, the sinuses and the skull are interconnected, so the pain from sinus congestion can radiate to different areas, including the head.
Read More: why does my head hurt when i cough