The information in this article applies to Minecraft for all platforms.
SelectGameunder World prefs, then chooseCreativeunder Default Gaming Mode.
Scroll down to the Cheats section and enableActivate Cheats.

terminate the controls menu.
pop launch the chat window.
How you bring up the chat window depends on your platform:
Enter the command/weather clear.

In a few seconds, the weather will transition from rainy to sunny.
Scroll down to the Cheats section and enableActivate Cheats, then disable theWeather Cycletoggle.
The skies will become clear and the weather will remain sunny.

Alternatively, fire up the chat window and enter/gamerule doWeatherCycle falseto turn off the weather cycle.
How Do I Make It Rain in Minecraft?
To turn on rainfall, enable cheats and use the command/weather rainin the chat window.

To make it storm, enter/weather thunder.
If you have weather disabled, go back toSettings>Game>Cheatsand enable theWeather Cycletoggle.
Alternatively, enable cheats and enter/gamerule doWeatherCycle truein the chat window.

In addition to controlling the weather, you’re free to alsochange the time of day in Minecraft.
FAQ
On any given day, there is about a 1-in-7 chance of rain in Minecraft.
Rain puts out fires and makes crops grow faster.

