How to Use the Weather Command in Minecraft
This Minecraft tutorial explains how to use the /weather command with screenshots and step-by-step instructions.
You can use the /weather command to change between weather cycles at any time (clear, rain, thunder or snow) for a Minecraft world. Let's explore how to use this cheat (game command).
Subscribe
Supported Platforms
The /weather command is available in the following versions of Minecraft:
Platform | Supported (Version*) |
Java Edition (PC/Mac) | Yes (1.4.2) |
Pocket Edition (PE) | Yes (0.16.0) |
Xbox 360 | No |
Xbox One | Yes (1.2) |
PS3 | No |
PS4 | Yes (1.14.0) |
Wii U | No |
Nintendo Switch | Yes (1.5.0) |
Windows 10 Edition | Yes (0.16.0) |
Education Edition | Yes |
* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.
Requirements
To run game commands in Minecraft, you have to turn cheats on in your world.
Weather Command
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Weather Command in Minecraft Java Edition (PC/Mac)
In Minecraft Java Edition (PC/Mac), the syntax to change the weather cycle is:
/weather <type> [duration]
Weather Command in Minecraft Pocket Edition (PE)
In Minecraft Pocket Edition (PE), there are different syntaxes depending on what you would like to do with weather.
To change the weather cycle:
/weather <clear¦rain¦thunder> [duration]
To query the weather state (starting in Minecraft PE 1.2.3):
/weather query
Definitions
- clear will clear the sky and turn blue. It will stop raining/snowing.
- rain will darken the sky. It will start to rain (in a snow biome, the rain will appear as snow).
- thunder will darken the sky. It will start to rain and then thunder/lightning.
- duration is optional. It is the length of time (in seconds) that the weather cycle will last.
Weather Command in Minecraft Xbox One Edition
In Minecraft Xbox One Edition, there are different syntaxes depending on what you would like to do with weather.
To change the weather cycle:
/weather <clear¦rain¦thunder> [duration]
To query the weather state:
/weather query
Definitions
- clear will clear the sky and turn blue. It will stop raining/snowing.
- rain will darken the sky. It will start to rain (in a snow biome, the rain will appear as snow).
- thunder will darken the sky. It will start to rain and then thunder/lightning.
- duration is optional. It is the length of time (in seconds) that the weather cycle will last.
Weather Command in Minecraft PS4 Edition
In Minecraft PS4 Edition, there are different syntaxes depending on what you would like to do with weather.
To change the weather cycle:
/weather <clear¦rain¦thunder> [duration]
To query the weather state:
/weather query
Definitions
- clear will clear the sky and turn blue. It will stop raining/snowing.
- rain will darken the sky. It will start to rain (in a snow biome, the rain will appear as snow).
- thunder will darken the sky. It will start to rain and then thunder/lightning.
- duration is optional. It is the length of time (in seconds) that the weather cycle will last.
Weather Command in Minecraft Nintendo Switch Edition
In Minecraft Nintendo Switch Edition, there are different syntaxes depending on what you would like to do with weather.
To change the weather cycle:
/weather <clear¦rain¦thunder> [duration]
To query the weather state:
/weather query
Definitions
- clear will clear the sky and turn blue. It will stop raining/snowing.
- rain will darken the sky. It will start to rain (in a snow biome, the rain will appear as snow).
- thunder will darken the sky. It will start to rain and then thunder/lightning.
- duration is optional. It is the length of time (in seconds) that the weather cycle will last.
Weather Command in Minecraft Windows 10 Edition
In Minecraft Windows 10 Edition, there are different syntaxes depending on what you would like to do with weather.
To change the weather cycle:
/weather <clear¦rain¦thunder> [duration]
To query the weather state (starting in Minecraft PE 1.2.3):
/weather query
Definitions
- clear will clear the sky and turn blue. It will stop raining/snowing.
- rain will darken the sky. It will start to rain (in a snow biome, the rain will appear as snow).
- thunder will darken the sky. It will start to rain and then thunder/lightning.
- duration is optional. It is the length of time (in seconds) that the weather cycle will last.
Weather Command in Minecraft Education Edition
In Minecraft Education Edition, there are different syntaxes depending on what you would like to do with weather.
To change the weather cycle:
/weather <clear¦rain¦thunder> [duration]
To query the weather state (starting in Minecraft PE 1.2.3):
/weather query
Definitions
- clear will clear the sky and turn blue. It will stop raining/snowing.
- rain will darken the sky. It will start to rain (in a snow biome, the rain will appear as snow).
- thunder will darken the sky. It will start to rain and then thunder/lightning.
- duration is optional. It is the length of time (in seconds) that the weather cycle will last.
Examples
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Example in Java Edition (PC/Mac)
To change the weather to clear in Minecraft Java Edition (PC/Mac):
/weather clear
To change the weather to clear for 999999 seconds:
/weather clear 999999
To change the weather to rain:
/weather rain
Example in Pocket Edition (PE)
To change the weather to rain in Minecraft PE:
/weather rain
To change the weather to rain for 2500 seconds:
/weather rain 2500
To change the weather to clear:
/weather clear
To query the state of the weather (starting in PE 1.2.3):
/weather query
Example in Xbox One Edition
To change the weather to clear in Minecraft Xbox One Edition:
/weather clear
To change the weather to clear for 400 seconds:
/weather clear 400
To change the weather to thunder:
/weather thunder
To query the state of the weather:
/weather query
Example in PS4 Edition
To change the weather to rain in Minecraft PS4 Edition:
/weather rain
To change the weather to rain for 100 seconds:
/weather rain 100
To change the weather to clear:
/weather clear
To query the state of the weather):
/weather query
Example in Nintendo Switch Edition
To change the weather to rain in Minecraft Nintendo Switch Edition:
/weather rain
To change the weather to rain for 3000 seconds:
/weather rain 3000
To change the weather to clear:
/weather clear
To query the state of the weather:
/weather query
Example in Windows 10 Edition
To change the weather to thunder in Minecraft Windows 10 Edition:
/weather thunder
To change the weather to thunder for 5000 seconds:
/weather thunder 5000
To change the weather to clear:
/weather clear
To query the state of the weather (starting in Windows 10 Edition 1.2.3):
/weather query
Example in Education Edition
To change the weather to rain in Education Edition:
/weather rain
To change the weather to rain for 10000 seconds:
/weather rain 10000
To change the weather to thunder:
/weather thunder
To query the state of the weather (starting in Education Edition 1.0.21):
/weather query
How to Enter the Command
1. Open the Chat Window
The easiest way to run a command in Minecraft is within the chat window. The game control to open the chat window depends on the version of Minecraft:
- For Java Edition (PC/Mac), press the T key to open the chat window.
- For Pocket Edition (PE), tap on the chat button at the top of the screen.
- For Xbox One, press the D-Pad (right) on the controller.
- For PS4, press the D-Pad (right) on the controller.
- For Nintendo Switch, press the right arrow button on the controller.
- For Windows 10 Edition, press the T key to open the chat window.
- For Education Edition, press the T key to open the chat window.
2. Type the Command
In this example, we will change the weather to clear with the following command:
/weather clear
Type the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the Enter key to run the command.
Once the cheat has been entered, the weather in your world will be clear:
You will see the message "Changing to clear weather" appear in the lower left corner of the game window. This will reset the world to clear weather.
Congratulations, you just learned how to use the /weather command in Minecraft!
Other Weather Cheats
You can use other weather commands in Minecraft such as: