A white and gold obelisk on a traffic island, with tiled shophouse roofs, motorcycles and cars behind under a cloudy sky

Java, Indonesia

Yogyakarta

The Tugu monument at the crossroads north of the kraton, one of Yogyakarta's landmarks. (CEphoto, Uwe Aranas / Wikimedia Commons · CC BY-SA 3.0)

A sultan's city on the plain between Mount Merapi and the south coast of Java, and the only part of Indonesia still governed by its hereditary ruler. It grew around the kraton built in 1755, served as the republic's capital during the war with the Dutch, and is now a university town known for batik, gamelan, silverwork and the temples of the surrounding plain.

Neighbourhoods

  • The kraton quarter
    • First-time visitors
    • Historic district
    • Arts and culture

    The walled palace district at the heart of the city, with the sultan's kraton, the two alun-alun squares, the Taman Sari water castle and the artisan lanes of Kauman and Taman Sari around them. Streets are narrow, low-built and busy with pedicabs, and batik and silver workshops sit among ordinary houses.

    Open in Maps
  • Malioboro and Sosrowijayan
    • First-time visitors
    • Best for food
    • Close to public transport

    The main shopping street running north from the palace to the Tugu monument, with Beringharjo market, Fort Vredeburg and the railway station along it. The lanes of Sosrowijayan behind it hold cheap guesthouses, warungs and travel agents, and the pavements fill with stalls at night.

    Open in Maps
  • Prawirotaman
    • Cafés and bars
    • Quiet and residential

    A pair of streets south-east of the kraton that have become the city's guesthouse and café quarter, lined with small hotels, batik shops and restaurants aimed at long-staying visitors. Quieter than Malioboro and within walking distance of the palace.

    Open in Maps
  • Kotagede
    • Historic district
    • Crafts

    The former capital of the Mataram sultanate, a few kilometres south-east, with a walled royal graveyard, an old mosque, narrow lanes of Javanese and colonial houses and generations of silversmiths' workshops.

    Open in Maps
  • Gejayan and the university district
    • Students and nightlife
    • Best for food

    The northern suburbs around Gadjah Mada University and several other campuses, where much of the city's student population lives. Cheap eating houses, bookshops, coffee places and music venues fill the streets, and the atmosphere is young and informal.

    Open in Maps
  • Kaliurang and the Merapi slopes
    • Cool air
    • Quiet and residential

    The hill resort area north of the city on the flank of Mount Merapi, noticeably cooler, with older villas, guesthouses and views of the volcano when the cloud lifts.

    Open in Maps

Things to do

The kraton and the old city

  • Kraton Ngayogyakarta Hadiningratlandmark

    The sultan's palace, begun in 1755, a series of pavilions and courtyards still used as a royal residence and court, with daily performances of gamelan, dance and wayang in its halls.

    Open in Maps
  • Taman Sarilandmark

    The 18th-century pleasure garden of the sultans, with bathing pools, gates and an underground mosque with a circular staircase, now surrounded by a dense kampung.

    Open in Maps
  • Fort Vredeburgmuseum

    A Dutch colonial fort of the 1760s facing the palace, now a museum of the independence struggle with dioramas and period rooms.

    Open in Maps
  • Tugu Yogyakartalandmark

    The white and gold pillar at the northern crossroads, rebuilt in 1889 and aligned on the axis between Merapi, the kraton and the southern sea.

    Open in Maps
  • Pakualamanlandmark

    The smaller princely court of the city, with its own palace, mosque and square east of the centre.

    Open in Maps

Museums and galleries

  • Sonobudoyo Museummuseum

    The city's main museum of Javanese art and archaeology, with a large collection of wayang puppets, masks, kris daggers and gamelan instruments.

    Open in Maps
  • Affandi Museummuseum

    The riverside house, studio and gallery of the expressionist painter Affandi, built in curving forms under a banana-leaf roof.

    Open in Maps
  • Ullen Sentalu Museummuseum

    A guided museum of Javanese court culture at Kaliurang on the Merapi slopes, known for its batik and its portraits of the royal families.

    Open in Maps

Markets and crafts

  • Beringharjo Marketmarket

    The city's best-known traditional market, trading on the same site since 1758, at the southern end of Malioboro, with floors of batik cloth, spices, dried goods, snacks and second-hand wares.

    Open in Maps
  • Jalan Malioboroneighborhood

    The main street of Yogyakarta, lined with shops, batik sellers and pavement stalls, and closed to traffic at times for pedestrians.

    Open in Maps
  • Kotagedeneighborhood

    The old Mataram capital and the centre of Javanese silverwork, where small workshops still hammer and engrave pieces by hand.

    Open in Maps

Parks and green spaces

  • Gembira Loka Zoopark

    A large zoo and garden on the Gajah Wong river east of the centre, opened in the 1950s and a popular family outing.

    Open in Maps

Short trips from the city

  • Borobudurlandmark

    The largest Buddhist monument in the world, built around the 9th century on the Kedu plain, with reliefs and stupas rising in terraces; access to the upper levels is limited and made with a guide.

    Open in Maps
  • Prambananlandmark

    A 9th-century Hindu temple compound east of the city, its tall candi dedicated to Shiva, Vishnu and Brahma, and a UNESCO World Heritage Site.

    Open in Maps
  • Ratu Bokolandmark

    A hilltop complex of gates, terraces and bathing places south of Prambanan, looking out over the plain towards Merapi.

    Open in Maps
  • Mount Merapiviewpoint

    The most active volcano in Indonesia, rising north of the city, with jeep tracks and viewpoints on the lower slopes and a long record of eruptions.

    Open in Maps
  • Imogirilandmark

    The hilltop royal graveyard of the Mataram sultans, reached by a long flight of steps, where court dress is worn by those entering the tombs.

    Open in Maps
  • Parangtritisbeach

    The city's nearest beach on the Indian Ocean, with black sand and dunes; the surf is dangerous and associated with the legend of the sea goddess.

    Open in Maps
  • Plaosanlandmark

    A pair of 9th-century Buddhist temples in the fields near Prambanan, quieter than their neighbours.

    Open in Maps

Seasonal events

  • Sekatenthe month of Mawlid in the Islamic calendar

    A palace festival marking the birth of the Prophet, when two old gamelan sets are played at the grand mosque and a fair fills the northern square.

  • Grebeg processionsat Mawlid and the major Islamic festivals

    Palace guards escort mountains of rice, vegetables and cakes out of the kraton to the mosque, where crowds scramble for portions.

  • Vesak at BorobudurMay, at the full moon

    Buddhist pilgrims walk between Mendut, Pawon and Borobudur for the observance of the Buddha's birth, enlightenment and death.

  • Yogyakarta Art Festivalmid-year

    A city arts festival of exhibitions, dance, music and street performance, held annually since 1989.

  • Ramadan and Idul Fitrivaries with the Islamic calendar

    The fasting month changes the rhythm of the city, and the holiday that ends it empties campuses and fills every train and road with people travelling home.

Eat and drink

Long-standing places and food districts in Yogyakarta. Hours, ratings and directions come from your maps app, always current.

Yogyakarta classics

  • Gudegrestaurant

    The city's dish — young jackfruit simmered for hours with palm sugar, coconut milk and teak leaves until dark and sweet, served with rice, egg, chicken and krecek, a spiced stew of beef skin. A row of specialists sits along Jalan Wijilan by the palace wall.

    Open in Maps
  • Angkringan and kopi josscafe

    Handcart stalls with mats on the pavement serving nasi kucing, small parcels of rice with a spoonful of topping, skewers and coffee; near the station a glowing lump of charcoal is dropped into the glass.

    Open in Maps
  • Bakpiarestaurant

    Small round pastries filled with sweetened mung bean, cheese or chocolate, baked in the Pathok district west of Malioboro and carried home by visitors by the boxful.

    Open in Maps

Markets and food streets

  • Beringharjo Marketmarket

    Snack stalls, jamu sellers and cooked-food counters among the cloth and spice traders in the city's main market.

    Open in Maps
  • Malioboro street stallsneighborhood

    Pavement stalls and lesehan mats along the main street selling fried chicken, noodles, satay and grilled fish into the night.

    Open in Maps
  • The student eating houses of Gejayanneighborhood

    Cheap warungs, coffee shops and noodle stalls around the northern campuses, where the city eats for very little.

    Open in Maps

Experience Yogyakarta

History

Yogyakarta was founded in 1755, when the Treaty of Giyanti split the Mataram sultanate in two and Prince Mangkubumi, taking the title Hamengkubuwono I, built a new kraton on the plain between Merapi and the southern sea. The palace, its walls, the two squares and the great mosque were laid out on a north–south axis that still organises the city. A second, smaller princely house, the Pakualaman, was created under British rule in 1813.

The city was at the centre of the Java War of 1825 to 1830, led by Prince Diponegoro, a member of the Yogyakarta royal family, against Dutch authority; his defeat left the courts with ceremonial prestige but little power, and the Dutch built Fort Vredeburg opposite the palace to keep watch on them. Sugar mills, a railway and colonial schools followed in the 19th century, and by the early 20th century Yogyakarta had become a centre of Indonesian nationalist education and of the Muhammadiyah reform movement, founded in the Kauman district in 1912.

When the Dutch reoccupied Jakarta after 1945, the republic moved its capital here, and the city was the seat of government from 1946 until 1948; Sultan Hamengkubuwono IX put the court's authority and finances behind the republic. In return Yogyakarta was made a Special Region with the sultan as its hereditary governor, an arrangement unique in Indonesia. Gadjah Mada University opened in the palace buildings in 1949. Since then the city has grown as a centre of education and the arts, absorbing the shock of the 2006 earthquake, which killed thousands in the surrounding districts, and repeated eruptions of Merapi.

Culture & Customs

Yogyakarta thinks of itself as the guardian of Javanese culture. The kraton keeps a full court establishment of retainers, musicians and dancers, and its gamelan orchestras, classical bedhaya and serimpi dances and all-night wayang kulit shadow plays are performed both as ritual and as public entertainment. The sultan's twin roles as monarch and governor, and the court's ceremonial relationship with Merapi to the north and the southern sea, remain part of everyday belief for many residents.

Batik is the city's craft above all others, worked in the muted browns, indigo and cream of the court style, with patterns that were once reserved for royalty; Kotagede's silversmiths, leather puppet makers and mask carvers form the rest of the artisan tradition. Yogyakarta is also Indonesia's most active contemporary art city, with a dense network of studios, galleries and independent spaces, a strong tradition of street art and printmaking, and a lively independent music scene.

Its other identity is as a student city: dozens of universities, hundreds of thousands of students from across the archipelago, and a politics of protest and debate that has often mattered nationally. The result is a place that is formal and traditional in one register and young and irreverent in another. Manners lean to understatement — voices are kept low, refusals are softened, and open anger is considered shameful.

Daily Life

About 375,000 people live in the city proper, with the built-up area spreading well into the neighbouring districts of Sleman and Bantul to hold a much larger population. Students make up a large share of residents, so the city empties noticeably in the long holidays and around Idul Fitri.

Education is the leading industry, followed by tourism, crafts, trade and a growing creative and digital sector; batik, silver and leatherwork are made in household workshops, and agriculture continues on the volcanic soils around the city. Wages are among the lowest in Java, and the cost of housing and land has risen faster than incomes, a common complaint.

The day starts before dawn with the call to prayer and the opening of the markets, and the morning is the working part of it. Afternoons slow in the heat, and evenings bring the angkringan carts, the lesehan mats on Malioboro and the campuses' cafés. Motorcycles dominate the streets. Traffic congestion, the pressure of hotel and apartment building on water supplies, and the balance between tourism and ordinary life in the kampung around the palace are the issues under discussion; the city also lives with the routine preparedness of a place beneath an active volcano.

Food

Yogyakarta's cooking is the sweetest in Java. Gudeg, the city's signature, is young jackfruit simmered for hours with palm sugar, coconut milk and teak leaves, which turn it reddish brown; it is served with rice, a hard-boiled egg in the same sauce, chicken, tofu and krecek, a fiery stew of beef skin. It is eaten at any hour, including at dawn from stalls that open all night.

Street food defines the rest. Angkringan carts sell nasi kucing, banana-leaf parcels of rice with a spoonful of anchovy or tempeh, alongside skewers of gizzard, quail eggs and tofu, and glasses of tea; near the railway station the speciality is kopi joss, black coffee into which a glowing coal is dropped. Sate klathak, mutton skewered on bicycle spokes and seasoned with little more than salt, comes from Bantul to the south, and fiery dishes of beef skin and chillies are a local speciality.

Sweet things travel: bakpia, small pastries filled with mung bean paste, are baked in the Pathok district and bought as gifts, and geplak, coloured cakes of coconut and sugar, come from Bantul. Everyday Javanese staples fill the warungs — nasi goreng, gado-gado, soto ayam, tempeh and tofu fried in a dozen ways — and jamu, bitter herbal tonics, are still sold from baskets and small shops.

Planning tools

Budget

Yogyakarta is among the cheapest cities in Indonesia for food, rooms and transport, and the student population keeps prices down. The real costs are the temple tickets at Borobudur and Prambanan, which are much higher for foreign visitors, and hiring a car, driver or jeep for the temples, Merapi or the south coast.

Daily Budget Midrange
USD 50–110 (comfortable hotel, restaurants, executive-class trains, a driver or jeep for the volcanoes)
Daily Budget Shoestring
USD 20–35 (guesthouse, warung meals, angkringan and local buses)

Set aside a separate allowance for temple entry, which dwarfs the cost of a meal or a room, and agree a car and driver price for a whole day rather than by the trip.

Best Time to Visit

The dry season from about May to September brings clearer skies for the temples and the best chance of seeing Merapi. July and August are busiest with school and foreign holidays. The wet season from November to March is hot with heavy afternoon rain, and mornings stay usable. The weeks around Idul Fitri fill trains, roads and hotels across Java.

Suggested Number of Days

Two or three days cover the palace quarter, the markets and one of the great temples. Four to six allow both temple sites, the volcano slopes and the south coast at a reasonable pace. Traffic and the distance to the temples decide the number more than anything else.

First Visit
2–3 days
With Surroundings
4–6 days

Transportation

Trans Jogja buses run fixed routes across the city for a flat fare, and ride-hailing apps for cars and motorcycles are cheap and used by nearly everyone. Becak pedicabs and horse-drawn andong still work the streets around Malioboro and the palace. Hiring a car with a driver, or a motorcycle, is the usual way to reach the temples and the hills.

Agree becak and andong fares before setting off, and use app-based cars in the evening when traffic around Malioboro is slow.

Airport & Station Connections

Yogyakarta International Airport at Kulon Progo lies about 45 kilometres west of the city, with a rail link and airport buses into the centre taking around an hour. Trains are the usual way to arrive from elsewhere on Java: Yogyakarta station sits on Malioboro itself and takes executive and business-class services from Jakarta, Bandung and Surabaya, while a second station at Lempuyangan serves economy trains. Long-distance buses use the Giwangan terminal in the south of the city.

Walkability

The core is walkable: Malioboro, the market, the fort and the kraton form a straight line about two kilometres long, and the palace quarter's lanes are best seen on foot. Pavements elsewhere are narrow, broken or occupied by parked motorcycles, and crossing the main roads takes patience. Heat, humidity and afternoon rain shorten most walks.

Safety

Yogyakarta is a relaxed and generally safe city, with pickpocketing in market crowds and on the main street the usual problem, along with occasional overcharging by becak drivers and batik touts who steer visitors to particular shops. Traffic is the real hazard, especially for anyone riding a motorcycle. Merapi erupts regularly, and ash falls and exclusion zones affect the northern slopes rather than the city itself. The south-coast surf has strong rips.

Obey the exclusion zones on Merapi, treat the surf at Parangtritis as unsafe for swimming, be wary of unsolicited offers to visit a batik 'exhibition', and note that drug offences carry severe penalties, including death. Check current official travel advice before travelling.

Climate

Tropical and warm all year on an inland plain south of Merapi, with little variation in temperature and a clear division between a dry season from about May to September and a wet season from November to March. The hills to the north are several degrees cooler.

Summer
the dry season, May–September: sunny and dusty, about 23–32°C, with cooler nights
Winter
the wet season, November–March: humid, about 23–31°C, with heavy afternoon and evening downpours

Local Customs

This is a court city and manners matter: speech is soft, disagreement is indirect, and the Javanese language has levels of politeness that shape how people address one another. The right hand is used for giving, receiving and eating. Dress modestly, particularly around the kraton and mosques, where shoulders and knees should be covered; batik shirts count as formal wear. Shoes are removed when entering homes, mosques and parts of the palace. Tipping is not expected, though small change is appreciated.

Cover up and remove shoes where asked at the kraton and mosques, ask before photographing people at prayer or at ceremonies, and keep quiet and still during palace dance and gamelan performances.

Common Payment Methods

The currency is the Indonesian rupiah, with prices running into the hundreds of thousands. Cards work in hotels, malls and larger restaurants, and QR-code payment through Indonesian apps is very widespread, but warungs, markets, becak drivers and temple parking are cash. ATMs are common in the centre; small notes are needed for stalls and pedicabs.