Almost every student has had the moment: warm room, steady voice, slides you have already seen, and your head starts to drop. It is not a character flaw. Teenagers’ body clocks run later than school schedules, and the CDC reports that most students are not getting enough sleep. This guide starts with what to do in the moment, then covers why it happens, how much sleep you actually need, caffeine, all-nighters, tests, ADHD, college lectures, what to do if you do fall asleep, and when sleepiness is a reason to see a doctor.
How to stay awake in class right now
Your brain stays more alert when it has a job to do. Passive listening is the easiest state to fall asleep in, so most of these tips turn listening into doing. Try several at once.
1. Sit up and move closer
Slouching and leaning on your hand are one step from a nap. Sit up straight with both feet on the floor. If seating is open, choose a seat near the front, where the teacher can see you and you can see the board without effort. Being seen is a surprisingly good motivator.
2. Take notes by hand, in your own words
Copying slides word for word can be done half asleep. Writing what the teacher means in your own words forces you to process it. Draw arrows between ideas, make a quick table, or jot a question in the margin every few minutes. If you finish early, rewrite the last section as three bullet points.
3. Give yourself questions to answer
Before the lesson starts, write down two or three things you expect to learn, then listen for the answers. Raise your hand to answer or ask something. Speaking up tends to wake you up, and teachers notice students who engage.
4. Move, even a little
Stretch your legs under the desk, roll your shoulders, press your palms together, or wiggle your toes. If you are really fading, quietly ask to get a drink of water or use the restroom and walk briskly for a minute. Most schools allow it, and our guide to whether teachers can stop you from going to the bathroom explains your rights if a teacher says no.
5. Drink water
A cold drink of water is an easy, quiet reset, and getting up to refill a bottle gives you a reason to move. Keep a water bottle on your desk if your school allows it. Our guide to whether students are allowed to eat in class covers food and drink rules.
6. Breathe slowly and deeply
A few slow, deep breaths, sitting up straight, can shake off the heavy feeling for a moment. It is silent and nobody will notice.
7. Use light and cooler air
Dim, warm rooms make sleep easier. If you can, sit near a window or under a light, and step outside for fresh air between classes. Wear layers so you can take off a hoodie when you start to feel drowsy.
8. Chew gum or have a mint, if allowed
Many students find that chewing gum or a strong mint helps them feel more alert. Check your school and classroom rules first, because many teachers ban gum.
9. Change what you are doing
If you have been staring at the same slide for ten minutes, switch tasks within the lesson: summarize the last few minutes, quiz yourself on a vocabulary word, or work the next practice problem before the teacher does.
10. Keep your phone away
Scrolling feels like it keeps you awake, but it pulls your attention away from the lesson, so the class feels even more boring when you look back up. It can also get your phone taken. See whether teachers can take your phone for the rules.
Why you get so sleepy in class
There is usually more than one reason, and they stack up.
- You are not getting enough sleep. This is the big one. The CDC says that, according to data from 2025, 75% of students are not getting adequate sleep.
- Your body clock has shifted. MedlinePlus, from the National Library of Medicine, explains that during puberty teenagers’ biological clocks shift: they tend to fall asleep later and wake up later, which can conflict with early school start times.
- School starts early. The CDC notes that the combination of late bedtimes and early school start times results in most adolescents not getting enough sleep. The American Academy of Pediatrics recommended in 2014 that middle and high schools start no earlier than 8:30 a.m.
- Evening light and screens. The CDC says adolescents exposed to more light in the evening, from room lighting or electronics, are less likely to get enough sleep.
- The class itself. Sitting still, listening without doing anything, a warm or dark room, a video, or a heavy lunch all make it harder to stay alert, especially if you are already short on sleep.
If you want to see how school start times play into this, our guide to why students are late to class covers the later-start debate, and the pros and cons of 8 a.m. classes covers early college schedules.
How much sleep do students actually need?
The CDC lists the American Academy of Sleep Medicine’s recommendations for students, and its About Sleep page covers adults:
| Age | Recommended sleep | Source |
|---|---|---|
| 6 to 12 years | 9 to 12 hours per 24 hours | AASM, via CDC |
| 13 to 18 years | 8 to 10 hours per 24 hours | AASM, via CDC |
| 18 to 60 years | 7 or more hours | CDC |
Work it backward from your alarm. If you get up at 6:30 a.m. for school, 8 hours of sleep means being asleep by 10:30 p.m., and 9 hours means 9:30 p.m. Most students who fight sleep in class are a couple of hours short of that on school nights.
The National Heart, Lung, and Blood Institute (NHLBI) calls it a common myth that people can learn to get by on little sleep with no negative effects, and notes that sleep deficiency can interfere with school and make it hard to learn, focus and react.
How to stay awake in class without coffee
Everything in the right-now list above works without caffeine. The ones that tend to matter most:
- Morning light. Get outside or near a bright window soon after you wake up. MedlinePlus lists getting enough sunlight exposure during the day as a healthy sleep habit.
- Movement between classes. Walk the long way to your next room, take the stairs, or stretch.
- Water and a real breakfast. Skipping breakfast and then eating a heavy, sugary lunch is a common recipe for an afternoon slump.
- Active learning. Writing, answering and asking keep your brain busier than any drink.
- Sleep. The only thing that actually removes the cause.
What about caffeine and energy drinks?
Caffeine does make many people feel more alert, but it comes with limits, especially for teens. The FDA says that for most adults, 400 milligrams a day, about two to three 12-ounce cups of coffee, is an amount not generally associated with negative effects, and that sensitivity varies widely from person to person.
For younger students the advice is different. The FDA notes that, according to the American Academy of Pediatrics, medical experts advise against energy drinks for children and teens because of their sugar and caffeine, and that too much caffeine in children and teens can cause increased heart rate, heart palpitations, high blood pressure, anxiety, sleep problems, digestive problems and dehydration. Talk with a doctor or parent about how much, if any, is right for you.
It also helps to know how much is in common drinks. These are the FDA’s typical amounts for a 12-ounce serving:
| Drink (12 fl oz) | Typical caffeine |
|---|---|
| Caffeinated soft drink | 23 to 83 mg |
| Green tea | 37 mg |
| Black tea | 71 mg |
| Regular brewed coffee | 113 to 247 mg |
| Energy drink | 41 to 246 mg |
Two practical points. First, caffeine late in the day backfires: the CDC lists avoiding caffeine in the afternoon or evening as a sleep habit, because it can keep you up and leave you more tired the next morning. Second, the jitters, anxiety and racing heart that come with too much caffeine make it harder to concentrate, not easier.
How to get through class after an all-nighter
Be honest with yourself: after a night with little or no sleep, learning and focusing will be harder no matter what you do. The goal is damage control.
- Get bright light and fresh air first thing in the morning.
- Eat breakfast and drink water.
- Sit in front, take notes by hand, and ask a classmate to share notes for anything you miss.
- Move between every class.
- Do not drive drowsy. The NHLBI notes that sleepiness while driving is responsible for serious car crash injuries and deaths. Get a ride if you are struggling to keep your eyes open.
- That night, go to bed at a normal time. MedlinePlus advises against napping after 3 p.m., and a long late nap can make it hard to fall asleep again, pushing your schedule even later.
If all-nighters are becoming a habit because of homework, talk to your teachers or a school counselor about the workload. That is a planning problem worth fixing early.
How to stay awake during a test
Falling asleep during a test is usually a sign you stayed up studying. On test day, eat something, drink water, and sit up straight. Read each question actively: underline key words, write quick notes in the margin, and check your answers as you go. If you finish early and feel yourself drifting, review your answers rather than putting your head down. If you have a health condition that affects alertness, ask the school about testing accommodations well before the test.
Staying awake in class after lunch
Afternoon classes are where many students struggle most, especially after a big lunch. A lighter lunch with some protein, a short walk or time outside during the break, water, and a seat away from the back corner all help. If you can choose your schedule, as you often can in college, put the classes you find hardest at the time of day you feel most alert.
Staying awake in class with ADHD
The National Institute of Mental Health (NIMH) notes that ADHD often co-occurs with other conditions, including sleep problems, anxiety and depression. Students with ADHD often say a slow or passive lesson is exactly when they zone out or get drowsy.
- Keep your hands busy with note-taking, color-coding or sketching diagrams of the material.
- Ask the teacher whether you can stand at the back, use a fidget tool quietly, or take short movement breaks.
- If you have a 504 plan or IEP, movement breaks, preferential seating and extra time can be written into it.
- Talk to your doctor if sleepiness is new, getting worse, or seems connected to medication timing. Do not change medication on your own.
The real fix: what to do the night before
In-class tricks fade within minutes. Sleep does not. The CDC recommends these habits, and they are the most effective way to stop falling asleep in class:
- Go to bed and get up at the same time every day, including weekends as much as you can.
- Keep your bedroom quiet, relaxing and cool.
- Turn off electronic devices at least 30 minutes before bedtime.
- Avoid large meals before bedtime.
- Avoid caffeine in the afternoon or evening.
- Exercise regularly. MedlinePlus adds: not too close to bedtime.
A simple plan: pick a lights-out time that gives you at least 8 hours before your alarm, set a phone-off alarm 30 minutes before it, and charge your phone outside your bedroom. The CDC notes that adolescents whose parents set bedtimes usually get more sleep, so involving a parent can help rather than feel like a punishment.
College lectures vs high school classes
| High school | College | |
|---|---|---|
| Class length | Usually under an hour, several in a row | Often 50 to 75 minutes; some 2 to 3 hour lectures |
| Schedule | Set early start times | You often choose your class times |
| Seating | Often assigned | Usually your choice; large halls |
| If you nod off | Teacher likely notices and may contact home | Professor may not notice, but you still miss material |
| Leaving to move | Usually need permission or a pass | Usually fine to step out quietly |
In college, the biggest lever is your schedule. If you know you are not a morning person, avoid 8 a.m. classes when you can, and break up long lecture blocks with a walk. Sit in the front third of a big lecture hall. See the pros and cons of 8 a.m. classes and whether professors care if you leave early.
In high school, you have less control over the schedule, so sleep, breakfast, water and active note-taking matter even more.
What to do if you fall asleep in class
It happens. How you handle it afterward matters more than the nap itself.
- In the moment: sit up, get back into the lesson, and do not argue if the teacher calls it out.
- After class: take 30 seconds to talk to the teacher. Apologize briefly and ask what you missed. Most teachers respect a student who owns it.
- Catch up: get notes from a classmate or the class page, and check whether you missed an assignment or announcement.
- If it keeps happening: tell the teacher or a school counselor what is going on, whether it is a job, family responsibilities, stress or a health issue. They can often help, and repeated sleeping in class is something schools notice.
Can you get in trouble for sleeping in class?
It depends on the school and the teacher. A first time usually gets a tap on the desk or a quiet word. Repeated sleeping can affect a participation grade, lead to a call or email home, or a meeting with a counselor. Check your student handbook for the exact rules. If there is a medical reason, make sure the school knows, so it is treated as a health issue rather than a behavior problem.
When sleepiness in class might be a medical problem
Being tired after a short night is normal. Being very sleepy every day even after plenty of sleep is not, and the CDC lists feeling sleepy or tired even after getting enough sleep as a sign of poor sleep quality. Talk to a doctor if any of these sound familiar:
- Sudden, overwhelming sleepiness. The National Institute of Neurological Disorders and Stroke (NINDS) describes narcolepsy’s excessive daytime sleepiness as severe sleepiness that doesn’t improve even after enough sleep at night, often like a “sleep attack.” It notes that symptoms usually begin between ages 7 and 25 and that diagnosis can take years.
- Muscle weakness with strong emotions. NINDS describes cataplexy as sudden episodes of muscle weakness, often triggered by laughter, fear, anger, stress or excitement.
- Loud snoring, gasping or breathing that stops. The NHLBI lists these as sleep apnea symptoms, along with daytime sleepiness that can lead to problems with learning, focusing and reacting. It notes that children with sleep apnea may have trouble paying attention in school.
- Trouble falling or staying asleep most nights. Insomnia is one of the common sleep disorders the CDC lists.
- Feeling down, hopeless or anxious along with sleeping too much or too little. Tell a parent, counselor or doctor.
The CDC suggests keeping a sleep diary before the appointment: when you go to bed, wake up during the night, wake up in the morning, take naps, exercise, have caffeine and take medication. It makes the conversation with a doctor much more useful.
What to do when you are bored in class
Boredom and sleepiness feed each other. When a class feels slow, the instinct is to check out, which makes you sleepier. A few ways to stay engaged without getting in trouble:
- Turn the lesson into a challenge: predict the next point before the teacher makes it.
- Connect the topic to something you care about and write that connection in your notes.
- Make a quick study sheet or flashcards from today’s material, so the time pays off later.
- Ask a question that goes one step beyond what was covered.
- If you are bored because the work is too easy, ask the teacher about extension work or harder options, such as honors, AP or dual enrollment.
Frequently asked questions
How do you stay awake in class right now?
Sit up straight and move closer to the front, start writing notes by hand, and give yourself a question to answer about what the teacher is saying. Drink some water, take a few slow deep breaths, and if you are still fading, quietly ask to step out for a drink or the restroom so you can walk for a minute. Movement and doing something with the material work faster than trying to force your eyes open.
How do you not fall asleep in class when you are tired?
Make the class active instead of passive: take notes in your own words, answer or ask a question, and change your posture or seat if you can. Cool air, light and water help a little. But if you are tired most days, the real fix is more sleep at night, because no in-class trick makes up for a sleep shortage.
How do you stay awake in class without coffee?
Use movement, light, water and active note-taking. Stretch between classes, sit near a window or under bright light, drink water, chew gum or have a mint if your school allows it, and keep your hands busy writing. These do not involve caffeine, so they will not hurt your sleep that night.
Is it bad to drink energy drinks to stay awake in class?
For teens, yes. The FDA notes that, according to the American Academy of Pediatrics, medical experts advise against energy drinks for children and teens because of their sugar and caffeine. Too much caffeine can cause a racing heart, anxiety and sleep problems, which can leave you more tired the next day.
How much sleep do teenagers need?
The American Academy of Sleep Medicine recommends 8 to 10 hours per 24 hours for ages 13 to 18, and 9 to 12 hours for ages 6 to 12, as listed by the CDC. Adults 18 and older need 7 or more hours.
Why do I get so sleepy in class?
The most common reason is simply not enough sleep. Teenagers’ body clocks shift later during puberty, so they tend to fall asleep later, while school still starts early. Sitting still, listening passively in a warm or dim room, and a heavy lunch can make it worse. If you are sleepy even after plenty of sleep, talk to a doctor.
What should I do if I fall asleep in class?
Wake up, sit up and get back into the lesson without making a scene. After class, talk to the teacher briefly, apologize, and ask what you missed. If it keeps happening, tell the teacher or a school counselor why, because they can often help and may notice it anyway.
Can you get in trouble for sleeping in class?
It depends on your school and teacher. Many teachers will simply wake you or have a quiet word; repeated sleeping can lead to a lower participation grade, a call home or a talk with a counselor. Check your school’s handbook, and if there is a health reason, let the school know so it is handled as a health issue, not discipline.
How do you stay awake in class after an all-nighter?
Expect to struggle, because a short night makes it harder to learn, focus and react. Get bright light early, move between classes, sit in front, take notes by hand, and drink water. Do not drive if you are drowsy. Go to bed at a normal time that night instead of napping late, so you do not shift your schedule further.
When is being sleepy in class a sign of a medical problem?
If you are very sleepy during the day even after getting enough sleep, fall asleep suddenly, snore loudly or stop breathing in your sleep, or have muscle weakness when you laugh, see a doctor. Those can be signs of conditions such as sleep apnea or narcolepsy, which are treatable.
Josh Hutcheson — Editor, PriorityLearn
Josh researches, writes, and updates the answers on PriorityLearn, checking each one against current tools, official sources, and real school policies — and flagging what varies by state or district. About PriorityLearn →
