A stunning view of the ancient Borobudur Temple, illustrating its intricate architecture and stone carvings.
List · Yogyakarta 8 picks

The 8 Best Small Towns Near Yogyakarta for Temples, Cool Air, and Old Java

From a former royal capital of silversmiths to a hill retreat on the slopes of Merapi, these are the towns and villages worth leaving the city for.

Last updated July 11, 202610 min read
Top pick

Kotagede is the best all-rounder and easiest escape (20-30 minutes from the city); choose Kaliurang for cool mountain air and Merapi views, or Wonosari if you want caves and wild south-coast beaches.

Yogyakarta is Java's cultural heart, but some of its best experiences sit just outside the city: temple villages ringed by rice fields, a former Mataram capital where silversmiths still hammer by hand, and hill towns cool enough to need a jacket. Most are close enough for a half-day or full-day trip, and a few reward an overnight.

This list ranks eight real towns and villages by how rewarding they are to visit, balancing ease of access with character. Each entry tells you what makes it special, the named sights and dishes worth your time, roughly how far it is from central Yogyakarta, and who it best suits.

Distances are short by Javanese standards (most are under 90 minutes), but roads can be slow and winding, so hiring a car with driver or joining a tour usually beats public transport for the hill and cave destinations.

Kotagede1
Kotagede Google
About 6 km southeast of central Yogyakarta
Kotagede was the first capital of the Mataram Sultanate in the late 1500s, and it still feels like a village swallowed by the city, all narrow alleys, walled Javanese houses, and the ring of silversmiths' hammers. It is Yogyakarta's silver-crafting center, where workshops sell filigree jewelry and let you watch pieces being made. History runs deep here: the Masjid Gedhe Mataram (built around 1640) and the royal cemetery of the Mataram kings sit side by side, guarded by attendants in traditional dress. Wander Pasar Kotagede for street snacks and try kipo, a tiny green rice-flour sweet stuffed with palm-sugar coconut that is a local specialty.
  • Silver workshops and filigree jewelry
  • Masjid Gedhe Mataram and the royal tombs
  • Kipo sweets at Pasar Kotagede
Best for History and crafts on an easy half-day
Getting there 20-30 minutes by taxi, Grab, or car from central Yogyakarta
Borobudur2tours from $60
Borobudur Google
About 40 km northwest, in Magelang; roughly 1.5 hours · 4.7 · 103,773 reviews
The village of Borobudur wraps around the largest Buddhist temple on earth, a 9th-century stone mandala of stupas and relief panels that is Java's single most famous sight. Most people come for sunrise: climbers head to Punthuk Setumbu hill to watch the temple emerge from mist with Mount Merapi behind it, then visit Borobudur itself along with the smaller Mendut and Pawon temples nearby. The surrounding countryside of the Menoreh Hills is lovely for cycling and rice-terrace walks, and the village now has good cafes and homestays if you want to stay overnight and beat the crowds. Note that access to climb onto the temple structure is limited and ticketed, so book ahead.
  • Borobudur Temple at sunrise
  • Punthuk Setumbu viewpoint
  • Mendut and Pawon temples
Best for Temple pilgrims and sunrise chasers
Getting there About 1.5 hours by car or organized tour from Yogyakarta
Kaliurang3
Kaliurang Google
About 25 km north, on the slopes of Mount Merapi; 45-60 minutes
Kaliurang is Yogyakarta's original hill retreat, sitting around 900 m up on the southern flank of Mount Merapi, where the air turns cool and misty. It is the classic base for a Merapi lava jeep tour, bumping through villages buried and rebuilt after the volcano's eruptions, past viewpoints and a bunker where two people died in 2006. Beyond the adventure, the town holds one of Java's best museums, Ullen Sentalu, which unravels the story of the Javanese royal courts through paintings, batik, and letters. Add the Tlogo Putri lake park and plenty of grilled corn and hot ginger drinks, and it makes a relaxing cool-weather day.
  • Merapi lava jeep tour
  • Ullen Sentalu museum
  • Tlogo Putri lake and mountain air
Best for Cool climate, volcano views, and a good museum
Getting there 45-60 minutes by car or scooter north from Yogyakarta
Wonosari4tours from $69
Wonosari Google
About 40 km southeast, capital of Gunungkidul; around 1.5 hours
Wonosari is the low-key hub of Gunungkidul, a karst region of caves, sinkholes, and dramatic beaches that feels a world away from the city. The headline experience is Jomblang Cave, where you rappel into a collapsed sinkhole and, around midday, a shaft of sunlight beams down through the darkness like a spotlight (permits are limited, so book well ahead). Nearby, Pindul Cave offers gentler cave tubing on an underground river, floating past stalactites on an inner tube. Push on to the south coast for beaches like Indrayanti, Nglambor, and Timang, the last reached by a hand-hauled wooden gondola over crashing surf.
  • Jomblang Cave and its 'heavenly light'
  • Pindul cave tubing
  • Gunungkidul beaches: Indrayanti, Timang, Nglambor
Best for Adventurous travelers, caves, and beaches
Getting there About 1.5 hours by car or tour southeast from Yogyakarta
Imogiri5
Imogiri Google
About 17 km south, in Bantul; around 40 minutes
Imogiri is a quiet town built around the hillside royal cemetery of the Mataram dynasty, commissioned by Sultan Agung in 1632 and still the resting place of the sultans of Yogyakarta and Solo. Reaching the tombs means climbing a long stone staircase of several hundred steps under towering trees, and visitors wear traditional dress on the days the inner areas open. The real draw for many, though, is the neighboring hamlet of Giriloyo, a center for hand-drawn batik tulis where you can watch artisans trace hot wax with a canting and try it yourself. It is an unhurried, deeply traditional slice of rural Java close to the city.
  • Royal cemetery of the Mataram kings
  • Giriloyo hand-drawn batik workshops
  • The forested climb to the tombs
Best for Culture seekers and batik lovers
Getting there About 40 minutes by car or scooter south from Yogyakarta
Prambanan6
Prambanan Google
About 17 km east, on the Yogyakarta-Central Java border; around 40 minutes · 4.7 · 108,533 reviews
Prambanan town takes its name from the towering 9th-century Hindu temple complex on its edge, a cluster of soaring, spire-like shrines dedicated to Shiva, Vishnu, and Brahma that rivals Borobudur for grandeur. Time a visit for sunset and stay for the Ramayana Ballet, performed by dozens of dancers in an open-air theater with the floodlit temple as backdrop. The area rewards temple hunters: the hilltop Ratu Boko palace is the best sunset viewpoint, while the twin Buddhist-Hindu Plaosan temples nearby are quiet and photogenic. It is close enough to pair with Borobudur on a long day, but it deserves unhurried time of its own.
  • Prambanan Hindu temple complex
  • Ramayana Ballet open-air performance
  • Ratu Boko palace at sunset
Best for Temple lovers and evening culture
Getting there About 40 minutes east by car, taxi, or Trans Jogja bus
Selo7
Selo Google
About 40 km north, in Boyolali; 1.5-2 hours
Selo sits in the saddle between two volcanoes, Mount Merapi and Mount Merbabu, at around 1,500 m, and it is the launch point for the classic overnight trek up Merbabu, one of Java's most rewarding climbs. Even without climbing, the New Selo viewpoint above the village serves up sweeping views of Merapi's smoking cone across terraced vegetable fields. The air is genuinely cold at night, the pace is slow, and homestays cater to trekkers with hot meals and early-morning wake-ups. Come for big mountain scenery and the sense of standing between two giants.
  • Mount Merbabu trekking trailhead
  • New Selo viewpoint facing Merapi
  • Cool-climate vegetable terraces
Best for Hikers and mountain scenery
Getting there 1.5-2 hours by car north via Boyolali from Yogyakarta
Nglinggo8tours from $39.73
Nglinggo Google
About 40 km west, in the Menoreh Hills of Kulon Progo; around 1.5 hours
Nglinggo is a small tea-growing village high in the Menoreh Hills, the same ridge that frames Borobudur from the west, and it offers a green, quiet counterpoint to the busier temple circuit. Its terraced tea plantation is the centerpiece: you can walk the rows, sip freshly brewed local tea, and catch a sea of clouds at sunrise from the ridge viewpoints. The winding country lanes are ideal for a village cycling tour through rice fields and hamlets, and the Grojogan Watu Jonggol waterfall makes a good short hike. It is a low-key, scenic escape for anyone who wants nature and rural life over monuments.
  • Nglinggo tea plantation and tastings
  • Sunrise 'sea of clouds' viewpoints
  • Grojogan Watu Jonggol waterfall
Best for Nature lovers, cyclists, and photographers
Getting there About 1.5 hours by car west into Kulon Progo from Yogyakarta

Want these spots worked into your trip?

We'll build a custom Yogyakarta itinerary around the places you pick.

Generate itinerary
Good to know

Before you go

Getting aroundFor hill and cave towns (Kaliurang, Wonosari, Selo, Nglinggo), hire a car with driver or join a tour: public buses are slow and don't reach the trailheads or viewpoints. Kotagede, Imogiri, and Prambanan are easy by Grab, taxi, or the Trans Jogja bus.
Book aheadJomblang Cave near Wonosari has strictly limited daily permits and the famous light beam appears only around late morning, so reserve days in advance. Access to climb onto Borobudur itself is also ticketed and capped.
When to goThe dry season (roughly May to September) gives the clearest sunrises at Borobudur, Nglinggo, and Selo. Start early to beat both the heat and the tour-bus crowds at the temples.
What to packBring a light jacket for Kaliurang, Selo, and Nglinggo, where evenings turn cold, and modest clothing (covered shoulders and knees) for the royal tombs at Imogiri and the mosque at Kotagede.

Yogyakarta rewards those who venture past the city limits, whether that means sunrise over Borobudur, a shaft of light in a Gunungkidul cave, or a glass of tea in the Menoreh hills. Pick one or two towns that match your pace, book the timed attractions early, and build them into a wider Java itinerary for a fuller sense of the island's old heart.

Frequently asked questions

Which small town near Yogyakarta is best for a day trip?
Kotagede is the easiest and most rewarding half-day trip, just 20-30 minutes from the city, with silver workshops, a royal mosque, and old Javanese streets. For a full day, Borobudur or Wonosari's caves are the standouts.
What is the closest town to Yogyakarta worth visiting?
Kotagede, the former capital of the Mataram Sultanate, is only about 6 km southeast of the city center and reachable in 20-30 minutes, making it the closest genuinely characterful escape.
How do you get from Yogyakarta to Borobudur?
Borobudur is about 40 km northwest, roughly 1.5 hours by car. The simplest options are a private car with driver or a guided day tour, which often combines Borobudur with Prambanan or Mount Merapi.
Which town near Yogyakarta has the coolest weather?
Kaliurang, on the slopes of Mount Merapi at around 900 m, and the high villages of Selo (1,500 m) and Nglinggo (about 900 m) are all noticeably cooler than the city and can feel cold at night.
Can you visit the caves near Wonosari as a day trip?
Yes. Jomblang Cave and Pindul Cave in the Gunungkidul area around Wonosari are about 1.5 hours from Yogyakarta and easily done as a full-day trip, but Jomblang's limited permits must be booked in advance.
Plan with MagicTrips

Build your own Yogyakarta trip

Tell us how many days, your budget, and what you're into. We'll turn it into a custom, day-by-day Yogyakarta itinerary.

Ready to book your stay?

Hotels
Homes

Traveling somewhere else?

Generate a custom itinerary