Every new player learns Minecraft's clock the hard way, usually at dusk with a creeper closing in. Here is exactly how the day-night cycle works, in real minutes and game ticks.
A full Minecraft day-night cycle lasts exactly 20 minutes of real time, or 24,000 game ticks. That breaks down into 10 minutes of daytime, 50 seconds of sunset, 8 minutes 20 seconds of night, and 50 seconds of sunrise. One real hour equals three full Minecraft days.
How Long Is a Minecraft Day in Real Time?
Minecraft time runs 72 times faster than real time, so a 24-hour in-game day compresses into 20 real minutes. The cycle is identical on Java and Bedrock Edition. Here is how those 20 minutes split up, according to the Minecraft Wiki:
| Phase | In-game time | Ticks | Real time |
|---|---|---|---|
| Daytime | 6 am – 6 pm | 0 – 12,000 | 10 minutes |
| Sunset (dusk) | 6 pm – 7 pm | 12,000 – 13,000 | 50 seconds |
| Nighttime | 7 pm – 5 am | 13,000 – 23,000 | 8 minutes 20 seconds |
| Sunrise (dawn) | 5 am – 6 am | 23,000 – 24,000 | 50 seconds |
| Full cycle | 24 in-game hours | 24,000 | 20 minutes |
Ten minutes of daylight disappears fast when you are gathering wood and food on day one. Spawning somewhere with resources nearby helps, so check our best Minecraft seeds if you want a strong start.
Minecraft Days to Real Time (Conversion Table)
Use this table to convert Minecraft days into real-world hours and minutes. The math is simple: multiply the number of Minecraft days by 20 minutes.
| Minecraft days | Real time |
|---|---|
| 1 day | 20 minutes |
| 3 days | 1 hour |
| 5 days | 1 hour 40 minutes |
| 10 days | 3 hours 20 minutes |
| 20 days | 6 hours 40 minutes |
| 50 days | 16 hours 40 minutes |
| 100 days | 33 hours 20 minutes |
Flipping it around: 1 real hour equals 3 Minecraft days, and 24 real hours equal 72 Minecraft days.
Minecraft Day-Night Cycle Breakdown (Ticks)
Minecraft measures time in ticks, with the game running at 20 ticks per second. One tick equals 1/20th of a second, so the 24,000-tick day equals 1,200 real seconds, or 20 minutes. These tick values matter for redstone builds, farms, and command blocks.
| Tick | In-game time | What happens |
|---|---|---|
| 0 | 6 am | Daytime begins |
| 1,000 | 7 am | /time set day jumps here |
| 6,000 | 12 pm | Noon, sun at its peak |
| 12,000 | 6 pm | Sunset begins |
| 13,000 | 7 pm | Night begins, hostile mobs can spawn outdoors |
| 18,000 | 12 am | Midnight |
| 23,000 | 5 am | Sunrise begins |
| 24,000 | 6 am | Cycle resets to tick 0 |
Beds become usable shortly after sunset and skip you straight to morning. Undead mobs like zombies and skeletons burn once the sun rises, so dawn is your cue to get back outside.
How to Check the Time in Minecraft
The fastest way to check the clock is the /time query command. It works on both editions, with one naming quirk on the newest Java releases:
/time query daytime— shows the current time of day in ticks (Bedrock and most Java versions; the newest Java releases renamed it/time query time)/time query gametime— shows the total age of the world in ticks/time query day— shows how many in-game days have passed
If you prefer a no-commands option, craft a clock from 4 gold ingots and 1 redstone dust. It shows the sun and moon's position anywhere in the Overworld, even deep in a mine. For more useful commands, see our full Minecraft console commands list.
How to Change the Day Length
You cannot stretch the 20-minute cycle itself, but commands give you full control over the clock. /time set jumps to a fixed point, and /time add <ticks> skips time forward.
| Command | Jumps to | Tick |
|---|---|---|
/time set day | Morning | 1,000 |
/time set noon | Midday | 6,000 |
/time set sunset (Bedrock only) | Dusk | 12,000 |
/time set night | Nightfall | 13,000 |
/time set midnight | Middle of the night | 18,000 |
/time set sunrise (Bedrock only) | Dawn | 23,000 |
To freeze time entirely, use /gamerule doDaylightCycle false on Java (renamed advance_time in Java 1.21.11 and later) or /gamerule dodaylightcycle false on Bedrock. The sun stops moving until you turn the rule back on.
Java 1.20.3+ also has /tick rate <number>, which changes the speed of the entire game. The default is 20 ticks per second, so /tick rate 40 makes days pass twice as fast, though mobs, crops, and everything else speed up with it. Bedrock has no equivalent command.
For multiplayer, the sleeping rule is the practical fix: /gamerule playersSleepingPercentage 1 lets a single player sleep to skip the night for everyone (Java 1.17+, Bedrock 1.20.30+). On your own server you can run any of these from the console without opping players in-game, which is exactly how we set it up on our Minecraft server hosting panel.

