How to stay awake during an online class: set up first, then quiz yourself every five minutes.

An online class is harder to stay awake in than a lecture hall because nothing makes you move or answer. Fix that before it starts and during it. Before: sit at a desk, not on the bed, with the room lights on, and take caffeine about 30 minutes ahead if you use it. During: hide your own video tile, write notes in your own words, and every five minutes or so close your notes and write one line on what the last part was about. That last habit is the one with an experiment behind it. If you have already nodded off, stop fighting it: use the stop rule below.

Why online classes are harder to stay awake in

In a lecture hall, other people, the walk in, and the chance of being asked a question all keep you slightly on edge. At home, the screen asks nothing of you, the bed is often a metre away, and you can drift without anyone noticing. Video calls add their own load. In a 2021 paper in Technology, Mind, and Behavior, Stanford's Jeremy Bailenson set out four likely causes of video-call fatigue: close-up eye contact for long stretches, constantly seeing yourself, being held in one spot by the camera's field of view, and the extra effort of sending and reading signals on video. He is clear that these are theoretical arguments not yet tested directly in Zoom. They still point at settings you can change, which the section after next covers.

The 10-minute setup before class

Before the class starts
WhenDo thisWhy
30 min beforeCaffeine, if you use it. One coffee, not two.NIOSH: onset about 30 minutes (15 to 45), half-life five to six hours. The FDA's daily figure for healthy adults is 400 mg, about two to three 12-ounce cups.
10 min beforeMove to a desk or table. Turn on the room lights.Lying or reclining removes the main cue that keeps a tired person upright.
5 min beforeWater on the desk. Phone face down unless you use it for the class.A drink gives you a reason to move; the phone is the easiest way to leave the lecture without leaving it.
2 min beforeOpen a blank page, paper or document, titled with the date and class.You will write on it every five minutes (next section).
At joinCheck your framing once, then hide your own video tile.Bailenson's suggestion: frame yourself, then hide self-view.

For a class after lunch or in the afternoon, the caffeine row matters more, and so does its timing: the CDC's sleep advice is to avoid caffeine in the afternoon or evening, and with a five-to-six-hour half-life a 4 pm coffee is still about half there at 9 or 10 pm.

During class: the five-minute self-quiz

This is the one tip on this page with an experiment behind it. In a 2013 study in PNAS, Harvard researchers Karl Szpunar, Novall Khan and Daniel Schacter had students learn a 21-minute online statistics lecture split into four segments of about five and a half minutes. One group got a short quiz after every segment. In the second experiment, when students were asked at random moments whether their mind had wandered, the quizzed group said yes at 19% of checks, against 39% and 41% for the two other groups. The quizzed group also wrote extra notes on 24% of slides, against 9% and 7%, and answered 89% of questions on the last segment correctly, against 65% and 70%. The study measured attention and learning, not sleepiness, and used 48 students in that experiment, so treat it as strong support for the habit rather than proof it keeps anyone awake.

Your lecturer probably will not quiz you every five minutes, so do it yourself. When the slide changes, or roughly every five minutes, look away from the screen and write one line: what was the point of that bit? If you cannot write the line, that is the early sign you are fading, before the nod. Stand up at the next natural pause.

Settings that help in Zoom and Teams

Hide your own video in Zoom

Hover over your video, click the ellipses (…) and choose Hide Self View. Zoom's help page says others in the meeting still see your video. To bring it back, use View, then Show Self View.

Hide your own video in Teams

Select View, then More options, then Hide me; in the newer meeting controls, More actions, then Settings, then Hide me. Microsoft says this only hides your video from your own view.

Take Zoom out of full screen

Bailenson's fix for close-up faces is a smaller window and more distance from the screen, for example with an external keyboard. A smaller window also leaves room for your notes beside it.

An audio-only break, if the class allows it

His other suggestion is a few minutes with the camera off and your body turned away from the screen. Check your course's camera rules first; some count cameras for attendance. A line in the chat, "off camera for two minutes, still listening", is usually enough.

Printable class sheet

Print this, or copy the columns into your notes. Fill one row every five minutes. A blank row is your signal to stand at the next pause; two blank rows in a row is the stop rule firing.

Online class sheet: date ______ class ______
MinuteThe point of that bit, in one lineQuestion to ask or look upStood up? (✓)
0–5
5–10
10–15
15–20
20–25
25–30
30–35
35–40
40–45
45–50
50–55
55–60

For a class longer than an hour, keep going on the back. If the class has no break in the first 50 minutes, stand for the next one even if you feel fine, and keep listening while you do.

What does not help much

  • Joining from bed with the camera off. It is the easiest set-up to fall asleep in and the one where no one will notice.
  • Copying the slides word for word. It looks like work but asks nothing of you. The study above counted the notes students added beyond the slides they were given.
  • A second energy drink halfway through. It counts towards the same 400 mg, and arrives about 30 minutes later, near the end of the class.
  • Leaving the class running "to watch later". If it is recorded, close it and watch it properly when you are awake; if it is not, the time is simply gone.

Where EyeJolt fits

EyeJolt, the app behind this site, watches your face through a phone's camera, looks for sustained eye closure and head drop rather than ordinary blinks, and plays an alarm when it thinks you are fading, so it can catch a nod you would not notice. For an online class, prop the phone beside the laptop so the laptop camera stays with the class; we have not tested EyeJolt and a video-call app sharing one camera on the same device. The alarm in the current release is a sound, so keep your microphone muted or the class may hear it; a vibration-only mode is in development and not yet available. EyeJolt can miss fatigue and can false-alert, it does not reduce the need for sleep, and it is not a medical device. It is optional; everything above works without it. It is never for driving. See EyeJolt for online training and accuracy and limitations.

When this page does not apply

  • You nod off in most classes, not just this one. If you are getting enough sleep and still fall asleep in the day, the NHS page on excessive daytime sleepiness, linked below, says to see a GP.
  • You are under 18. The recommended sleep is eight to ten hours, so the stop rule fires earlier.
  • You take medicine that makes you drowsy. Caffeine is not the answer; check the label or ask a pharmacist.
  • You will drive after a late class. That is what the drowsy-driving guides are for. If you are drowsy, do not drive.
  • You are reading a recorded lecture alone at night. The tips still apply, but see nodding off while studying for the night-study pattern.

Questions

Is it rude to turn my camera off to stay awake in an online class?

It depends on the class; some require cameras on. Check the course rules and say so in the chat for a short break. Hiding your own self-view is different: it only changes what you see.

When should I drink coffee before an online class?

About 30 minutes before, if you use caffeine. Onset is about 30 minutes and the half-life five to six hours, per NIOSH, so an afternoon coffee is still about half there in the evening.

Does taking notes actually keep you awake in an online lecture?

Notes in your own words help more than copying slides, and a short self-test helps more again. In the 2013 Harvard study, quizzed students reported mind wandering at 19% of checks against 39% to 41%. It measured attention, not sleepiness.

What if I keep falling asleep in every online class?

Then the problem is sleep, not the class. Check your hours against the CDC figures; if they are enough and you still nod off, see a GP.