How to Change Time of Day in Minecraft
Set the time with a command, sleep through night, or pause the day-night cycle.
How Minecraft’s Day-Night Cycle Works
Minecraft’s full day-night cycle lasts 20 minutes in real time. About 10 minutes are daylight, followed by about 10 minutes of night. The exact light changes happen gradually around dawn and dusk.
Time is measured in game ticks. A full cycle contains 24,000 ticks, with each tick lasting 1/20 of a second. At 1,000 ticks, morning is underway; noon arrives near 6,000 ticks. Sunset starts around 12,000 ticks, and night follows.
So, what time is day in Minecraft? Daylight covers the first half of the cycle, from 0 to about 12,000 ticks. The sun’s position gives a quick visual clue. Commands give you more control.
- Day: roughly 0–12,000 ticks
- Noon: 6,000 ticks
- Sunset: about 12,000 ticks
- Night: roughly 12,000–24,000 ticks
One full Minecraft day is short. You can set the time directly when you need daylight for building or travel.

Change Time in Minecraft Java Edition
In Java Edition, open chat and enter a time command. You need cheats enabled in a single-player world, or permission to use commands on a server. In a new world, enable cheats in the world settings. For an existing world, open it to LAN and allow cheats for that session.
Type /time set day and press Enter to move to daytime. This sets the world to 1,000 ticks, rather than the start of the cycle. To set the cycle’s start, use /time set 0. Use /time set noon for 6,000 ticks or /time set night for 13,000 ticks.
Java also lets you stop the sun from moving. Enter /gamerule doDaylightCycle false to freeze the current time. Set the rule to true to resume the cycle. This is useful for builds, tests, or maps that need fixed lighting.
Commands do not change the game mode. They work in Survival or Creative, as long as you have the needed permission. A command is the fastest way to set an exact time.
- Open chat with the chat key.
- Enter /time set day or another time value.
- Press Enter and check the sky.

Change Time in Minecraft Bedrock Edition
Bedrock Edition uses the same basic command: /time set day. Open chat, type the command, and submit it. You can also enter values such as /time set 6000 for noon or /time set 13000 for night.
Commands must be allowed in the world. In a local world, check the settings for cheats. On a Realm or multiplayer server, you may need operator rights. Bedrock can also show command suggestions as you type, which helps check the available forms.
There is one key difference for worlds you want to keep achievement eligible. Turning on cheats in Bedrock disables achievements for that world. Java has no matching Bedrock achievement toggle, though server rules and world settings still matter.
Bedrock supports the daylight-cycle game rule as well. Use /gamerule doDaylightCycle false to keep time from advancing. To let time move again, run the command with true. The command needs the same permissions as other world commands.
Bedrock and Java share the main time values, but their world settings differ. Check the edition’s settings before enabling cheats, especially in a long-term survival world.

Use Time Commands and Pick the Right Value
The /time set command accepts named points or a tick count. Named points are easy to remember. Tick counts give finer control when a build needs a certain sun angle or light level.
| Command | Result |
|---|---|
| /time set day | Sets time to 1,000 ticks |
| /time set noon | Sets time to 6,000 ticks |
| /time set night | Sets time to 13,000 ticks |
| /time set midnight | Sets time to 18,000 ticks |
| /time set 0 | Sets time to the cycle’s start |
To learn the current world time, run /time query daytime. The result is a tick value within the current day. This can help you repeat a lighting setup or track a test.
Setting time changes the shared world clock, not just your view. In multiplayer, everyone sees the same sky change. Keep this in mind before changing time on a shared server.
A bed offers another way to pass the night. In Survival, sleep when the game allows it, and the world advances to morning. Creative mode does not make daytime sleeping possible; you still need a valid time to use the bed.
Manage Time Without Disrupting Your World
Use a one-time command when you only need daylight for a short task. For example, set day before building outdoors, then let the cycle continue. That keeps the world’s usual rhythm intact.
Freeze time only when a fixed sky is part of your plan. This can help with a showcase build or a map with set lighting. Remember to turn the daylight cycle back on when you finish.
In Survival, a bed is often the simplest option when night falls. It also helps you avoid spending the dark hours outdoors. Beds can set your respawn point, so place one somewhere safe before relying on it.
On multiplayer worlds, agree on time changes with other players first. A sudden jump to morning can affect farming, mob behavior, and planned events. Use the smallest change that solves the problem.
- Use /time set day for quick daylight.
- Use a tick count when you need a specific sun position.
- Pause the cycle only for a reason, then turn it back on.
- Check server rules before running commands in multiplayer.
Fix Common Time Command Problems
If the command fails, first check your spelling and spaces. The full command needs a slash, the word time, then set and a value. For example, enter /time set day as one command.
A message about permission usually means cheats are off or your account lacks operator rights. In Java single-player, enable cheats when creating the world, or open the world to LAN with cheats allowed. In Bedrock, review the world’s cheat setting.
If time changes once but then starts moving again, that is normal. The daylight cycle keeps running unless you turn it off. Use /gamerule doDaylightCycle false to pause it, and use true when you want the cycle back.
If sleeping does not skip to morning, check whether the game allows sleep at that moment. Beds do not let you choose any time of day. They pass the night when the sleep conditions are met.
Finally, confirm your edition and world settings. Java and Bedrock share many commands, but cheat controls and achievement effects differ. Those settings are often the cause of a command that seems unavailable.
Step-by-step
- 01 Check your permissions
Make sure cheats are enabled in your world or that you have command rights on the server.
- 02 Open chat
Open the chat field in your edition of Minecraft.
- 03 Enter the time command
Type /time set day for morning, /time set noon for midday, or a tick value for an exact time.
- 04 Submit and check the sky
Run the command and confirm the sun has moved to the time you wanted.
Frequently asked questions
- How do you change the time of day in Minecraft?
- Open chat and run /time set day. Cheats must be enabled, or you need permission to use commands.
- How do I change time to day in Minecraft?
- Enter /time set day in chat. The command sets the world to 1,000 ticks, during the morning.
- How much time is a day in Minecraft?
- A full day-night cycle takes about 20 minutes in real time. Daylight and night each last about 10 minutes.
- What time is day in Minecraft?
- Daylight runs from about 0 to 12,000 ticks. Morning is underway near 1,000 ticks, while sunset starts around 12,000.
- Can you change the time in Minecraft without commands?
- Yes. A bed can skip the night when the game allows you to sleep. It cannot make you sleep during daytime.
- Do time commands work in both Java and Bedrock?
- Yes, both editions support /time set commands. Their cheat settings differ, and enabling cheats in Bedrock disables achievements for that world.
Related reading
Can You Ride Llamas in Minecraft? (What You Can Do)
You can tame and pack llamas, but you cannot steer them like horses.
Can You Craft Terracotta in Minecraft?
Smelt clay blocks in a furnace, then dye terracotta for colorful builds.
How to Feed a Fox in Minecraft
Feed foxes berries to breed them, then help a baby fox learn to trust you.