Viajá con Gus
Home › Indonesia › Yogyakarta
Yogyakarta
🇮🇩 Indonesia · Java

Yogyakarta

🪪 What do I need to enter Indonesia?Pick your citizenship and we tell you the visa, the days and the paperwork, with the official source.

By leaving your email and citizenship you agree to receive the documents you asked for and weekly travel news. You can unsubscribe whenever you want. How we handle your data.
Jump to what you need
📍Region
Yogyakarta (which locals affectionately call 'Jogja') is a city in south-central Java and the capital of a special region with a unique status in Indonesia: it is the only monarchy still governing within the republic, headed by the sultan, who is also the governor. With around 400.000 inhabitants in the city (and more than a million in its wider area), it is the great cultural heart of Java: the home of batik, dance, shadow puppetry (wayang) and gamelan music, and the perfect base for visiting the great temples of Borobudur and Prambanan.
📌Best time to visit
The best time to visit Yogyakarta is the dry season, from May to September, when there is less rain, clearer skies for temple sunrises and lower humidity; June to August is peak tourist season. The rainy season (November to March) brings heavy tropical downpours, especially in the afternoon. Yogyakarta is warm all year round (25-32 °C), so it's best to start your visits early, stay hydrated and rest during the hottest hours. The sunrises at Borobudur and Prambanan are especially magical in the dry season.
📌Suggested days
With 3 days you can make the most of Yogyakarta as a base: one day for the city (the sultan's palace or Kraton, the Taman Sari water castle, Malioboro street and the silversmith quarter of Kotagede), one day for Borobudur (ideally at sunrise) and one day for Prambanan plus the sunset or the Ramayana ballet. With 4 or 5 days you can add a jeep tour of Mount Merapi, the southern beaches (Parangtritis), the Pindul or Jomblang caves, or batik and silver workshops. Jogja is a destination that combines culture, temples and nature.
📌Getting there
Yogyakarta has a modern international airport, YIA (Yogyakarta International Airport, in Kulon Progo), about 40 km from the centre, linked to the city by train and bus. It is also a major rail hub: KAI trains connect Yogyakarta (Tugu and Lempuyangan stations) with Jakarta (about 6,5-8 h), Bandung, Solo, Surabaya and the rest of Java, a comfortable and scenic way to arrive. Many travellers combine Yogyakarta with Jakarta or with the East Java volcano circuit (Bromo, Ijen) by train or on a domestic flight with Garuda, Citilink or Lion Air.
📌Getting around
Central Yogyakarta, around Malioboro and the Kraton, is easy to explore on foot and in the traditional 'becak' (cycle rickshaws) and 'andong' (horse-drawn carriages), which are part of the city's charm (agree on the price before getting in). For longer distances, the most practical option is the Grab and Gojek apps (cars and motorbike taxis). There is a cheap, air-conditioned city bus network, Trans Jogja. For trips to Borobudur, Prambanan, Merapi or the beaches, the most comfortable option is a car with driver for the day, a tour, the DAMRI/KSPN bus or Grab for specific legs.
📌Language and currency
The language is Indonesian (bahasa Indonesia) and, locally, Javanese (basa Jawa); quite a lot of English is spoken in tourist areas. The currency is the Indonesian rupiah (IDR, Rp): in July 2026 the exchange rate is around 1 USD ≈ 18.000 Rp and 1 EUR ≈ 19.700 Rp (verified July 2026). Yogyakarta is one of the most affordable destinations in Java: street food for very little, cheap admission fees (except at Borobudur and Prambanan, which cost more for foreigners) and inexpensive transport. It's a good idea to carry cash for stalls, becaks, admission fees and buying batik and handicrafts.
💱 IDR exchange rate
Loading rate…
🌤️ Weather in Yogyakarta
Loading weather…

Yogyakarta is the soul of Java. On an island full of megacities and volcanoes, this city —Jogja to everyone— holds something different: it is Indonesia's last living kingdom, still ruled by a sultan, and the great storehouse of traditional Javanese culture. Batik, court dance, wayang kulit shadow puppetry and the hypnotic music of the gamelan were born here and are still alive. Walking around Yogyakarta, you feel the pulse of a refined, spiritual Java that lives side by side with the youthful energy of a big university city.

But if Yogyakarta draws travellers from all over the world, it is above all because of what lies around it. Less than an hour away stand two of the most extraordinary monuments on the planet: Borobudur, the largest Buddhist temple in the world, from the 9th century, ideal for watching the sunrise among stupas and volcanoes; and Prambanan, the majestic Hindu temple complex from the same period. Add to that the smoking Merapi volcano, the wild beaches of the south, underground caves and artisan villages. Jogja is the perfect base for all of it.

This guide covers the best of Yogyakarta and its surroundings with a practical, warm approach: what to see in the city (the sultan's palace, the water castle, bustling Malioboro street), how to organise trips to Borobudur and Prambanan, how to get around by becak, train or Grab, and where to eat delicious Javanese food. Jogja is best enjoyed without rushing: it's a city to go with the flow, learn, buy handicrafts and use as a springboard to the wonders of Central Java.

📖 History of Yogyakarta

Yogyakarta has its roots in the great Hindu-Buddhist kingdoms that flourished in Central Java between the 8th and 10th centuries, the same civilisation that built Borobudur and Prambanan. Centuries later, in 1755, the Treaty of Giyanti split the powerful Sultanate of Mataram and gave rise to the Sultanate of Yogyakarta, founded by Prince Mangkubumi, who took the title Hamengkubuwono I and built the palace (Kraton) that is still the heart of the city. Yogyakarta was a centre of resistance against Dutch colonial rule, especially during the Java War (1825-1830) led by Prince Diponegoro. Its finest hour came after independence: between 1946 and 1948 it was the capital of the young Republic of Indonesia, while Jakarta was in Dutch hands, and Sultan Hamengkubuwono IX firmly backed the revolution. In gratitude, Yogyakarta was granted a special status that allows it to keep its monarchy to this day. The full story is on our history page.

Read the full history ↓

🏛️ Yogyakarta is in Java

The political and cultural heart of Indonesia: home of Borobudur and the great Javanese empires, of the capital Jakarta and of a chain of volcanoes that defines the island.

Read the history of Java →

🗺️ What to see

Tours you can book

If you book from here we earn a commission and you pay no more. Prices and availability come from Civitatis.

1
Kraton (Sultan's Palace)
The royal palace where the sultan of Yogyakarta still lives, the spiritual and cultural heart of the city.
Leer más ↓
The Kraton Ngayogyakarta Hadiningrat is the sultan's palace and the symbolic heart of Yogyakarta. Built from 1755 onwards by the founder of the sultanate, Hamengkubuwono I, it is not a single building but a vast walled complex —almost a city within the city— of pavilions, courtyards and gardens, laid out according to Javanese cosmology on a sacred axis linking Mount Merapi to the north with the Southern Sea. It is the official residence of the current sultan, Hamengkubuwono X, who is also the governor of the region, so it remains a living palace, with its court, its rituals and its guards (the 'abdi dalem', palace servants in traditional dress). The part open to the public lets you see the main pavilions, with their ornate roofs, and a small museum of royal family objects: gamelan sets, carriages, portraits, diplomatic gifts, ceramics and mementos of Sultan Hamengkubuwono IX, the independence hero. On certain days there are performances of Javanese dance, gamelan music or wayang shadow puppetry inside the grounds, a great way to understand Java's court culture. Getting there: in the historic centre, south of Malioboro; on foot, by becak or by Grab. Best time: in the morning, when it opens and there are cultural performances; closed on Mondays or during special ceremonies (check). Tips: dress respectfully; the palace guides (abdi dalem) offer explanations in exchange for a tip; combine it with nearby Taman Sari.
ℹ️ Distance: Historic centre of Yogyakarta, south of Malioboro; on foot, by becak or Grab · Best time to visit: Morning (dance and gamelan schedule); check closing days · Admission: Approx. Rp 15.000 + camera fee Rp 1.000 (under USD 1); performances included depending on the day. Verified July 2026 · Duration: 1,5 to 2 hours
2
Taman Sari (Water Castle)
The sultan's former pleasure garden and bathing complex, with pools, tunnels and an underground mosque.
Leer más ↓
Taman Sari ('fragrant garden') was the pleasure garden and bathing complex of the sultans of Yogyakarta, built in the mid-18th century, shortly after the Kraton itself. It is one of the most photogenic and fascinating spots in the city: a set of pavilions, pools and canals in a style blending Javanese, Portuguese and European influences, designed as a place of rest, meditation and pleasure for the court, and also with a defensive role. In its day it was partly surrounded by water, like an island palace. The most famous part is the 'Umbul Pasiraman', the group of bathing pools with fountains where, according to tradition, the sultan and the women of the court bathed, with a tower from which the ruler looked on. But the most surprising part lies underground: a maze of tunnels and, above all, the 'Sumur Gumuling', a circular two-level underground mosque with a central staircase of five flights crossing beneath an opening to the sky, a space of extraordinary beauty and acoustics that has become iconic in photos of Yogyakarta. Today the complex is surrounded by a working-class neighbourhood (Kampung Taman) full of batik workshops and charming little lanes, well worth getting lost in. Getting there: a few minutes' walk from the Kraton; also by becak or Grab. Best time: early morning, with better light and fewer people. Tips: a local guide (offered at the entrance) helps you not miss the tunnels and the underground mosque; watch out for 'guides' who take you straight to batik shops to sell you something.
ℹ️ Distance: Next to the Kraton, historic centre; on foot or by becak · Best time to visit: Early morning (better light, fewer people) · Admission: Approx. Rp 15.000 + camera fee (under USD 1); local guide for a tip. Verified July 2026 · Duration: 1 to 1,5 hours
3
Malioboro Street
Yogyakarta's bustling shopping artery, ideal for buying batik and handicrafts and eating street food.
Leer más ↓
Malioboro is Yogyakarta's most famous street and the vibrant backbone of city life: a long boulevard running from the train station and the Tugu monument in the north to the northern square (Alun-Alun Utara) and the Kraton in the south, following the city's sacred axis. Day and night it is always lively, with pavements full of stalls, shops, street musicians and the coming and going of becaks and andong. It's the place to buy souvenirs: batik in every form (fabric, clothing, paintings), leather and wood crafts, wayang puppets, Kotagede silver and all kinds of keepsakes. Beyond shopping, Malioboro is a street-food feast, especially after dark, when the 'lesehan' set up, stalls where you eat sitting on mats on the ground, and where you must try the city's signature dish: gudeg, a sweet stew of young jackfruit cooked for hours in coconut milk, served with rice, egg and chicken. In recent years parts of the street have been pedestrianised and redesigned, making it more pleasant to stroll. Getting there: right in the centre; most tourist accommodation is on or near Malioboro, so you can walk; also by Trans Jogja and train. Best time: at sunset and at night for the atmosphere and food; during the day for shopping. Tips: bargain at the stalls (not in fixed-price shops), keep an eye on your belongings in the crowds and try gudeg at a lesehan.
ℹ️ Distance: Central Yogyakarta; walking distance from most accommodation and Tugu station · Best time to visit: Sunset and evening (atmosphere and street food) · Admission: Free (shopping and food according to budget). Verified July 2026 · Duration: An afternoon/evening
4
Kotagede, the silversmiths' quarter
The old capital of the Mataram kingdom, now famous for its handmade silver and Javanese houses.
Leer más ↓
Kotagede is a neighbourhood in south-east Yogyakarta with a history much older than the city itself: it was the first capital of the great Sultanate of Mataram, founded in the late 16th century, before the kingdom moved and later split into Yogyakarta and Surakarta (Solo). That's why Kotagede keeps the feel of a historic town, with narrow lanes, traditional Javanese houses (the 'joglo', with their distinctive high roofs), the royal tomb of the first kings of Mataram and an old mosque, all surrounding the kingdom's original core. Today Kotagede is best known for its silverwork. For generations its workshops have produced finely crafted silver jewellery and objects, and you can still visit workshops and shops to see the artisans at work, buy pieces or even take a short course. It's a quiet, authentic place, perfect for strolling away from the bustle of Malioboro, discovering Javanese architecture and taking home a quality souvenir. Getting there: in south-east Yogyakarta, about 15-20 minutes from the centre by Grab or becak. Best time: in the morning, when the workshops are busy. Tips: combine the silver workshops with a walk through the historic lanes and the royal tomb (which requires traditional dress, lent on site, to enter certain areas); ideal for anyone looking for authentic handicrafts.
ℹ️ Distance: South-east Yogyakarta, 15-20 min from the centre by Grab/becak · Best time to visit: Morning (silver workshops at work) · Admission: Walking around the neighbourhood is free; the royal tomb has set hours and dress requirements; silver workshops, buy as you wish. Verified July 2026 · Duration: 2 to 3 hours
5
Sonobudoyo Museum and Javanese culture (wayang and batik)
The city's best museum of Javanese art and culture, with wayang shadow puppet shows in the evenings.
Leer más ↓
The Sonobudoyo Museum, next to the northern square and steps from the Kraton, is the best place in Yogyakarta to understand the richness of Javanese culture. Housed in an elegant traditional-style building, it holds a remarkable collection of art and objects from Java and Bali: masks, kris (the ritual Javanese daggers with wavy blades, UNESCO Intangible Heritage), batik textiles, Hindu-Buddhist sculptures, gamelan instruments and, above all, a large collection of wayang puppets used in shadow theatre. Wayang is in fact one of the biggest draws: in the evenings the museum hosts performances of wayang kulit, the Javanese shadow theatre in which a puppeteer (dalang) works perforated leather figures behind a lit screen for hours, accompanied by a gamelan orchestra, telling episodes from the Hindu epics of the Ramayana and the Mahabharata. It's a hypnotic and very authentic experience, proclaimed a Masterpiece of the Oral and Intangible Heritage of Humanity by UNESCO. Yogyakarta is also the capital of batik, the wax-resist fabric dyeing technique that reaches its finest expression here; there are workshops and galleries all over the city where you can watch the process and buy authentic pieces. Getting there: in the centre, next to Malioboro and the Kraton; on foot. Best time: daytime for the museum, evening for wayang (check performance times). Tips: you don't need to understand the language to enjoy wayang; arrive early to get a good seat.
ℹ️ Distance: Central Yogyakarta, next to the northern square and the Kraton; on foot · Best time to visit: Daytime for the museum; evening for wayang kulit performances · Admission: Museum admission inexpensive (approx. Rp 10.000-15.000); wayang kulit performance with separate, affordable ticket. Verified July 2026 · Duration: 1,5 to 2 hours (longer if you see the wayang)
6
Mount Merapi (jeep tour)
Indonesia's most active volcano, explored by jeep across its slopes and the villages hit by its eruptions.
Leer más ↓
Mount Merapi ('mountain of fire') is Indonesia's most active volcano and a constant presence on Yogyakarta's horizon, north of the city. Almost 3.000 metres high, it erupts frequently: its 2006 eruption and, above all, the devastating one in 2010, which killed hundreds of people and forced tens of thousands to evacuate, are still very much alive in the region's memory. For the Javanese, Merapi is also a sacred mountain, tied to the spiritual axis running through Yogyakarta. The most popular way to see it is the 'Merapi Lava Tour', a 4x4 jeep trip across the volcano's southern slopes through villages and landscapes affected by the 2010 eruption: houses buried in ash, rivers of volcanic rock, a small museum of objects melted and fused by the heat (the 'Museo Sisa Hartaku', 'what remains of my belongings'), bunkers and viewpoints looking out on the smoking cone. It's an experience that mixes adventure, lunar landscapes and the memory of disaster, ideally done at sunrise. Since the volcano is active and monitored, routes are adjusted to whatever safety zone is permitted at the time. Getting there: tours start from Kaliurang / Kinahrejo, north of the city, about 45-60 minutes away; reach it by Grab or with the tour itself. Best time: sunrise, in the dry season, for better views of the cone. Tips: book your jeep in advance in high season; bring a warm layer (it's cool up there), a scarf for the dust and shoes you don't mind getting dirty.
ℹ️ Distance: Southern slopes of Merapi (Kaliurang/Kinahrejo), 45-60 min north of Yogyakarta · Best time to visit: Sunrise, dry season (best views of the cone) · Admission: Merapi Lava Tour by jeep approx. Rp 350.000-600.000 per jeep (up to 4 people), USD 19-33; viewpoints/museums extra. Verified July 2026 · Duration: Half day (tour 2,5 to 4 h)
7
Yogyakarta is the ideal starting point for the two great temples: Buddhist Borobudur and Hindu Prambanan.
Leer más ↓
Although they are destinations in their own right, you can't talk about Yogyakarta without its two nearby jewels: Borobudur and Prambanan, both World Heritage Sites and less than an hour from the city. Most travellers use Jogja as a base to visit them, and organising these trips well is key to the journey. Borobudur, the largest Buddhist temple in the world, from the 9th century, lies about 40 km north-west, towards Magelang. It's famous for its sunrises among stupas and volcanoes, and since 2024 climbing the temple structure requires advance booking with limited places, a mandatory guide and special sandals (Upanat) to protect the stone. Prambanan, the great Hindu temple complex from the same period, is about 17 km east, on the road to Solo, and is spectacular at sunset; next to it, in season, the Ramayana ballet is performed with the illuminated temple as a backdrop. You can reach both on an organised tour, by car with driver, or by public transport: the DAMRI bus links central Yogyakarta with Borobudur (about Rp 35.000), and there are KSPN and Trans Jogja routes to Prambanan. How to plan it: Borobudur at sunrise one day, Prambanan at sunset another (or both in one long day if you're short on time). Best time: dry season for the sunrises. Tips: book Borobudur in advance; see our dedicated Borobudur and Prambanan pages for details on tickets, opening hours and how to climb.
ℹ️ Distance: Borobudur ~40 km (NW); Prambanan ~17 km (E); tour, car, DAMRI or KSPN · Best time to visit: Dry season; Borobudur at sunrise, Prambanan at sunset · Admission: Temple tickets extra (Borobudur and Prambanan, more expensive for foreigners); see our dedicated guides. DAMRI bus to Borobudur ~Rp 35.000. Verified July 2026 · Duration: One day per temple (or both in one long day)
📶I have never landed without internet. I arrive and my phone connects to the strongest network in the country I am visiting: I can say I landed, sort out transport, book tours and keep posting, at a seriously good price. I always use the Maya eSIM — check their plans by clicking the banner.See plans →Maya Mobile eSIM — skip roaming fees, unlimited data
What nobody tells you

💵 Prices

Tickets

TypePrice
Kraton (Palacio del Sultán)Approx. Rp 15.000 + camera Rp 1.000 (under USD 1); cultural performances depending on the day. Verified July 2026
Taman Sari (Castillo de Agua)Approx. Rp 15.000 + camera fee (under USD 1); local guide for a tip. Verified July 2026
Calle MalioboroFree (shopping and food according to budget). Verified July 2026
Museo SonobudoyoInexpensive admission approx. Rp 10.000-15.000; wayang kulit performance extra. Verified July 2026
Merapi Lava Tour (jeep 4x4, hasta 4 personas)Approx. Rp 350.000-600.000 per jeep (USD 19-33); viewpoints/museums extra. Verified July 2026
Borobudur (extranjeros, ver guía dedicada)Grounds access/temple climb from approx. Rp 412.500-455.000 (USD 23-25); advance booking. Verified July 2026
Prambanan (extranjeros, ver guía dedicada)Approx. Rp 400.000 adults (USD 22); Rp 250.000 children. Verified July 2026
🔄 updated monthlyOfficial / reference values · double-check when buying

Activities and tours

ActivityPriceDurationOperator
Day tour to Borobudur and Prambanan with guide and transportUSD 40-90 per person depending on group, 2026Full dayYogyakarta agencies (verify)
Merapi Lava Tour by jeep at sunriseRp 350.000-600.000 per jeep (up to 4 people), 2026Half dayKaliurang operators (verify)
Batik workshop (learn the wax technique)USD 15-35 per person, 20262 to 4 hCity batik workshops (verify)
Ramayana Ballet at Prambanan (with the temple illuminated)From Rp 150.000-450.000 depending on seating (USD 8-25), in season, 20262 h (evening)Prambanan / Purawisata (verify)
Trip to Jomblang or Pindul caves (tubing)USD 25-70 per person depending on cave and tour, 2026Half day / full dayGunungkidul operators (verify)
Trip to the southern beaches (Parangtritis, Timang)USD 20-50 per person with transport, 2026Half day / full dayLocal agencies and drivers (verify)
🔄 updated monthlyOfficial / reference values · double-check when buying

🚌 How to get there and distances

Getting around

Grab and Gojek (app-based cars and motorbike taxis)
DurationVariable
Price
From Rp 10.000-35.000 for trips around town; motorbike taxis are cheaper, 2026
Notes
The most practical and affordable way to get around: the app gives you a fixed price. Also handy for trips to Kotagede, the foot of Merapi or Prambanan
Becak (pedicab) and andong (horse-drawn carriage)
PriceRp 20.000-50.000 for short trips, negotiable, 2026
DurationVariable
Notes
The traditional pedal pedicabs and horse-drawn carriages are part of Jogja's charm, ideal around Malioboro and the centre. Always agree on the price before you get in; some offer 'cheap tours' that end up at shops
Trans Jogja (city bus)
PriceApprox. Rp 3.600-4.000 per trip, 2026
DurationVariable
Notes
A network of air-conditioned city buses on fixed routes around town; cheap and comfortable, and some lines reach Prambanan. You pay by card or cash depending on the line
Car with driver for the day
PriceRp 500.000-900.000 (USD 28-50) depending on hours and route, 2026
DurationVariable
Notes
The most comfortable option for trips to Borobudur, Prambanan, Merapi and the southern beaches, which are spread out. Book through your hotel or local agencies
DAMRI bus and KSPN routes (to the temples)
Duration1 h to Borobudur
Price
DAMRI to Borobudur ~Rp 35.000; KSPN routes Malioboro-Prambanan-Borobudur, 2026
Notes
The DAMRI bus links the centre (next to Malioboro/Titik Nol) with Borobudur, with about 4 departures a day; KSPN routes connect Malioboro with Prambanan and Borobudur. Check timetables
🔄 updated monthlyOfficial / reference values · double-check when buying

How to get there

RouteAirlines / operatorsAvg. priceDuration
YIA Airport (Yogyakarta) → centre (train or bus)KAI Bandara train and DAMRI/Trans Jogja busesTrain approx. Rp 20.000-50.000; DAMRI bus similar, 2026Train ~40 min to the city; bus 1-1,5 h
Jakarta → Yogyakarta by train (KAI)KAI (executive and economy trains) to Tugu and Lempuyangan stationsFrom Rp 200.000 (economy) to Rp 600.000+ (executive), 2026About 6,5 to 8 h
Surabaya / Malang → Yogyakarta by train (KAI)KAI (East Java trains)From Rp 150.000-400.000 depending on class, 2026About 4,5 to 6 h
Yogyakarta → Bromo / Ijen (East Java)KAI train to Probolinggo/Banyuwangi + transfer, or combined toursDepends on the leg; multi-day tours from USD 100+, 2026Several hours / several days
Domestic flightsGaruda Indonesia, Citilink, Lion Air, Batik Air (to Jakarta, Bali, etc.)From USD 40-90 depending on route and how far ahead you book, 2026Depends on destination
🔄 updated monthlyOfficial / reference values · double-check when buying

🏨 Where to stay

No exact prices: a scale from $ (budget) to $$$$$ (luxury), with 2-3 options per category.

Luxury and signature boutique
Price$$$$$
Recommended options
USD 90-250+ per night (about Rp 1,6-4,5 million), 2026; five-star hotels and design boutiques, some inspired by Javanese architecture or set beside rice fields, with spa and pool. You'll find them both in the city and out towards the temples
Mid-range in the centre (near Malioboro)
Price$$$$$
Recommended options
USD 30-70 per night (about Rp 540.000-1,3 million), 2026; a wide choice of modern, comfortable hotels near Malioboro and the Kraton, ideal for getting around on foot. Excellent value for money
Javanese charm (traditional houses and B&Bs)
Price$$$$$
Recommended options
USD 45-100 per night (about Rp 810.000-1,8 million), 2026; charming boutique hotels and guesthouses in Javanese houses (joglo), with gardens and traditional decor, for a more authentic experience. Perfect for soaking up the local culture
Budget / hostels (Prawirotaman and Sosrowijayan)
Price$$$$$
Recommended options
USD 6-18 per person in dorms; USD 15-35 for budget private rooms (Rp 270.000-630.000), 2026. Jogja is a great backpacker destination: the Prawirotaman and Sosrowijayan neighbourhoods are packed with cheap hostels and guesthouses, with a good traveller vibe and close to the centre

🍴 Where to eat

Cocina javanesa (gudeg, nasi/ayam, tempeh)
Price$$$$$
Options / signature dish
Rp 20.000-70.000 per meal (USD 1,10-3,90), 2026. Jogja's signature dish is gudeg (young jackfruit stewed in coconut milk, sweet and flavourful), served with rice, egg and chicken, a classic at the Malioboro lesehan. Also fried rice, tempeh and mild, slightly sweet Javanese dishes
Comida callejera y lesehan (esteras en el suelo)
Price$$$$$
Options / signature dish
Rp 10.000-40.000 per dish (USD 0,55-2,20), 2026. When night falls, Malioboro and other streets fill up with stalls where you eat sitting on mats: gudeg, sate, gorengan (fritters), bakmi. Dirt cheap, tasty and full of atmosphere
Restaurantes con encanto y vista a arrozales
Price$$$$$
Options / signature dish
Rp 80.000-250.000 per person (USD 4,40-14), 2026. On the outskirts and out towards the temples there are restaurants with gardens, rice fields or volcano views, good for a calmer, more polished meal, often with gamelan music
Cafés de especialidad (escena joven de Jogja)
Price$$$$$
Options / signature dish
Coffee Rp 25.000-55.000; snacks from Rp 20.000 (USD 1,10-3), 2026. As a university city, Jogja has a creative and affordable café scene, with stylish spots that are ideal for escaping the heat and trying Indonesian coffee from the region

📖 History of Yogyakarta

Origins, formation and what the sources say.

The heart of Java's Hindu-Buddhist kingdoms (8th-10th centuries)

The Yogyakarta region holds some of the deepest roots of Javanese civilisation. On the fertile Kedu Plain, between the Merapi and Merbabu volcanoes, one of the most brilliant cultures of Southeast Asia flourished between the 8th and 10th centuries: the ancient kingdom of Mataram (Mataram Kuno), ruled by dynasties such as the Buddhist Sailendra and the Hindu Sanjaya. It was this civilisation, made immensely rich by rice and trade, that built the two monuments that make the area famous today: the great Buddhist temple of Borobudur and the Hindu complex of Prambanan, both less than an hour from present-day Yogyakarta.

Central Java back then was a mosaic of kingdoms where Hinduism and Buddhism, which had arrived from India, blended with local beliefs to create a sophisticated culture, with monumental architecture, its own script and a refined court. For reasons still debated (perhaps volcanic eruptions, epidemics or political change), around the 10th century the centre of power moved to eastern Java, and the Kedu Plain slipped into the background for centuries, its great temples gradually covered by jungle and ash.

That Hindu-Buddhist heritage, however, was never fully erased: it remained carved in the stone of the temples and in the Javanese cultural bedrock, with its Ramayana and Mahabharata epics, which are still alive today in wayang shadow puppetry and in dance. Yogyakarta is, in a sense, the modern heir to that ancient splendour.

From the Mataram Sultanate to the founding of Yogyakarta (1755)

The Yogyakarta we know was born from the division of an empire. In the late 16th century the Mataram Sultanate arose in Central Java, a powerful Islamic kingdom that came to dominate much of Java under rulers such as Sultan Agung, and whose first capital was at Kotagede, today a neighbourhood of Yogyakarta. Over time, however, internal succession struggles and the growing interference of the Dutch East India Company (VOC) weakened and fragmented the kingdom.

The breaking point came in 1755 with the Treaty of Giyanti, a Dutch-brokered agreement that split old Mataram in two: the Surakarta Sunanate (Solo) and the new Yogyakarta Sultanate. The latter went to Prince Mangkubumi, a rebel leader who had fought for years and who took the title of Sultan Hamengkubuwono I. That same year he founded his new court and began building the Kraton, the great palace that is still the heart of the city, laid out according to Javanese cosmology along a sacred axis linking Mount Merapi with the Southern Sea.

This is how Yogyakarta was born as the capital of a sultanate, with its palace, its Taman Sari water castle, its squares and its court life. From the start it was a centre of Javanese culture (dance, batik, gamelan, wayang) and, at the same time, a focus of pride and resistance against the colonial power growing around it.

The Java War and Prince Diponegoro (1825-1830)

The 19th century pitted Yogyakarta against the full force of colonialism. Growing Dutch pressure on land, taxes and court life caused deep discontent. The explosion came from a member of Yogyakarta's own royal house: Prince Diponegoro, the eldest son of a sultan, a deeply religious man who was critical of the court's decadence and of European interference.

In 1825 Diponegoro took up arms and sparked the Java War (Perang Diponegoro), the bloodiest and most costly conflict in the entire history of Dutch colonial rule in the archipelago. For five years his followers waged a guerrilla war across Central Java, with a strong religious and popular dimension. The war ended in 1830, when Diponegoro was treacherously captured during negotiations under a flag of truce and sent into exile; he died years later in Celebes (Sulawesi). The conflict left hundreds of thousands dead, mostly from famine and disease, and devastated Central Java.

Over time Diponegoro became one of Indonesia's great national heroes, a symbol of resistance against colonialism. After the war the Dutch tightened their control and curtailed the power of the sultanates, but Yogyakarta kept its royal house and its identity, and remained the great stronghold of Javanese culture throughout the colonial period.

Capital of the revolution: Yogyakarta and independence (1946-1949)

Yogyakarta's finest hour came with the birth of Indonesia. After independence was proclaimed in 1945 and the Dutch tried to retake their colony, the young republic found itself in a desperate situation: in 1946, with Jakarta increasingly unsafe and under pressure, the republican government moved its capital to Yogyakarta. For almost three years, between 1946 and 1948, this city was the de facto capital of Indonesia and the nerve centre of the revolution.

The sultan's role was decisive. Hamengkubuwono IX, the ruler of Yogyakarta, backed the republican cause wholeheartedly: he put his palace and his resources at the service of the revolution, protected the fighters and refused to collaborate with the Dutch. When Dutch troops occupied Yogyakarta in December 1948 and captured the republican leaders (Sukarno and Hatta), the resistance did not stop. In March 1949, in the famous 'Serangan Umum' (the General Offensive of 1 March), Indonesian guerrilla forces, with the sultan's backing, took the city by surprise for six hours. It was a brief blow in military terms but had an enormous impact: it showed the world that the republic was still alive and stepped up the international pressure that would lead to the recognition of independence at the end of 1949.

In gratitude for that crucial role, the new Indonesia granted Yogyakarta a unique political status as a Special Region, which allows it to keep its monarchy. That is why, to this day, the Sultan of Yogyakarta is also, by right, the governor of the region, a case unmatched anywhere else in the republic.

Jogja today: living culture, volcanoes and heritage

Yogyakarta entered the 21st century true to its dual identity: guardian of Javanese tradition and, at the same time, a young and dynamic city. It is one of Indonesia's great university centres, with tens of thousands of students who give it a very particular creative, artistic and coffee-shop energy. Meanwhile the Kraton still stands, home to Sultan Hamengkubuwono X, and cultural life (batik, dance, gamelan, wayang) continues to be passed down from generation to generation. In 2023 the city's cosmological axis, which links Merapi, the Kraton and the Southern Sea, was recognised by UNESCO as a World Heritage Site, joining Borobudur and Prambanan, which were already on the list.

But living at the foot of Merapi, the country's most active volcano, comes at a price. The region has suffered recent disasters: the major Merapi eruption of 2010, which killed hundreds of people and forced mass evacuations, and the devastating earthquake of May 2006, which struck the Yogyakarta and Bantul area, leaving more than five thousand dead and tens of thousands of homes destroyed. Used to living with the force of the earth, the city rebuilt with remarkable resilience, and today the volcano itself is a tourist attraction, with jeep tours across its affected slopes.

Today Yogyakarta is one of Indonesia's best-loved destinations: a base for the great temples, the capital of Javanese culture, a city of students, craftspeople and good food, and the last living kingdom in the republic. Like few other places, Jogja combines the depth of more than a thousand years of history with the pulse of a city that looks ahead.

📚 Bibliography

  • Wikipedia (ES) — «Yogyakarta»: https://es.wikipedia.org/wiki/Yogyakarta
  • Wikipedia (EN) — «Yogyakarta»: https://en.wikipedia.org/wiki/Yogyakarta
  • Wikipedia (EN) — «Yogyakarta Sultanate»: https://en.wikipedia.org/wiki/Yogyakarta_Sultanate
  • Wikipedia (EN) — «Treaty of Giyanti»: https://en.wikipedia.org/wiki/Treaty_of_Giyanti
  • Wikipedia (EN) — «Java War»: https://en.wikipedia.org/wiki/Java_War
  • Wikipedia (EN) — «Special Region of Yogyakarta»: https://en.wikipedia.org/wiki/Special_Region_of_Yogyakarta
  • Wikipedia (EN) — «Hamengkubuwono IX»: https://en.wikipedia.org/wiki/Hamengkubuwono_IX
  • Wikipedia (EN) — «Medang Kingdom»: https://en.wikipedia.org/wiki/Medang_Kingdom
  • Wikipedia (EN) — «2006 Yogyakarta earthquake»: https://en.wikipedia.org/wiki/2006_Yogyakarta_earthquake
  • UNESCO — «The Cosmological Axis of Yogyakarta»: https://whc.unesco.org/en/list/1671/

❓ Frequently asked questions

How many days do I need in Yogyakarta?+
3 days lets you make the most of it: one day for the city (the Kraton or Sultan's palace, the Taman Sari water castle, Malioboro street and Kotagede), one day for Borobudur (ideally at sunrise) and one day for Prambanan plus the sunset or the Ramayana ballet. With 4 or 5 days you can add the Merapi jeep tour, the southern beaches, the Pindul or Jomblang caves, and batik and silver workshops. Jogja combines culture, temples and nature.
How do I get to Borobudur and Prambanan from Yogyakarta?+
Both are less than an hour away. Borobudur (about 40 km northwest) can be reached on a tour, by car with driver, or on the DAMRI bus from the centre (about Rp 35.000, with 4 departures a day). Prambanan (about 17 km east) can be reached on a tour, by car, by Grab or even on the Trans Jogja bus. Many people do Borobudur at sunrise one day and Prambanan at sunset another. Remember that climbing the Borobudur structure requires booking ahead and is subject to a quota. Check out our dedicated guides to each temple.
What is the best time to visit Yogyakarta?+
The dry season, from May to September (peaking June to August), with less rain, clear skies for sunrise at the temples and lower humidity. The rainy season (November to March) brings heavy afternoon downpours. Either way, Jogja is warm all year round (25-32 °C), so it's best to start your visits early and rest during the hottest hours. Borobudur sunrises are especially magical in the dry season.
How do I get around Yogyakarta?+
The centre (Malioboro and the Kraton) can be explored on foot and in the traditional becaks (pedicabs) and andong (horse-drawn carriages), agreeing on the price before you get in. For longer distances, Grab and Gojek are the most practical (cars and motorbike taxis with fixed prices). There are Trans Jogja city buses, cheap and air-conditioned. For trips to the temples, Merapi or the beaches, a car with driver for the day, a tour or the DAMRI/KSPN bus is the way to go.
Why does Yogyakarta have a sultan and a special status?+
Yogyakarta is the only monarchy that survives within the Republic of Indonesia. The Yogyakarta Sultanate was founded in 1755 and its palace (Kraton) is still home to the current sultan, Hamengkubuwono X, who is also the governor of the region. This special status comes from the key role Yogyakarta played in independence: between 1946 and 1948 it was the capital of the young republic and the sultan firmly backed the revolution, so he was granted the right to keep his monarchy.
What local food should I try in Jogja?+
The signature dish is gudeg: young jackfruit stewed for hours in coconut milk, sweet and flavourful, served with rice, egg, chicken and chilli sauce. The best place to try it is at the Malioboro lesehan, where you eat sitting on mats on the ground. Sate, tempeh, nasi goreng and Javanese sweets are also well worth it. As everywhere in Indonesia, the food is tasty and very cheap (dishes from Rp 10.000-40.000).

More places in Indonesia

SeminyakUbud (Bali)BandungBorobudurLago TobaFlores
See every place in Indonesia →The history of Indonesia →
Sources consulted (17)
Still planning?
Explore more destinations in Indonesia
See all destinations →