Skip to content
MC Calc

How long is a Minecraft day? 20 minutes, 24,000 ticks, and the new /time commands that change it

A Minecraft day is 24,000 ticks: 20 real minutes at 20 ticks per second. Timed on Java 26.3, with /time rate and /tick rate to make it longer or shorter.

Tested on Java 26.34 min read

A Minecraft day lasts 20 real minutes: 24,000 game ticks at 20 ticks per second, day and night together. We ran exactly that many ticks on a Java 26.3 server and watched the clock come back to where it started. Java 26 also has new /time commands that stretch or shrink the day without touching anything else, and an old one that no longer works.

The measurement

With the game frozen we set the time to 0, advanced 24,000 ticks and asked again.

BeforeAfter 24,000 ticks
/time query gametime5821682216
/time query dayTimeline minecraft:day is at 0 tick(s)Timeline minecraft:day is at 0 tick(s)
/time query timeClock minecraft:overworld is at 0 tick(s)Clock minecraft:overworld is at 24000 tick(s)

The day timeline wraps at 24,000; the world clock keeps counting. For the real-time half we read the game time twice, about 30 seconds apart, timed on the server: 617 ticks in 30.95 seconds, 19.9 per second. 24,000 ÷ 20 = 1,200 seconds. The Tick ↔ Real-Time Converter shows the same conversion (convertAll: 24,000 ticks = 1,200 s = 20 min = 1 day).

What the clock says at each tick

Tick 0 is 6:00 in the morning and every 1,000 ticks is one in-game hour, which is 50 real seconds. The named times you can pass to /time set on 26.3:

CommandDay tickClockReal time since tick 0
/time set day1,00007:0050 s
/time set noon6,00012:005 min
/time set night13,00019:0010 min 50 s
/time set midnight18,00000:0015 min

Midnight read back as exactly 18,000. The other three we read a few ticks late with the clock running (1,005, 6,006 and 13,006). The clock column is the calculator’s timeOfDay. /time set sunrise and sunset don’t exist: the game answered Time marker minecraft:sunrise does not exist for clock minecraft:overworld.

From night to the next day marker is 12,000 ticks, so by those markers the dark half is 10 minutes and the light half is 10 minutes.

The /time command changed

If you learned /time query daytime, it is gone. On 26.3 the game replied Can't find element 'minecraft:daytime' of type 'minecraft:timeline'. The command’s own help lists what replaced it:

CommandWhat it did in our test
/time query dayTime of day, 0–23,999 (the “day” timeline)
/time query timeThe overworld clock, which does not wrap
/time query gametimeTotal ticks the world has run
/time rate 2Clock at 2.0× normal rate: the day moved 2,400 ticks in 1,200 game ticks
/time rate 0.5Half speed: the day moved 600 ticks in 1,200 game ticks
/time pauseClock stood at 2,494 while game time went on; /time resume restarts it
/gamerule advance_time falseStops the cycle. The old name doDaylightCycle is rejected

/time rate is the one that answers “how do I get longer days”. It changes only the sun and moon. Rate 0.5 gives a 40-minute day, rate 2 a 10-minute day, and furnaces, crops and redstone keep their normal speed, because game time is not affected.

/tick rate changes the day too, along with everything else

/tick rateTicks in about 30 sMeasured rateLength of a day
20 (default)617 in 30.95 s19.9 per second20 min
401,251 in 31.33 s39.9 per second10 min
10307 in 30.68 s10.0 per second40 min

A day is still 24,000 ticks; the ticks just come faster or slower. A lagging server does the same thing by accident: at 15 ticks per second a day takes 26 minutes 40 seconds.

Worked example

Days and real time, both ways

  1. One real hour = 72,000 ticks = 3 Minecraft days. A real day = 72 Minecraft days.
  2. 100 Minecraft days = 2,400,000 ticks = 33 hours 20 minutes of play.
  3. One in-game hour (1,000 ticks) = 50 seconds. One in-game minute is under a second.

If you time machines with /tick freeze and /tick sprint, check the count. Our /tick sprint 1000 on a frozen server moved game time from 51353 to 52354: 1,001 ticks. A sprint of 23,999 gave the 24,000 in the table above.

Tick ↔ Real-Time ConverterConvert ticks, redstone ticks, seconds and Minecraft days at any tick rate, with the time of day for any tick.

For shorter timings, redstone ticks and repeater delays. And one hopper moves 3,000 items in a Minecraft day: hopper speed, measured.

Questions

How long is a Minecraft day in real time?

20 minutes. A full day and night is 24,000 game ticks and the game runs 20 ticks per second. On Java 26.3 we advanced the game 24,000 ticks and the day timeline was back at 0.

How many Minecraft days are in a real hour?

Three. One real hour is 72,000 ticks. A real day is 72 Minecraft days, and 100 Minecraft days take 33 hours and 20 minutes of play.

How do you make days longer in Minecraft?

On Java 26.3, /time rate 0.5 halves the speed of the day clock, giving a 40-minute day while everything else runs normally. In our test the clock moved 600 ticks in 1,200 game ticks. /time pause stops it completely.

Why does /time query daytime not work any more?

The command changed. On 26.3 it answers "Can't find element 'minecraft:daytime'". Use /time query day for the time of day, /time query time for the world clock and /time query gametime for total ticks.

Does /tick rate change the length of a day?

Yes, because it speeds up the whole game. At /tick rate 40 our server ran 39.9 ticks per second, so a day lasts 10 minutes; at 10 it ran 10.0, so a day lasts 40 minutes. Crops, furnaces and mobs speed up or slow down with it.

All guides →