How Does the Body Clock Set When We Sleep? | How It Works
On this page
What is the short answer?
The body keeps its own time. A group of nerve cells in the brain, the suprachiasmatic nucleus (SCN), works as a master clock. It runs on a cycle of about 24 hours.
The clock does not run at exactly 24 hours, so it needs a daily reset. Light does that job. Light entering the eyes signals the SCN, and the SCN tells the pineal gland when to release the hormone melatonin.
A second process works alongside the clock. Sleep pressure builds during waking hours. Together, the clock and sleep pressure set when sleep comes and when waking follows.
Definition: A circadian rhythm is a change in the body or behaviour that repeats over a cycle of about 24 hours. An internal clock drives it, and light and dark keep it in step with the outside day.
What is a circadian rhythm, and where is the master clock?
The word circadian comes from the Latin phrase circa diem. Case Western Reserve University, in the United States, explained in August 2023 that the phrase translates to "about a day".
The OpenStax textbook Psychology 2e defines a circadian rhythm as a biological rhythm that takes place over a period of about 24 hours.
The US National Institute of General Medical Sciences (NIGMS), part of the National Institutes of Health, describes these rhythms as physical, mental and behavioural changes over a 24-hour cycle. It says light and dark have the biggest influence on them.
NIGMS says the human master clock is a large group of nerve cells that form the SCN. OpenStax places the SCN in the hypothalamus, a region at the base of the brain.
The SCN is not the only clock. NIGMS says nearly every tissue and organ has its own circadian rhythm, and that the SCN keeps these peripheral clocks in step.
How does light set the clock and control melatonin?
Light is the main signal that sets the clock to local time. OpenStax Psychology 2e says light-sensitive neurons in the retina, at the back of the eye, tell the SCN how much light is present.
Some of these cells are not used for ordinary sight. In January 2005, Brown University, in the United States, reported work led by David Berson on rare eye cells called intrinsically photosensitive retinal ganglion cells. It said their light-sensing pigment is melanopsin, and that they link directly to the brain region that controls the body clock.
The OpenStax textbook Anatomy and Physiology 2e traces the next step. From the SCN, a nerve signal travels by way of the spinal cord to the pineal gland, whose cells make melatonin.
The same book says light reaching the retina inhibits melatonin production, so blood levels fall in daylight and help keep a person awake. As light fades in the evening, production rises and causes drowsiness. NIGMS says that in the evening, the master clock tells the brain to make more melatonin.
How do sleep pressure and the clock work together?
The clock is only half of the story. The US National Institute of Child Health and Human Development (NICHD) says the need for sleep is driven by the length of time a person is awake. The drive keeps building until the person can sleep.
Sleep scientists call this pairing the two-process model. In a 2022 review in the Journal of Sleep Research, Alexander Borbély of the University of Zurich, in Switzerland, describes it in two parts:
- Process S: a sleep and wake dependent homeostatic process, which is sleep pressure.
- Process C: a process controlled by the circadian pacemaker, the clock.
Borbély notes that chemical companions of Process S, such as adenosine, have been identified, but that the controller itself has not been defined. Put simply, sleep pressure rises with time awake, while the clock sets the hours when sleep comes most easily.
How do genes keep time inside a cell?
The clock is built from molecules. NIGMS says the biological clock is made of proteins encoded by thousands of genes that switch on and off in a specific order. These are often called clock genes.
Much of this was first worked out in fruit flies. Scientific American, a science magazine, reported on 2 October 2017 that Jeffrey Hall and Michael Rosbash, who did their prize work at Brandeis University, and Michael Young, of the Rockefeller University, had isolated the period gene in flies.
The magazine said a protein encoded by this gene, called PER, builds up during the night and breaks down during the day. It described an inhibitory feedback loop: the PER protein blocks the activity of its own gene.
As PER is broken down, the gene can switch on again, and the cycle repeats about once a day. NIGMS says Hall, Rosbash and Young won the 2017 Nobel Prize in Physiology or Medicine for this research.
What happens when the clock and the day disagree?
The clock adjusts slowly, so a sudden change in local time leaves it out of step. The CDC Yellow Book, the US government's travel health guide, defines jet lag as a sleep disorder caused by rapid travel across time zones.
The Yellow Book gives an average rate of adaptation of 1.5 hours a day after westward travel and 1 hour a day after eastward travel. It says westward travel is easier to adapt to.
In the United Kingdom, the National Health Service (NHS) says jet lag often improves after a few days. Its advice page, last reviewed in May 2023, says natural light will help the body clock adjust.
Shift work creates a similar clash. The US National Institute for Occupational Safety and Health (NIOSH) says shift workers' schedules often conflict with the sun's light and dark cycle, its strongest outside cue, and that artificial light also influences the clock.
Why do some people run later than others?
People differ in the timing of their clocks. The University of Munich, in Germany, calls these types chronotypes. In a report dated 3 May 2018, it said some people are early birds, some are night owls, and the rest fall somewhere in between.
Age plays a large part. Nature News reported on 30 December 2004 that Till Roenneberg's team at the University of Munich asked 25,000 people, aged 8 to 90, about their sleep times.
Children slept later and later as they grew older, until about the age of 20, and then their timing moved earlier again. The women who slept latest were about 19.5 years old; men kept getting later until about 20.9 years.
The university's 2018 report calls teenagers "real night owls". Roenneberg coined the term social jetlag for the clash between a fixed social timetable and a person's own clock.
What is debated about the clocks on the wall?
In most of the United States, clocks change twice a year. Sleep scientists and lawmakers debate which time to keep all year: standard time, or daylight saving time, which moves clocks one hour ahead.
- Supporters of permanent standard time argue that it suits the body clock. The American Academy of Sleep Medicine (AASM), a US medical society for sleep specialists, said in a position statement in the Journal of Clinical Sleep Medicine in January 2024 that standard time aligns best with human circadian biology. It said later evening light and morning darkness delay the circadian clock.
- Critics argue for permanent daylight saving time instead. On 6 March 2025, Senator Tommy Tuberville of Alabama, a US lawmaker, spoke in the Senate for the Sunshine Protection Act, which he reintroduced with Senator Rick Scott. The Congressional Record shows he said Americans would enjoy more sunshine in the evenings.
How does this work with real numbers?
How far would a clock drift without a daily reset?
The Harvard University Gazette reported on 15 July 1999 that a study of 24 young and older people found the internal clock runs on a cycle of 24 hours, 11 minutes. Take an illustrative 10 days with no light to reset it.
- Drift per day: 24 hours 11 minutes minus 24 hours = 11 minutes, or 11 ÷ 60 = about 0.18 hours.
- Drift over 10 days: 11 × 10 = 110 minutes, which is 1 hour 50 minutes.
- Older estimate: the Gazette says earlier studies gave a median of 25 hours, 12 minutes. That is 72 minutes a day, and 72 × 10 = 720 minutes, or 12 hours.
A small daily gap adds up, which is why the daily reset matters. The Gazette notes that switching on electric lights resets the biological clock.
How long would the clock take to catch up after a long flight?
Take an illustrative flight across 6 time zones, and use the CDC Yellow Book's average rates.
- Flying east: at 1 hour a day, 6 ÷ 1 = 6 days.
- Flying west: at 1.5 hours a day, 6 ÷ 1.5 = 4 days.
- Difference: 6 minus 4 = 2 days longer for the eastward trip.
These are averages, and real people vary. The answer is a rough guide to how the clock moves, not a rule for every traveller.
Where can the student go deeper in World 101?
This page follows one system: how a clock in the brain times sleep and waking across a day, and how light keeps it in step with the sun. The World 101 subject Sleep takes the wider view of the field. What the brain does during the stages of sleep is a separate question.
Three related subjects carry the ideas further. Neuroscience explains how nerve cells, like those in the SCN and the retina, sense and signal. Genetics shows how genes such as period are switched on and off, and how a protein can control its own gene. Homeostasis looks at how the body holds many values steady at once, including the daily rhythm of body temperature.
Sources
- NIGMS, US National Institutes of Health, "Circadian Rhythms" fact sheet, content reviewed September 2023, page updated 20 May 2025 (Nobel Prize, 2017).
- Case Western Reserve University news, "Nursing's Stephanie Griggs explains origin of the word circadian", 16 August 2023.
- OpenStax, Psychology 2e, section 4.1, published 22 April 2020.
- OpenStax, Anatomy and Physiology 2e, section 17.7, published 20 April 2022.
- Brown University news, "Brown scientists uncover inner workings of rare eye cells", 26 January 2005.
- NICHD, "What makes us sleep?", reviewed 29 April 2019.
- A. Borbély, "The two-process model of sleep regulation: Beginnings and outlook", Journal of Sleep Research, 2022.
- Scientific American, "Medicine Nobel Prize goes to circadian rhythm researchers", 2 October 2017.
- CDC Yellow Book 2026, "Jet lag disorder", S. M. Riedy and S. G. Williams, 23 April 2025.
- NHS, "Jet lag", reviewed 31 May 2023.
- CDC NIOSH, Training for Nurses on Shift Work and Long Work Hours, module 2, reviewed 31 March 2020.
- LMU Munich news, "Getting the timing right", 3 May 2018.
- Nature News, report on the University of Munich sleep timing survey, 30 December 2004.
- AASM, "Permanent standard time is the optimal choice for health and safety", Journal of Clinical Sleep Medicine, January 2024.
- Congressional Record, US Senate, Senator Tuberville on the Sunshine Protection Act, 6 March 2025.
- Harvard University Gazette, 15 July 1999.
Common errors and misconceptions
- Misconception: The body clock runs at exactly 24 hours. Correct: A Harvard study found a cycle of about 24 hours and 11 minutes, so light must reset it each day.
- Misconception: There is only one clock, in the brain. Correct: NIGMS says nearly every tissue and organ has its own rhythm, kept in step by the SCN.
- Misconception: The eye uses light only for seeing. Correct: Rare retinal cells with melanopsin send light signals to the brain's clock, Brown University reported.
- Misconception: Melatonin is made at the same rate all day. Correct: Light reaching the retina inhibits it, so levels fall in daylight and rise as light fades in the evening.
- Misconception: Sleepiness comes only from the clock. Correct: Sleep pressure also builds the longer a person is awake, and the two processes work together.
Key takeaways
- A circadian rhythm repeats over about 24 hours; the word comes from the Latin circa diem, meaning "about a day".
- The master clock is the suprachiasmatic nucleus in the hypothalamus, and it keeps clocks in other tissues and organs in step.
- Light on the retina, partly through melanopsin cells, signals the SCN, which then controls melatonin release from the pineal gland.
- Melatonin rises as light fades in the evening and falls in daylight, acting as the body's signal that night has come.
- Sleep timing depends on two processes working together: sleep pressure that builds while awake and the timing signal from the clock.
- Clock genes such as period make proteins that switch their own genes off, a feedback loop that repeats about once a day.
Test yourself
Where is the body's master clock?
In the suprachiasmatic nucleus (SCN), a group of nerve cells in the hypothalamus of the brain.
How does light reach the master clock?
Light-sensitive cells in the retina, including rare cells with the pigment melanopsin, send signals to the SCN.
What does light do to melatonin, and when do melatonin levels rise?
Light reaching the retina inhibits melatonin production. Levels rise in the evening as light fades, which causes drowsiness.
What are Process S and Process C in the two-process model?
Process S is sleep pressure, which depends on how long a person has been awake. Process C is the timing signal from the circadian clock.
A clock runs 11 minutes long each day. How far does it drift in an illustrative 10 days with no reset?
11 × 10 = 110 minutes, which is 1 hour 50 minutes.
At the CDC Yellow Book's average rate of 1 hour a day, how long would the clock take to adjust after an eastward flight across 6 time zones?
6 ÷ 1 = 6 days. The same trip westward, at 1.5 hours a day, would take about 4 days.
Go deeper in World 101: Sleep Science
Write about it
Turn a question from this chapter into a paper.
The Writing Studio has a structure guide, a rubric and citation tools for 15 formats, from essays to research papers. A free account keeps up to five drafts. Learnacy Essential adds feedback from an AI writing coach and submission to The OYI Review.
Publication depends on review and is not guaranteed.
