The fastest way to change time in Minecraft

You change the time of day in Minecraft by typing a command into the chat box. The command is /time set followed by a number between 0 and 23999, where 0 is sunrise, 6000 is noon, 12000 is sunset, and 18000 is midnight. Type /time set 6000 to jump to midday instantly.

This only works if you have cheats turned on in your world. If you created your world without cheats, you can still enable them by opening the world to LAN and toggling cheats on — the world stays yours, and you keep your progress.

On console versions (PlayStation, Xbox, Nintendo Switch), you cannot use commands. Your only option is to sleep through the night by right-clicking a bed, which skips forward to morning.

Key Takeaways

  • The command /time set 6000 sets the time to noon; use 0 for sunrise, 12000 for sunset, and 18000 for midnight.
  • Commands only work if cheats are enabled in your world settings.
  • If you created your world without cheats, you can enable them by opening the world to LAN without leaving your game.
  • On console versions, sleeping in a bed is the only way to skip time forward.
  • The time number cycles every 24000 ticks, so 24000 and 0 are the same moment.

How to enable cheats if you did not turn them on at world creation

Open your world, then pause the game and select Open to LAN. A menu appears with a toggle for Allow Cheats — turn it on. You do not need to actually invite anyone; this just enables commands in your world. Your world remains single-player, and you keep all your progress and items.

Once cheats are on, you can use the time command and any other command. The setting stays on for that world until you turn it off the same way.

Understanding the time numbers and what they mean

Minecraft time runs on a 24000-tick cycle. Each tick is 50 milliseconds in real time, so one full day-night cycle takes 20 real minutes. The numbers you enter in the /time set command represent ticks since sunrise:

Time of DayCommandWhat You See
Sunrise/time set 0Sun rises, sky brightens
Morning/time set 3000Sun high, bright daylight
Noon/time set 6000Sun at peak, brightest point
Afternoon/time set 9000Sun descending, still bright
Sunset/time set 12000Sun sets, sky turns orange and red
Dusk/time set 15000Sun gone, sky darkens
Midnight/time set 18000Darkest point, stars visible
Late Night/time set 21000Still dark, approaching dawn

You can use any number between 0 and 23999. For example, /time set 7500 sets the time halfway between noon and sunset.

Other time commands you can use with cheats on

Beyond /time set, you have two other time commands. /time add moves time forward by a number of ticks without jumping to a specific moment — /time add 6000 advances the clock by 6000 ticks (about 5 real minutes). This is useful if you want to speed up time gradually rather than jump to a fixed hour.

/time query tells you the current time without changing it. Type /time query daytime to see how many ticks have passed since sunrise in your current world. This is mostly useful for builders and redstone engineers who need to know exact timing.

Why mobs and crops behave differently depending on time

Changing the time affects what happens in your world. Hostile mobs like zombies and skeletons only spawn in darkness, so setting time to midnight will cause them to appear even if you are in a lit area — they spawn based on the sky light level, not your torches. Setting time to noon makes hostile mobs despawn if they are far enough away from you.

Crops and trees do not grow faster or slower based on time of day; they grow on a random tick system that is independent of the clock. Changing time does not speed up farming. However, some farm designs use the day-night cycle for redstone contraptions, so changing time can trigger those machines.

Frequently Asked Questions

Can I change time on a server or in multiplayer?

Yes, but only if you are an operator (op) on the server. The server owner or an existing op must give you operator status first. Once you have it, you can use /time set just like in single-player. The time change affects all players on the server at once.

Does changing time affect the Minecraft day counter?

No. The day counter (shown in the debug screen with F3 on Java Edition) tracks how many full 24000-tick cycles have passed since world creation. Using /time set moves the clock within the current day but does not increment the day counter. Only sleeping through a full night or waiting for a full cycle to complete advances it.

What happens to my spawn point if I change time?

Changing time does not move your spawn point. Your spawn point is set by sleeping in a bed or by the world spawn location if you have not slept yet. Time changes only affect lighting, mob spawning, and sky color — not where you respawn.

Can I set time to a decimal number like 6000.5?

No. The /time set command only accepts whole numbers (integers). If you type a decimal, the game rounds it down. For precise timing in redstone contraptions, use whole numbers or use /time add in small increments.