When to go to Yogyakarta: a seasonal guide
July and August: the dry season
This is the best stretch, and August is the standout. It gets about 40 mm of rain on 7 days, and you'll see around 7.6 hours of sun a day. July is nearly as good. Mornings are clear, which matters if you want sunrise at Borobudur or a clean view of Merapi, the volcano north of the city. Nights are a touch cooler, so evenings around Malioboro Street feel easy.
The catch is crowds. Indonesian school holidays and international summer breaks fall in these months, so Prambanan, Borobudur and the Kraton (the sultan's palace) fill up. Hotels in the Prawirotaman area get busy. Go to the temples at opening time, then spend the hot middle of the day in the Taman Sari water palace or a café.
June and September: the shoulder months
June and September sit just outside the best months, and both are quieter than peak season. September is the driest of the shoulder months, with 88 mm of rain, though it's also getting hotter. If you want to hike, or ride out to the Parangtritis coast and the Parangkusumo sand dunes, this is a good time. Late June or early July often brings the Yogyakarta Gamelan Festival or other arts events, but dates change, so check locally.
October to May: the wet months
Be honest with yourself here. From November to March it rains on 25 to 29 days a month, and the sky stays grey, with barely an hour or two of sun. January and February are the wettest, tied at 355 mm. Humidity sits near 87%. Rain often comes in heavy afternoon bursts, and some streets flood.
It's not a write-off, though. Temples are far emptier, and the green rice fields around the city look their best. Museums, batik workshops in Kotagede and long meals of gudeg (jackfruit stew, the city's signature dish) all work well in the rain. October is still rated Poor, with 17 rainy days, but it's the hottest month at 31°C. May is the best of the wet months, with 20 rainy days and a few more sunny hours.
Muslim holidays like Eid shift each year and bring heavy local travel. Sekaten, a fair at the palace marking the Prophet's birthday, also moves with the lunar calendar.
Monthly climate table
| Month | High | Low | Rain | Rainy days | Humidity | Sun hrs/day | Rating |
|---|---|---|---|---|---|---|---|
| January | 28°C 83°F | 24°C 76°F | 355 mm | 29 | 87% | 1.2 | Poor 2.4 |
| February | 29°C 83°F | 24°C 76°F | 355 mm | 27 | 87% | 1.3 | Poor 2.3 |
| March | 29°C 84°F | 25°C 76°F | 234 mm | 28 | 86% | 1.9 | Poor 2.5 |
| April | 29°C 84°F | 25°C 76°F | 212 mm | 26 | 86% | 2.6 | Poor 2.7 |
| May | 29°C 84°F | 24°C 75°F | 154 mm | 20 | 86% | 4.8 | Poor 3.5 |
| June | 28°C 83°F | 23°C 74°F | 123 mm | 16 | 85% | 5.6 | Fair 4.7 |
| July | 28°C 83°F | 22°C 72°F | 64 mm | 10 | 83% | 7 | Good 7.8 |
| August | 29°C 84°F | 22°C 71°F | 40 mm | 7 | 79% | 7.6 | Excellent 8.3 |
| September | 30°C 86°F | 23°C 73°F | 88 mm | 10 | 77% | 6.6 | Good 6.8 |
| October | 31°C 87°F | 24°C 74°F | 143 mm | 17 | 78% | 4.2 | Poor 3.3 |
| November | 30°C 85°F | 24°C 76°F | 248 mm | 25 | 83% | 2 | Poor 2.4 |
| December | 29°C 83°F | 24°C 76°F | 311 mm | 28 | 86% | 1.1 | Poor 2.3 |
Frequently asked questions
When is the best time to visit Yogyakarta?
The best time to visit Yogyakarta is July and August, based on comfortable temperatures, low rainfall and plenty of sunshine.
What is the hottest month in Yogyakarta?
October is the hottest month in Yogyakarta, with an average high of 31°C (87°F).
What is the coldest month in Yogyakarta?
August is the coldest month in Yogyakarta, with an average low of 22°C (71°F).
What is the rainiest month in Yogyakarta?
January is the wettest month, with about 355 mm (14.0 in) of rain. August is the driest, with 40 mm (1.6 in).
When is the rainy season in Yogyakarta?
The rainy season in Yogyakarta is November to March.