Skip to main content

Assemble my trip

Stupas of Borobudur at dawn above the misty Kedu plain, with Mount Merapi on the horizon, Central Java
← All trips

Short escape (3-5 days) · Java

4 Days in Yogyakarta: Borobudur, Prambanan, Merapi and the Sultan's City

Yogyakarta (3 nights) with half-day outings to Borobudur, Mendut and Pawon, to Mount Merapi at Kaliadem and to Prambanan for the Ramayana ballet, then the Kraton and Taman Sari before departure

A steady read· 14 min

Photo: CEphoto, Uwe Aranas, CC BY-SA 3.0, via Wikimedia Commons

By Editorial Team · Last updated November 2026

Yogyakarta's two great temples sit in opposite directions, the palace closes in the early afternoon and the Borobudur climb is a timed ticket. This four-day plan keeps one hotel, gives each temple its own half day, adds a Merapi jeep morning and the Ramayana ballet, and lines every stop up with its opening hours.

Culture & TemplesBalancedBest: May to September

Is four days enough for Yogyakarta?

Yes. Four days in Yogyakarta covers Borobudur, Prambanan, a morning on the slopes of Mount Merapi and the sultan's city itself, at a pace that leaves your evenings free. Three days works if you merge the two temples into one long day. Anything longer should add Dieng, Solo or Mount Bromo.

Yogyakarta is the easiest place in Java to plan badly. The two big temples sit in opposite directions, the palace shuts in the early afternoon, the ballet runs only on certain nights, and the climb onto Borobudur is a timed ticket that sells out. Most short plans cram both temples and a volcano into one twelve-hour day and call the city done. This plan does the opposite. It gives each temple its own half day, puts Merapi where the morning light is, and lines the days up with the opening hours, so the only early alarm is the one you choose.

Who this trip is for, and who it is not

This route is for couples, friends and solo travellers who want Java's two great temples without a tour-bus schedule, for first-time visitors adding a cultural stop to a Bali trip, and for anyone arriving by train from Jakarta with four clear days.

It is not for travellers who want volcano sunrises above all, since those are in East Java: read 5 days in Yogyakarta and Mount Bromo instead. Families should use our 8-day Yogyakarta plan with kids, which is slower and built around shorter drives. If you have six days, Central Java with Dieng and Solo is the better use of them.

Trip at a glance

Duration: 4 days, 3 nights, all in Yogyakarta.

Route: Yogyakarta city, Borobudur, Mount Merapi, Prambanan, Yogyakarta city.

Pace: balanced. One half-day outing each day, with the city in between.

Best for: couples, friends, solo travellers, first visits to Java.

Best time: May to September is driest. The temples are open all year, and the wet season mostly costs you the Merapi view.

Budget: moderate. Temple tickets for foreign visitors are the big fixed cost, and almost everything else is cheap.

Logistics: easy. One hotel, no internal flights, and every outing is 40 to 90 minutes away.

Why this route makes sense

Borobudur is about 90 minutes north-west of the city, Prambanan about 40 minutes east and Merapi about an hour north. Doing all three in a day means roughly five hours in a car. Splitting them puts Borobudur alone on Day 2, when you are fresh enough to enjoy the reliefs, and pairs Merapi with Prambanan on Day 3, since both lie on the northern and eastern side and the ballet next to Prambanan starts after dark.

The city bookends the trip for a practical reason. The Kraton, the sultan's palace, admits visitors only until the early afternoon, so it cannot be an arrival-day stop unless you land early. Day 4 morning suits it better, and the flight or train out can leave later.

How many days do you need in Yogyakarta?

You need three full days at a minimum and four to do it comfortably. Two days covers Borobudur and Prambanan and nothing of the city. Three adds the palace quarter. Four adds Merapi and lets you see each temple at a sensible hour. Five or more only makes sense with a side trip.

DaysWhat fitsWhat you give upWho it suits
2 daysBorobudur and Prambanan in one long day, one evening in townThe Kraton, Merapi, any slackA stopover between Jakarta and Bali
3 daysBoth temples on separate half days, the Kraton and Taman SariMerapi, the ballet unless the night lines upShort trips with a fixed flight
4 daysEverything in this planDieng, Solo and the south coastMost first visits
5 to 6 daysThis plan plus Dieng, Solo or the Gunungkidul caves and beachesNothing, but you are now touring Central JavaSlow travellers and repeat visitors
Yogyakarta by number of days. A working judgement, not a rule.

Day 1: Arrive, settle in, and walk the old centre

Morning. Arrive in Yogyakarta. From Jakarta, the train takes most of a day and a flight about 1 hour 10 minutes: compare Jakarta to Yogyakarta trains and flights on 12Go, which listed more than 300 departures a day across trains, buses and flights when we checked in November 2026. From Bali, Bali to Yogyakarta flights on 12Go showed a fastest time of 1 hour 30 minutes.

Afternoon. If you land at Yogyakarta International Airport, code YIA, take the airport train to Tugu station in the centre. Indonesian press reports put the ride at about 35 to 40 minutes, with fares of Rp 20,000 on the regular service and Rp 50,000 on the express in recent years. Check in, then walk Jalan Malioboro south towards the palace walls.

Evening. Eat gudeg, the city's sweet jackfruit stew, then go to Alun-Alun Kidul, the southern square, where families ride lit-up pedal cars around two old banyan trees.

Base: Yogyakarta, 3 nights. Compare Yogyakarta hotels on Booking.com. Stay near Malioboro for the station and the palace, or in Prawirotaman for quieter streets and more cafes.

Booking logic: book the Borobudur ticket for tomorrow before you arrive, and arrange the car tonight. Your hotel can do it, or you can reserve a Yogyakarta private car charter on Klook for 6, 10 or 12 hours, which seats up to five.

Travel note: set up an Indonesia eSIM with Airalo before you fly. Ride-hailing apps are the simplest way around town and they need data.

Day 2: Borobudur, with the climb

Morning. Leave by 07:00 for Borobudur, about 90 minutes away. The official ticketing site lists the temple structure as open daily from 08:30 to 17:00, and its ticket includes access to the monument, a wristband, a guide and a pair of woven upanat sandals that you wear on the stone and keep. Take the first slot. The terraces have no shade, and by late morning the heat comes off the rock.

Afternoon. Stop at Mendut and Pawon, two small temples on the same ancient axis, a few minutes' drive away. Mendut holds a three-metre seated Buddha that many visitors find more moving than anything at the main site. Be back in the city by mid-afternoon and rest.

Evening. Free. Prawirotaman has the widest choice of restaurants, and Malioboro has street food and batik shops that stay open late.

Booking logic: the climb is the one ticket in this trip that can sell out. As a working estimate, 2026 guides put it at about IDR 455,000 for a foreign adult, with a daily cap reported at around 1,200 visitors. Buy it on the official site, or book a Borobudur climb and guided tour on Klook with hotel pick-up, and check that the option you choose includes access to the top. Fees change, so confirm the current price before you pay.

Travel note: dress with shoulders and knees covered. Large bags are not allowed on the structure, so leave them in the car.

Do you need a ticket to climb Borobudur in 2026?

Yes. Climbing onto Borobudur needs a timed ticket for the temple structure, bought ahead, which includes a guide and special sandals. The official ticketing site lists the cheaper grounds-only ticket for domestic visitors only, so foreign travellers should plan on the structure ticket. Sunrise on the temple is a separate, pricier ticket limited to 100 people a day.

The sunrise ticket is the detail most guides have not caught up with. The official site lists it daily at 04:00 for IDR 1,000,000 per international visitor, with a torch, sandals, a guide and breakfast at the Manohara restaurant included. It means leaving Yogyakarta at about 02:30, or sleeping near the temple the night before. The cheaper way to see dawn is from Punthuk Setumbu, a hill a few kilometres west, where you watch the temple emerge from the mist at a distance and then drive down for the first climbing slot.

OptionStartPriceWhat you getTrade-off
Temple structure ticketFrom 08:30, timed slotsAbout IDR 455,000, as a working estimateThe climb, a guide, upanat sandalsSells out in peak months, hot by late morning
Sunrise on the temple04:00IDR 1,000,000, per the official siteDawn on the monument, breakfast, 100 people a dayA 02:30 start from the city
Sunset on the templeLate afternoonListed on the official site, price shown at bookingEvening light, dinner, 100 people a dayYou return to the city late
Punthuk Setumbu hillAbout 04:30A small local entry feeThe temple in mist from a distanceYou are not on the temple itself
Ways to see Borobudur compared. Prices are for foreign adults, from the official ticketing site where stated and otherwise working estimates. Confirm before booking.

Day 3: Merapi by jeep, Prambanan at dusk, the ballet after dark

Morning. Drive about an hour north to Kaliadem, on the southern slope of Mount Merapi, and ride an open jeep across the 2010 eruption zone: a buried village, a bunker, a small museum in a ruined house. Go early, because cloud usually covers the summit by mid-morning. Jeeps are priced per vehicle and carry up to four. As a working estimate, routes run from about Rp 400,000 to Rp 650,000 depending on length. A Merapi Kaliadem private jeep tour on Klook adds the hotel transfer.

Afternoon. Have lunch on the way down, then reach Prambanan by about 15:30. The 9th-century Hindu complex is compact, and two hours is enough for the three main shrines and the reliefs that tell the Ramayana. As a working estimate, budget about IDR 400,000 for a foreign adult. If you have the energy, walk north through the park to Candi Sewu, a Buddhist temple that most visitors skip.

Evening. Watch the Ramayana ballet on the open-air stage with the lit temple behind it. The official schedule lists it on Tuesdays, Thursdays and Saturdays from 19:30 to 21:00, from May to December 2026. Resellers list seats from about IDR 150,000. Book a Ramayana ballet ticket on Viator, or let a Prambanan sunset and Ramayana ballet tour on Klook handle the car, the temple, dinner and a Class 1 seat in one booking.

Booking logic: fix this day first, on a Tuesday, Thursday or Saturday, and arrange the other days around it. From January to April 2026 the official schedule showed the Ramayana on Saturdays only, at an earlier hour, so check the calendar for your month.

Travel note: the official site says that if rain stops the show after the fire scene known as Anoman Obong, the performance counts as complete and tickets are not refunded. In the wet season, treat the ballet as a bonus.

Borobudur and Prambanan in one day, or two?

Take two days if you have four in the city. One day for both is possible and popular, but it means about four hours of driving, a climb in the midday heat at one of them, and no time for the ballet. Combine them only on a two or three-day visit.

If you do combine them, start with Borobudur at the first slot and finish at Prambanan in the late afternoon. A Borobudur climb and Prambanan day tour on Viator runs about eight hours with pick-up, and the listing we checked in November 2026 offered a sunrise option. The old combined ticket for the two temples has been reported discontinued for foreign visitors, so plan on paying for each site separately. For how the two differ, and which to pick if you only have time for one, see Borobudur vs Prambanan.

Day 4: The Kraton, Taman Sari and out

Morning. Be at the Kraton when it opens, at about 08:30. The sultan's palace is still a working court, and the visit is a walk through open pavilions, heirloom collections and courtyards where retainers in batik sit on duty. Guides put the foreign ticket at IDR 15,000 to 30,000. Then walk ten minutes to Taman Sari, the 18th-century water palace, with its bathing pools and an underground mosque built as a ring of stairways. Entry is about IDR 25,000.

Afternoon. If your departure is late, take a car to Kotagede, the old silver-working quarter, for its workshops and its narrow lanes, or use the time for batik on Jalan Tirtodipuran. Then head to Tugu station or the airport train.

Booking logic: the Kraton admits visitors only until the early afternoon, earlier on Fridays, and at least one guide lists it as closed on Mondays. If Day 4 falls on a Monday, swap it with Day 1 or Day 2.

Travel note: allow more time than you think for YIA. The airport is about 45 kilometres west of the city, and the road takes far longer than the train at busy hours.

How do you get around Yogyakarta without a tour?

Use a car with a driver for Borobudur and Merapi, the commuter train or a ride-hailing car for Prambanan, and ride-hailing apps or your feet inside the city. A full-day car costs far less than two tours for two people, and it lets you set the hours, which matters more here than anywhere else in Java.

The commuter line towards Solo stops at Brambanan station, roughly a kilometre and a half from the Prambanan gate, for a flat fare of IDR 8,000 according to 2026 timetable reports. Nothing as simple reaches Borobudur: public buses exist, but they take about two hours each way with a change, which costs you the first climbing slot.

SightBest wayTime each wayCostNotes
BorobudurCar with driverAbout 90 minutesCharter by the hour, shared across the carLeave by 07:00 for the first slot
PrambananCommuter train to Brambanan, or ride-hailing car20 to 40 minutesIDR 8,000 by trainThe ballet ends after the last convenient train, so book a car back
Merapi, KaliademCar with driver, then a local jeepAbout 60 minutesJeep priced per vehicleGo early for a clear summit
Kraton and Taman SariOn foot or by becak10 to 20 minutes from MalioboroSmall entry feesMornings only
YIA airportAirport train from Tugu35 to 40 minutesReported at Rp 20,000 to 50,000Road transfers are slower at peak hours
Getting to the main sights from central Yogyakarta, as working estimates

What to book early, and what to keep flexible

Book early: the Borobudur structure ticket, above all for the first slot and in July, August and Indonesian school holidays. Book the ballet a few days ahead in the dry season, and your three hotel nights as soon as your dates are fixed, since one base only works if it is in the right part of town.

Keep flexible: the Merapi jeep, which is easy to arrange the day before and worth moving if the forecast is poor. Also the car, the Kraton, Taman Sari and every meal. If you arrive by train, book that ahead around public holidays, when Java's trains sell out.

What mistakes do travellers make in Yogyakarta?

The most common mistake is assuming you can walk up Borobudur on the day. The climb is a capped, timed ticket. The others are booking both temples and Merapi as one day trip, saving the Kraton for an afternoon when it has already closed, and planning the ballet for a night with no show.

Other mistakes: staying only two nights, which turns the city into a car park between temples; visiting Merapi at midday, when the summit is in cloud; underestimating the distance to YIA; and expecting the temples to be cheap. Two foreign adults will spend well over IDR 1.5 million on the two main tickets alone, which is more than three nights in a good guesthouse.

What to cut, adapt or upgrade

Cut: with three days, drop Merapi, visit Prambanan on the afternoon of Day 1 if you arrive by noon, and keep Borobudur and the Kraton as they are. With two days, combine the temples and accept that you have seen the monuments, not the city.

Adapt: swap the Day 4 afternoon for Jomblang, a vertical cave in Gunungkidul where a shaft of light reaches the floor around midday. Places are limited and one operator listing asks for about IDR 700,000 in cash per person, so reserve ahead and treat that figure as a working estimate. If volcano sunrises are the point of your trip, continue east on our 7-day Yogyakarta and East Java route.

Upgrade: spend the night of Day 1 near the temple instead of in the city. Compare stays near Borobudur on Booking.com, take the 04:00 sunrise ticket on Day 2, and you will be on the monument at dawn with a hundred people instead of at 08:30 with several hundred.

Before you build this trip

Season: May to September is the dry season and the busiest. From November to March expect afternoon rain: plan outings for the morning and keep the ballet optional.

Merapi: this is one of Indonesia's most active volcanoes, and its alert level and exclusion zone change. Jeep routes are adjusted to match. Check the current status with Indonesia's volcanology agency before you go, and follow the operators if they shorten the route.

Money: carry rupiah in small notes for palaces, parking, becak and food stalls. Temple tickets and hotels take cards.

Getting in: see our guides to Jakarta to Yogyakarta and Bali to Yogyakarta for the train and flight options in detail.

Entry: Indonesia's visa on arrival rules apply wherever you first land. Our visa guide has the current costs, and you should check the latest official guidance before you fly.

Final verdict: is Yogyakarta worth four days?

Yes. Four days is the length at which Yogyakarta stops being a temple transfer and becomes a city you have actually stayed in. You see Borobudur at a cool hour, Prambanan in good light, a volcano up close and a living royal court, with one hotel and no flights. Add days only to leave town.

To add a volcano sunrise, read 5 days in Yogyakarta and Mount Bromo. To stay in the region and go deeper, see 6 days in Central Java with Dieng and Solo. For the whole island by rail, try 10 days in Java by train, and for more ideas in the city itself, our guide to things to do in Yogyakarta.

Before you go

Sort the practical side

Entry rules and a realistic budget before you book this trip.

Good to know

Frequently asked questions

How many days do you need in Yogyakarta?

Four days is the comfortable length: one each for Borobudur and for Merapi with Prambanan, plus two half days in the city. Three days works if you drop Merapi. Two days covers both temples in one long day and very little else.

Can you still climb Borobudur?

Yes, with a timed ticket for the temple structure, bought in advance. The official ticketing site says it includes a guide and upanat sandals, and lists the structure as open daily from 08:30 to 17:00. Numbers are capped, so book before you travel in peak months.

How much are Borobudur and Prambanan tickets for foreigners?

As a working estimate, budget about IDR 455,000 for the Borobudur structure ticket and about IDR 400,000 for Prambanan per foreign adult. The official site lists a sunrise ticket on Borobudur at IDR 1,000,000. Prices change, so confirm on the official ticketing site before you pay.

What days is the Ramayana ballet at Prambanan?

The official 2026 schedule lists the open-air Ramayana on Tuesdays, Thursdays and Saturdays from 19:30 to 21:00, from May to December. From January to April it showed Saturdays only, at an earlier time. Schedules change without notice, so check your dates.

Can you visit Borobudur and Prambanan in one day?

Yes. Start at Borobudur for the first climbing slot and reach Prambanan in the late afternoon. Expect about four hours of driving and a full day. With four days in Yogyakarta, splitting them is more comfortable and leaves room for the ballet.

How do you get from Yogyakarta airport to the city?

Take the airport train from YIA to Tugu station in the centre. Indonesian press reports put the journey at about 35 to 40 minutes, with fares of Rp 20,000 to Rp 50,000 depending on the service. By road the 45 kilometres can take much longer at busy hours.

What is the best time to visit Yogyakarta?

May to September is the dry season, with the clearest mornings for Merapi and the most reliable evenings for the open-air ballet. It is also the busiest period. The temples are open all year, and the wet season is workable if you plan outings for the morning.

Go deeper

Java guides

Keep exploring

Related itineraries

Share this itinerary