Change or Check the Weather in Minecraft
The /weather command lets you change the current weather in your Minecraft Bedrock Edition world or check what the weather is doing right now. You can choose between clear skies, rain, or a thunderstorm, and even control how many seconds the weather will last.
Players often use this command when building or recording videos so rain does not get in the way. It is also useful in survival worlds with cheats enabled when you need a specific weather condition, like a thunderstorm or snow in cold biomes.
/weather <type: WeatherType> [duration: int]Set weather
/weather queryQuery weather
| Argument | Type | What it means |
|---|---|---|
duration | int | An optional `integer` that will a random number between 300 and 900 seconds if not specified. |
type | WeatherType | An `enum` of `clear`, `rain` (will cause snow in cold biomes), or `thunder` (will cause blizzard in cold biomes). |
/weather clearStops any current precipitation and sets the sky to clear for a random time between 300 and 900 seconds.
/weather rainStarts a normal rainfall, or snowfall if you are in a cold biome, for the default random duration.
/weather thunderChanges the environment to a thunderstorm, or a blizzard in cold biomes, for a random duration.
/weather queryTells you what the active weather condition is right now in the game chat.
/weather clear 1200Keeps the skies clear for exactly 1200 seconds so you can build without interruption.
/weather rain 60Makes it rain for a short burst of 60 seconds before changing again.
/weather thunder 450Forces a thunderstorm to last for exactly 450 seconds.
In Minecraft Java Edition, the command is very similar and uses /weather clear [<duration>], /weather rain [<duration>], or /weather thunder [<duration>], though it does not include the /weather query form found in Bedrock Edition.
There is no direct snow option in the command, so you must go to a cold biome and run /weather rain to start normal snowfall, or /weather thunder to start a blizzard.
If you leave out the optional duration number, the game automatically sets the weather to last for a random amount of time between 300 and 900 seconds.
You can type /weather query in the chat to have the game tell you the current weather state in your world.
/clone/daylock/difficulty/fill/fog/gamerule/locate/mobevent/place/setblock/setworldspawn/structure/tickingarea/time