It’s the spin
Earth turns on its axis like a slow merry-go-round. Whichever half faces the Sun has day; the half facing away has night. As the planet turns, you’re carried from one into the other: sunrise is your side of Earth rolling into sunlight, sunset is it rolling out again.
NASA gives the speed: “As Earth orbits the Sun, it completes one rotation every 23.9 hours.” NASA’s Earth fact sheet has the precise figure, a “sidereal rotation period” of 23.9345 hours, which is 23 hours 56 minutes.
What if the orbit did it?
Here’s a quick test of the myth. The same NASA page says one trip round the Sun takes 365.25 days. If going round the Sun were what gave us day and night, we would face the Sun for half of that trip and face away for the other half. One day and one night would together last a whole year: about six months of sunshine, then six months of dark, everywhere on Earth.
That isn’t what happens, so the orbit can’t be the reason. The spin is fast enough to give us a sunrise and a sunset roughly every 24 hours.
The orbit’s small part: 4 minutes
The myth does hold a crumb of truth. If one spin takes 23 hours 56 minutes, why is a day 24 hours?
NASA’s Space Place explains that there are two ways to count a day. A solar day is one cycle of daytime to nighttime, “around 24 hours” on Earth. A sidereal day is the time to “completely spin around and make one full rotation”, which on Earth “is almost exactly 23 hours and 56 minutes.”
The gap comes from the orbit. In one day Earth moves about 1/365 of the way round the Sun, roughly one degree of its circle. So after one full spin, the Sun isn’t quite back in the same spot in your sky, and Earth has to turn about 4 minutes more to catch up. The fact sheet’s numbers match: a “length of day” of 24.0000 hours against a spin of 23.9345 hours, a difference of just under 4 minutes.
So the spin makes day and night. The orbit only nudges the clock.
Other planets prove the point
If the spin sets the day, planets that spin at different speeds should have very different days, and they do. Space Place lists how long each planet takes to complete one rotation: “Jupiter takes just 10 hours”, while Venus takes 5,832 hours. Same Sun, very different spins, very different days.
Why the myth feels so right
“Earth goes round the Sun” is one of the first space facts we all learn, and it’s often taught right next to day and night. Both motions involve Earth and the Sun, both repeat, and it is easy to mix up which one does what. If you picked the orbit, you were reaching for a true fact; it just answers a different question (the year).
You’re in big company. In a study published in 2000, Ricardo Trumper gave 76 students starting a university astronomy course in Israel the question “What causes night and day?” 62% chose the spin, but “almost 36% of the students indicated that the cause of the day–night cycle is that the Earth moves around the Sun.” In a large survey in Belgium, the astronomers Nazé and Fontaine found “about 60% of respondents correctly identify their origin”, while “about 20% misidentify day and year” and blame the orbit, and 7% held the old view that the Sun goes round Earth.
Next time you watch a sunset, you can enjoy the fact that the Sun isn’t really going anywhere: you are, at the speed of a whole planet turning. Earth isn’t the only one with a spin worth knowing about: try does the Moon spin?, or the other Earth-and-Sun mix-up, why summer is warmer than winter.