News
Game
Guides
Downloads
Versions
/weather
COMMANDS WORLD & RULES CHEATS · LEVEL 2 Added in 1.14 or earlier

/weather command in Minecraft

The /weather command sets clear skies, rain or a thunderstorm, for a chosen time or for a duration picked by the game. It helps when you need a storm for a trident with Channeling, want sunshine for a build session or test how mobs react to rain.

Syntax

/weather clear [<duration>]
/weather rain [<duration>]
/weather thunder [<duration>]
ArgumentExpectsWhat it does
durationoptionalDuration (ticks, or 10s, 2d)at least 1How long the weather lasts. A plain number counts ticks; 1d, 300s or 6000t also work. Without it, the game picks the duration.
All 6 forms
  • /weather clear
  • /weather clear <duration>
  • /weather rain
  • /weather rain <duration>
  • /weather thunder
  • /weather thunder <duration>

Examples

Clear the sky

/weather clear

Stops rain or a storm at once. The game picks how long the clear weather lasts.

Java 26.3

Clear weather for one day

/weather clear 1d

Keeps the sky clear for 24,000 ticks, one in-game day, then the normal cycle resumes.

Java 26.3

Start a thunderstorm

/weather thunder

Rain and lightning start right away, handy for Channeling or a charged creeper.

Java 26.3

A short rain shower

/weather rain 6000

6000 ticks of rain, five real minutes at the normal tick rate.

Java 26.3
Interactive tool

Command generator

Fill in the fields, copy the command, paste it in the chat. Syntax checked against Java Edition 26.3.

Turn on JavaScript to use the interactive version.

/weather clear

Calculated from the Java Edition 26.3 game files

What each weather does

rain brings rain, or snow in cold biomes; deserts, savannas and badlands stay dry. thunder adds lightning and darkens the sky enough for hostile mobs to spawn during the day. Weather only exists in the Overworld: the Nether and the End never see it.

A thunderstorm is the only time a Trident with Channeling calls lightning, and lightning striking a Creeper makes it charged. Players can also sleep during a thunderstorm.

Durations and the weather cycle

The duration uses the time format. A number alone counts ticks, so /weather rain 600 lasts 30 seconds. Only the units d, s and t exist: write 300s, not 5m.

When the time runs out, the normal weather cycle takes over again. To keep the current weather forever, set advance_weather to false with /gamerule. For lightning on demand, /summon minecraft:lightning_bolt works in any weather. Day and night are handled by /time.

✓ Checked in Java Edition 26.3 · updated 2 November 2026

/weather: FAQ

Why does it not rain where I am?

Your biome may be dry, like a desert or a savanna, or cold, where rain falls as snow. In the Nether and the End there is no weather at all.

How do I keep clear weather forever?

Run /weather clear, then /gamerule advance_weather false. The sky stays clear until you set the rule back to true.

How do I use /weather?

Type it in the chat with cheats on: /weather clear [<duration>].

Who can use /weather?

Cheats on, or operator level 2.

Copy & paste lists with /weather

Related commands