Indonesia: a history from Srivijaya to the largest Muslim nation

An archipelago of more than 17,000 islands, Indonesia is the world's most populous Muslim-majority country. Pakistan helped sponsor the 1955 Bandung conference it hosted.

By Last reviewed

Indonesia
Indonesia and its neighbours. Borders approximate.

Key facts

Capital
Jakarta
Independence proclaimed
17 August 1945
Population
About 280 million
Language
Indonesian
Religion
About 87 per cent Muslim, the largest Muslim population of any country
Link with Pakistan
Both sponsored the 1955 Bandung conference and founded the D-8 group in 1997

Through the ages

The main periods of Indonesia's history, 400 CE to today. Recent centuries are drawn wider so they can be read.

  1. Hindu-Buddhist kingdoms400 CE to 1527
  2. Islamic sultanates1290 to 1800
  3. Dutch East Indies1800 to 1942
  4. Japanese occupation1942 to 1945
  5. Revolution1945 to 1949
  6. Sukarno era1949 to 1967
  7. Suharto's New Order1967 to 1998
  8. Reform era1998 to today

Timeline

  1. c. 671 CE
    Empires and dynasties

    Srivijaya

    The Buddhist kingdom of Srivijaya, based on Sumatra, controls the sea trade through the Strait of Malacca.

  2. c. 825 CE
    Culture and faith

    Borobudur

    The Sailendra dynasty completes Borobudur in Java, the largest Buddhist monument in the world.

  3. 1293
    Empires and dynasties

    Majapahit

    The Hindu-Buddhist Majapahit empire is founded in Java and comes to dominate much of the archipelago.

  4. c. 1297
    Culture and faith

    Islam takes root

    Samudera Pasai in northern Sumatra becomes one of the first Muslim kingdoms. Islam spreads through trade and Sufi teachers over the next three centuries.

  5. 1602
    Empires and dynasties

    The Dutch East India Company

    The Dutch East India Company begins building a trading empire. Batavia, today's Jakarta, is founded in 1619.

  6. 1825
    Wars and conflict

    The Java War

    Prince Diponegoro leads a five-year revolt against Dutch rule.

  7. 1883
    Disasters

    Krakatoa

    The eruption of Krakatoa causes tsunamis that kill tens of thousands and cools the global climate.

  8. 28 October 1928
    Politics

    The Youth Pledge

    Young nationalists pledge one motherland, one nation and one language, Indonesian.

  9. 17 August 1945
    Independence

    Independence proclaimed

    Sukarno and Mohammad Hatta proclaim independence. The Dutch recognise it in December 1949 after four years of war.

  10. April 1955
    Politics

    The Bandung conference

    Indonesia hosts the Asian-African Conference in Bandung, sponsored with Pakistan, Burma, Ceylon and India, a milestone for newly independent nations.

  11. 1965
    Politics

    The killings of 1965

    After a failed coup, the army and its allies kill hundreds of thousands of suspected communists. General Suharto takes power and rules until 1998.

  12. 1997
    Treaties and agreements

    The D-8

    Indonesia, Pakistan and six other Muslim-majority countries found the D-8 group for economic cooperation.

  13. 1998
    Politics

    Reformasi

    Mass protests during the Asian financial crisis force Suharto to resign, opening the way to democracy.

  14. 1999
    Politics

    East Timor votes

    East Timor votes for independence from Indonesia.

  15. 26 December 2004
    Disasters

    The tsunami

    An undersea earthquake off Sumatra unleashes a tsunami that kills about 170,000 people in Indonesia, most in Aceh.

  16. 2019
    Politics

    A new capital

    The government announces that the capital will move from Jakarta to Nusantara on Borneo.

  17. 2024
    Politics

    Prabowo Subianto

    Prabowo Subianto is elected president.

Kingdoms of the islands

Indonesia stretches across more than 17,000 islands between Asia and Australia, along the busiest sea routes of the ancient world. From the seventh century the Buddhist kingdom of Srivijaya on Sumatra controlled the trade through the Strait of Malacca, and in Java the Sailendra kings built Borobudur, the largest Buddhist monument on Earth, while the Hindu temples of Prambanan rose nearby. In the fourteenth century the Majapahit empire of Java dominated much of the archipelago.

The coming of Islam

Islam reached the islands mainly through trade, carried by merchants from Gujarat, Persia and Arabia and by Sufi teachers. By the late thirteenth century Samudera Pasai in Sumatra had a Muslim ruler, and over the next three centuries most of the archipelago embraced Islam, peacefully and gradually, blending it with local custom. Muslim sultanates such as Demak, Aceh and Banten rose as Majapahit declined.

Dutch rule

The Dutch East India Company arrived in the early seventeenth century, founded Batavia, today’s Jakarta, in 1619 and gradually took control of the spice trade. After the company collapsed, the Dutch state ruled the Dutch East Indies, forcing farmers to grow export crops. Revolts such as Prince Diponegoro’s Java War were crushed. In the twentieth century a national movement grew, united by a common language, Indonesian.

Independence and after

Japan occupied the islands in 1942. Two days after Japan surrendered, on 17 August 1945, Sukarno and Mohammad Hatta proclaimed independence, and after four years of war the Netherlands recognised it in 1949. Sukarno made Indonesia a leader of the newly independent world, hosting the Bandung conference of Asian and African nations in 1955, which Pakistan helped sponsor. In 1965, after a failed coup, the army and its allies killed hundreds of thousands of alleged communists, and General Suharto ruled for three decades. His fall in 1998 opened the way to democracy, and Indonesia now holds some of the largest elections in the world. In 2004 a tsunami killed about 170,000 people in Aceh and nearby areas.

Indonesia and Pakistan

Two of the world’s most populous Muslim-majority countries, Indonesia and Pakistan have long been close. In 1955 they sponsored the Bandung conference together. They are founding members of the D-8 group of developing Muslim countries, founded in 1997, and cooperate in the OIC. Indonesia is a major supplier of palm oil to Pakistan.

For our latest reporting on Indonesia, see the news listed on this page.

Landmarks and heritage

8th and 9th centuries

Borobudur Temple

Central Java

A vast Buddhist monument of terraces and stupas. A UNESCO World Heritage Site.

9th century

Prambanan Temple

Central Java

A great Hindu temple complex. A UNESCO World Heritage Site.

Natural site

Komodo National Park

Lesser Sunda Islands

Home of the Komodo dragon, the world's largest lizard. A UNESCO World Heritage Site.

Opened 1978

Istiqlal Mosque

Jakarta

The national mosque, one of the largest in South-East Asia.

Terms you will meet in the news

Pancasila
The five founding principles of the Indonesian state, beginning with belief in one God.
Reformasi
The reform era that began with Suharto's fall in 1998.
D-8
A group of eight developing Muslim-majority countries, including Indonesia, Pakistan, Türkiye and Iran, founded in 1997.

Quick answers

Which country has the most Muslims?

Indonesia, where about 87 per cent of some 280 million people are Muslim.

What was the Bandung conference?

A meeting of Asian and African nations in Bandung, Indonesia, in April 1955, sponsored by Indonesia, Pakistan, Burma, Ceylon and India. It helped shape the non-aligned movement.

When did Indonesia become independent?

Independence was proclaimed on 17 August 1945, and the Netherlands recognised it in December 1949.

What is Pancasila?

The five founding principles of the Indonesian state, beginning with belief in one God.

Sources and further reading

Compiled by The Indus Compass from the sources above and standard reference works, and reviewed 28 November 2026. Dates before the modern era are approximate and some are debated by historians. Spotted a mistake? Tell the newsroom and we will correct it.