If you get a headache at school, the fastest things you can do are drink water, rest your eyes, and relax the muscles in your neck and shoulders. Most school headaches are tension headaches or dehydration headaches, and both respond well to simple fixes you can start right in your seat. Here’s what to do step by step, whether you’re stuck in class or able to visit the nurse.
What to Do Right at Your Desk
Before you even raise your hand, try a few things quietly. Take a long drink from your water bottle. Dehydration is one of the most common headache triggers in students, and even mild dehydration (the kind where you don’t feel thirsty yet) can cause a dull, pressing pain. If you haven’t had much water that day, drinking a full glass can start easing the headache within 15 to 30 minutes.
If you’ve been staring at a screen, give your eyes a break using the 20-20-20 rule: every 20 minutes, look at something about 20 feet away for 20 seconds. Digital eye strain is a common headache trigger, and simply shifting your focus to something across the room lets your eye muscles relax. Close your eyes for a few seconds if you can.
Drop your shoulders away from your ears and slowly roll them backward a few times. Tension headaches often come from tight muscles in your neck and shoulders, especially if you’ve been hunching over a desk or laptop. Gentle chin tucks (pulling your chin straight back like you’re making a double chin) can release tension at the base of your skull where headaches tend to radiate from.
Try a Quick Breathing Exercise
Stress from tests, presentations, or social pressure is a major headache trigger for students. Research from one study found that studying itself was the most commonly reported aggravating factor for headaches in school-aged kids. If your headache feels like a tight band around your head, that’s a classic tension headache linked to stress.
Box breathing works well and you can do it without anyone noticing: breathe in for four counts, hold for four counts, breathe out for four counts, hold for four counts. Repeat this five or six times. Progressive muscle relaxation also helps. Starting with your hands, clench your fists tight for five seconds, then release. Move up to your shoulders, scrunch them toward your ears, hold, then let go. This sends a signal to your nervous system to stand down, which loosens the muscle tension feeding your headache.
When to Visit the School Nurse
If your headache doesn’t ease up after water, rest, and a few minutes of stretching, ask your teacher if you can go to the nurse’s office. School nurses are trained to assess headaches and will typically ask you a few questions: how bad the pain is, whether you’ve hit your head recently, and whether you have other symptoms like nausea, dizziness, or blurred vision.
For most students with a headache and no other symptoms, the school nurse will have you rest in a quiet space, offer water, and let you return to class once you feel better. If you need pain medication like ibuprofen or acetaminophen, most schools require written permission from a parent or guardian on file before they can give you anything. The medication also needs to be in its original container with a matching label. So if you get headaches often, it’s worth having your parent fill out that permission form at the start of the school year.
Common School Headache Triggers
Knowing what causes your headaches can help you prevent them. The school environment has several built-in triggers that hit students throughout the day.
- Dehydration. If you’re only drinking water at lunch, that’s not enough. Sip throughout the day, starting in the morning. By the time you feel thirsty, you’re already behind.
- Skipping meals. Going without breakfast or eating lunch late can drop your blood sugar and trigger a headache. Fasting is a known headache trigger in children and teens.
- Noise. Loud cafeterias, gyms, and hallways are a real problem. Research on school-aged children found that higher environmental noise levels were directly linked to longer and more frequent headaches. Students who are sensitive to sound reported more intense pain with noise exposure.
- Screen time. Hours of Chromebook or tablet work without eye breaks leads to digital eye strain, which causes a headache centered behind or around the eyes.
- Poor sleep. If you slept badly the night before, you’re much more likely to get a headache at school. Lack of sleep is one of the most consistent headache triggers across all age groups.
- Stress. Test anxiety, social conflict, or feeling overwhelmed by assignments all create muscle tension in the head, neck, and shoulders.
Warm vs. Cold: Which Helps More
If the nurse’s office has a cold pack or warm compress, which one you grab matters. For a tension headache (that tight, squeezing feeling), warmth works better because it relaxes the contracted muscles causing the pain. You can place a warm compress on the back of your neck or across your shoulders.
For a migraine (throbbing pain, often on one side, sometimes with nausea or light sensitivity), cold is the better choice. A cold pack on your forehead or temples reduces inflammation and numbs the area. Applying cold early in a migraine, before the pain fully builds, tends to be most effective.
Headaches After Hitting Your Head
If your headache started after a bump, fall, or collision during PE, recess, or sports, treat it differently. A headache after a head impact could be a concussion, and it needs to be reported to a teacher, coach, or nurse immediately.
Concussion symptoms go beyond just head pain. Watch for confusion about what happened, repeating the same question, slow or slurred responses, blurry or double vision, balance problems, feeling foggy or sluggish, or nausea. Emotional changes count too: unusual irritability, sudden sadness, or feeling more emotional than normal. According to CDC guidelines, any student showing these signs should be evaluated by a healthcare provider before returning to physical activity or academics.
Certain signs require emergency care right away: one pupil noticeably larger than the other, a headache that keeps getting worse and won’t go away, repeated vomiting, seizures, difficulty recognizing people or places, or any loss of consciousness, even briefly.
Preventing Headaches Before They Start
If you’re getting headaches at school regularly, a few daily habits can cut their frequency significantly. Drink water consistently throughout the day rather than waiting until you’re thirsty. Eat breakfast, even something small. Get your sleep schedule as consistent as possible, including on weekends.
During the school day, build in small resets. Use the 20-20-20 rule during screen-heavy classes. Do a few shoulder rolls between periods. If your school allows earbuds during independent work, low-volume calming music or even just the noise reduction can help if loud environments trigger your headaches. Simple daily stretching of the neck and shoulders can prevent a lot of headaches before they ever start.
If headaches are happening more than once or twice a week, keep a simple log: when they happen, what you ate, how you slept, and what was going on at school that day. Patterns usually emerge quickly, and that information is useful if you end up talking to a doctor about it.

