The fastest way to change the time

Open the chat window by pressing T on keyboard or the right bumper on controller, then type /time set day to jump to morning, /time set noon for midday, or /time set night for evening. Press Enter and the sky changes when ready. This works in Survival mode, Creative mode, and Realms.

If you want a specific time rather than a preset, use /time set 0 for dawn (around 5 a.m. in-game), /time set 6000 for noon, or /time set 12000 for dusk. The number represents in-game ticks — each tick is about 0.05 seconds of real time, so 24,000 ticks equals one full day-night cycle.

You need to have cheats turned on for these commands to work. If you created the world without cheats, you can still enable them by opening the world to LAN (pause the game, select "Open to LAN", turn on "Allow Cheats") and then use the commands.

Key Takeaways

  • The chat command /time set day, /time set noon, or /time set night changes the time when ready in any game mode.
  • You can set a precise time using /time set followed by a number from 0 to 23999, where 0 is dawn and 12000 is noon.
  • Cheats must be enabled in your world settings for time commands to work.
  • If you did not turn on cheats when creating the world, you can enable them by opening the world to LAN and toggling "Allow Cheats".

Why you might want to change the time

Changing the time is useful when you need to see your build in daylight to check colors and details, or when you want to avoid mobs that only spawn at night. It also lets you skip the darkness if you are waiting for something to happen — like crops to grow or a furnace to finish smelting — without having to sit through the full cycle.

Some players use time commands to test how their structures look under different lighting. A house that looks good at noon might have shadows in the wrong places at sunset, so being able to jump between times helps you design with all conditions in mind.

Using the /time add command to move time forward

Instead of jumping to a specific time, you can move forward by a set amount using /time add followed by the number of ticks. For example, /time add 6000 moves the clock forward 6,000 ticks, which is about 5 minutes of real time but represents 6 hours in-game.

This is helpful if you want to watch the sunset or sunrise happen naturally rather than teleporting straight to it. You can also use negative numbers to move backward — /time add -6000 rewinds the clock by 6 hours.

Controlling day-night cycles with /daylock

If you want to freeze time completely so the sun does not move, use /daylock lock. The world stays at whatever time you set it to until you unlock it again with /daylock unlock. This is useful for building or taking screenshots when you want consistent lighting.

When day-night lock is on, mobs still spawn and despawn normally, but the sky does not change. You can still use /time set to jump to a different locked time if you need to adjust the lighting for your project.

Time commands on different platforms

On Java Edition (Windows, Mac, Linux), type commands directly into the chat window after pressing T. On Bedrock Edition (Windows 10/11, Xbox, PlayStation, Nintendo Switch, mobile), the process is the same — open chat and type the command.

If you are playing on a server or Realm, you need to be an operator (op) for commands to work. The server owner or admin can grant you op status, which gives you permission to use cheats. Without op status, the command will not execute.

What happens to mobs and crops when you change the time

Changing the time does not reset mob spawning or despawning — creatures respond to the new time of day as if it had naturally arrived. If you jump from day to night, hostile mobs like creepers and skeletons will spawn when ready. If you jump from night to day, they will despawn within a few seconds (unless they are in a dark enough space to survive daylight).

Crops, animals, and other game mechanics continue normally. Crops do not grow faster or slower based on time changes — they grow on a tick-based system that runs whether time moves forward or stays frozen. Sleeping in a bed still skips to morning, even if you have already set the time to day.

Frequently Asked Questions

Do I need to be in Creative mode to change the time?

No. Time commands work in Survival, Creative, and Adventure modes as long as cheats are turned on. You do not need to switch modes to use them.

What if the /time command does not work?

Check that cheats are enabled in your world settings. If you created the world without cheats, pause the game, select "Open to LAN", and toggle "Allow Cheats" on. Then try the command again.

Can I set the time to a specific hour and minute?

Minecraft does not use hours and minutes — it uses ticks from 0 to 23999. If you want a specific time, calculate the tick number: each in-game hour is about 1,000 ticks, so 6,000 ticks is roughly noon and 18,000 is roughly 6 p.m.

Does changing the time affect the weather?

No. Rain, snow, and thunderstorms follow their own cycle independent of the time of day. You can have a thunderstorm at noon or clear skies at midnight.

Can I use time commands on a multiplayer server?

Only if the server owner has given you operator (op) status. Ask the server admin to grant you op permissions, and then you can use time commands for the entire server.