The story
In the evening the Tugu glows white and gold on its roundabout while motorbikes stream round it. Walk south and the road becomes Malioboro: street food, batik shops, horse carts with jingling bells, buskers and a slow river of people. Keep going in a straight line and the shops give way to a great open square with two banyan trees, then to the gates of a palace where men in batik and black caps sit quietly in the shade. You have walked from the north end of a city plan drawn in 1755 to its centre, and the plan is still doing its job.
Yogyakarta was founded in 1755, when the Treaty of Giyanti split the Javanese kingdom of Mataram (1587–1755) in two and Prince Mangkubumi became Sultan Hamengku Buwono I. He built his palace, the Kraton, on a north–south line between the volcano Merapi and the Indian Ocean, with the Tugu monument (Tugu Golong-Gilig / Tugu Pal Putih) to the north and the Panggung Krapyak to the south. The line expresses sangkan paraning dumadi, the Javanese idea of where life comes from and where it goes. The Sultan still lives in the Kraton, and the axis was inscribed in 2023.
Why come here?
- Only here: a whole royal city planned in 1755 as a philosophy you can walk, from birth at the Panggung Krapyak to union with God at the Tugu; the Kraton is still the home of a reigning sultan; the Tamansari water castle was called by the historian Denys Lombard one of the finest gardens in the world; and Malioboro is Indonesia's most famous street.
- Original or rebuilt? Mixed: the Kraton (1755–1756), Tamansari (1758–1765) and the Panggung Krapyak are originals, much repaired after earthquakes; the Tugu was rebuilt by the Dutch in 1889, shorter and with a pointed top, after the original fell in the earthquake of 1867; Malioboro is a living street, recently reorganised for walkers.
- The moment: standing in a Kraton courtyard during a morning performance, with the gamelan playing under the pavilion roof while the palace servants go about their duties in batik and bare feet.
- Worth the trip? Four stars: if you're coming to Yogyakarta for Borobudur and Prambanan, give the city itself a full day; the axis is easy to walk or ride in a becak.
- Who it suits: lovers of royal courts, Javanese culture, markets and street life; the palace closes on Mondays and at 14:30, so mornings are best, and modest, sleeved clothing is asked for.
Why it matters The Cosmological Axis of Yogyakarta and its Historic Landmarks was inscribed on the World Heritage list in 2023 because the axis and its landmarks, laid out from 1755 by Sultan Hamengku Buwono I, express Javanese beliefs about the universe and the cycle of life, and show an exchange of ideas from older Javanese, Hindu-Buddhist and Islamic traditions in the plan of a royal city that is still the centre of a living Javanese culture.
- Tickets and travel info how to book, when to beat the crowds
If you have one minute
A city that reads like a life

The axis can be read in both directions. Walking north from the Panggung Krapyak to the Kraton follows a life from conception to adulthood: the villages near Krapyak have names linked to seeds and birth, and the road was lined with trees chosen for their meanings. Walking from the Tugu south to the Kraton is the road of a mature person returning to God, passing the temptations of the market at Beringharjo and the government at the Kepatihan on the way. In the middle sits the Sultan, between the mountain and the sea. It is a town plan that doubles as a sermon, and you can buy satay halfway through.
Things people often get wrong
"The axis runs from Merapi to the sea." That is the wider imaginary line of Javanese belief; the inscribed axis is the 5 km stretch in the city, from the Tugu through the Kraton to the Panggung Krapyak.
"The Kraton is a museum." Parts of it are open as museums, but it is still the home of the Sultan and his family and a working court, with palace servants, ceremonies and a calendar of rituals.
Close by, with a page of its own: Borobudur, Prambanan.
Also among Gardens: Taj Mahal, Summer Palace, Park Güell, Alcázar of Seville, Schönbrunn Palace, Classical Gardens of Suzhou, all 102.
Also among Palaces: The Louvre, Forbidden City, Potala Palace, Gyeongbokgung, Summer Palace, Alcázar of Seville, all 143.
Our Shared Heritage
What was left
The Kraton palace complex (1755–1756) with its pavilions and museums; the north and south squares; the corner bastions of the palace walls; the Tamansari water castle (1758–1765) with Sumur Gumuling; the Great Mosque (Masjid Gedhe) of Kauman; the Tugu monument (rebuilt in 1889); the streets of Margo Utomo, Malioboro, Margo Mulyo and Pangurakan; Beringharjo market; the Kepatihan; and the Panggung Krapyak.
Reading the land
A flat valley between the Code and Winongo rivers, sloping gently from the volcano Merapi in the north towards the Indian Ocean in the south, with the city's main streets laid along the line between them.
Its counterparts in the world
Compare Kyoto, laid out as a grid around an imperial palace; Hue, a royal city planned by geomancy; and the Kraton of Surakarta, Yogyakarta's twin born of the same treaty.
Those who keep it
The Sultan and the Kraton, with its abdi dalem, the palace servants; the government of the Special Region of Yogyakarta, which issued a regulation on managing the axis in 2024; the city of Yogyakarta and Bantul regency; and the traders and residents along the axis. It was inscribed in 2023.
Why it belongs to everyone
It shows how a city can be built as a statement of belief about the universe and a human life, and how that plan can stay alive for nearly three centuries as people go on using it every day.
Now that you know so much about the history and culture of this place, is there anything you would like to say to future visitors? Leave a message
Go deeper: the Cosmological Axis of Yogyakarta in six chapters6 chapters · about 4 min to read
About 8 minutes to read. This is a place to walk the line slowly, from the Tugu down Malioboro to the palace, then on to the water castle and the hunting lodge, and to spend a morning inside the Kraton. What is particular to it: a city plan that is also a philosophy; a palace that is still a court; a water castle with an underground mosque; and Indonesia's most famous street. Original or rebuilt: the Kraton, Tamansari and Krapyak are 18th-century originals, much repaired; the Tugu was rebuilt in 1889. Give it a full day.
1. What to see

Five things make the axis. Tamansari, the water castle a short walk west, with bathing pools, a tower and the round underground mosque of Sumur Gumuling. The Tugu at the north end, best seen lit at night. Malioboro, the street between them, with Beringharjo market for batik and snacks. And the Panggung Krapyak, the quiet hunting lodge at the southern end that few visitors reach. Malioboro is to Yogyakarta what the Royal Mile is to Edinburgh: a single street that leads, eventually, to the palace, and sells you a lot on the way.

2. The prince who became sultan

In the 18th century the Javanese kingdom of Mataram was torn by succession wars, with the Dutch East India Company (1602–1799) taking advantage. Prince Mangkubumi fought for years until the Treaty of Giyanti in 1755 split the kingdom between Surakarta and a new sultanate, Yogyakarta. As Hamengku Buwono I, he chose a site between two rivers, built the Kraton in 1755–1756 and laid out his city along the axis. His descendants still reign: Yogyakarta kept its sultan after Indonesian independence, and the Special Region of Yogyakarta is the only province in Indonesia headed by a hereditary ruler. It is a little like Monaco, if Monaco also had a volcano, a sacred ocean and a palace orchestra.

3. The palace and the water castle

The Kraton is a sequence of courtyards and open pavilions, the bangsal, raised on platforms under tiled roofs, each with a ceremonial purpose; at its heart is the Kedhaton, the Sultan's residence. Its museums show gamelan sets, carriages, batik and gifts from foreign courts. West of the palace, Tamansari was built in 1758–1765 as a royal garden and retreat, with bathing pools, pavilions, a tower from which, by tradition, the sultan watched the bathers, and Sumur Gumuling, a ring-shaped two-storey underground mosque reached by tunnels. Much was damaged in the earthquake of 1867 and later built over by houses, which still crowd round the ruins. Tamansari is a pleasure garden, a bath house and a secret mosque, which is more than most gardens attempt.

4. From the Tugu to the Panggung Krapyak

The Tugu was raised in 1755 as a column topped by a sphere, the golong-gilig, a symbol of the unity of ruler and people. The earthquake of 1867 brought it down, and in 1889 the Dutch rebuilt it shorter, with a pointed top, as it stands today. From there the axis runs south along Margo Utomo, Malioboro and Margo Mulyo, past Beringharjo market and the Kepatihan, the old office of the chief minister, to the north square and the palace. South of the Kraton, the south square leads out through the city walls to the Panggung Krapyak, a square brick hunting lodge of the 1760s from which the sultans watched deer hunts. The Tugu has been rebuilt shorter and pointier, which is what usually happens to monuments after an argument with an earthquake.

5. Best views and photos

Tamansari is best right at opening, before the crowds, when the pools are still and the tower reflects cleanly; the tunnels and Sumur Gumuling make striking pictures with a wide lens, as light falls from the central opening. In the Kraton, photography is allowed where the staff direct, and the morning performances in the Srimanganti pavilion are the liveliest pictures. The Tugu is most photogenic at night, lit up on its roundabout, ideally from the pavement on Jalan Pangeran Mangkubumi looking north; Malioboro comes alive after dark with lamps, food stalls and horse carts. The Alun-alun Kidul at dusk, with the twin banyans and families on the grass, is the most local scene of all. The dry season, from about May to September, gives the clearest skies. Tamansari before nine is a quiet royal bath; Tamansari at eleven is a fashion shoot.

6. Malioboro and how to visit

Yogyakarta has an international airport (YIA) about an hour west of the city and a main railway station, Tugu, just off Malioboro. The axis is easy on foot: about 5 km from the Tugu to the Panggung Krapyak, with becak and horse carts for the longer stretches. Borobudur and Prambanan are each an hour or less away. Yogyakarta is the rare city where the royal family, the student population and the street-food vendors all seem to get on.

People who stood here
We checked this with Indonesian sources: the Kraton Yogyakarta's own sites (kratonjogja.id and its tourism site), the Ministry of Education and Culture, the Yogyakarta governor's regulation on managing the axis, Gadjah Mada University theses and journals, GNFI, Kumparan, Detik, CNN Indonesia, ANTARA and Indonesia.travel.
- Hamengku Buwono I (first Sultan of Yogyakarta, 1717–1792)Prince Mangkubumi of Mataram, who after years of war became Sultan of Yogyakarta under the Treaty of Giyanti in 1755, built the Kraton, laid out the axis from the Tugu to the Panggung Krapyak, and added the Tamansari water castle; he reigned until his death in 1792.




















































