Journey through the people, cities and ideas that shaped Malaysia, from early communities to the federation of today.
Follow early communities, maritime kingdoms, Malay sultanates, Portuguese and Dutch Malacca, British rule, independence and federation.
Explore 11 historical periods, the rulers and heads of government, and 68 chapters of territorial change.
Sultans and monarchs, regional authorities, colonial governors, heads of state and prime ministers of Malaysia.
A Journey Through the Ages
Malaysia connects the peninsula and northern Borneo through early communities, maritime kingdoms, sultanates, colonial rule, independence and federation. Explore 539 events across eleven periods.
1,800,000 BCE – 1299
Orang Asli ancestors have lived on the peninsula for tens of thousands of years, and Austronesian settlers arrived from about 1000 BCE. Indianised polities such as Kedah's Bujang Valley, Langkasuka and Gangga Negara traded under Funan and Srivijaya until the Chola raid of 1025 and Majapahit's rise.
1300 – 1510
Parameswara founded Malacca around 1400, and the port grew into a Ming-protected sultanate controlling much of the peninsula, the Riau Islands and part of east Sumatra. Islam spread through its court, and the Portuguese captured the city in 1511 after a failed first assault.
1511 – 1784
Portugal held Malacca from 1511 until the Dutch and Johor took it in 1641, while Johor, Perak and Pahang emerged from the old sultanate. Aceh, the Bugis and Minangkabau settlers reshaped the peninsula, with Selangor founded in 1766 and Negeri Sembilan's ruler confirmed in 1773.
1785 – 1873
Francis Light took Penang in 1786, Britain gained Singapore and Malacca, and the Straits Settlements formed in 1826 and became a Crown colony in 1867. In Borneo, James Brooke became Rajah of Sarawak in 1841 and Britain acquired Labuan in 1846 as Brunei lost land.
1874 – 1941
The Pangkor Treaty of 1874 introduced British Residents, the Federated Malay States formed in 1896, and the 1909 treaty with Siam brought four northern states under British protection. Tin and rubber drew Chinese and Indian labour, while the Brooke rajahs and the North Borneo Company ruled Borneo.
1942 – 1956
Japan invaded in December 1941 and held Malaya, Singapore and Borneo until September 1945, with an estimated 50,000 or more ethnic Chinese killed in massacres. The Malayan Union of 1946 gave way to the Federation of Malaya in 1948, as the Malayan Emergency began.
1957 – 1969
Malaya became independent on 31 August 1957 under Tunku Abdul Rahman, and Malaysia was proclaimed on 16 September 1963 with Singapore, Sarawak and North Borneo. Indonesian Confrontation, Singapore's separation in 1965 and the 1969 communal riots marked the period.
1970 – 1980
Under Tun Abdul Razak, the New Economic Policy launched in 1971 aimed to reduce poverty and economic imbalance between ethnic groups. Kuala Lumpur became a Federal Territory in 1974, and Malaysia's population reached about 13.9 million by 1980.
1981 – 2002
Mahathir Mohamad led an industrialising Malaysia from 1981, with Labuan becoming a Federal Territory in 1984 and Putrajaya in 2001. The 1997 Asian financial crisis hit the economy, and in 2002 the International Court of Justice awarded Ligitan and Sipadan to Malaysia.
2003 – 2017
Abdullah Badawi succeeded Mahathir in 2003 and Najib Razak took office in 2009, while the 2010 census-year population stood near 28.6 million. The 2008 ICJ ruling gave Pedra Branca to Singapore and Middle Rocks to Malaysia, and the 2013 Lahad Datu standoff revived the Sabah dispute.
2018 – present
The 2018 election ended long-standing coalition rule, and governments changed several times before Anwar Ibrahim became prime minister in November 2022. The 2020 census counted 32,447,385 people, and the status of Sabah and Sarawak under the Malaysia Agreement remains a live political issue.
From early Kedah and the Malacca Sultanate to British Malaya and the Federation, 235,000 years ago – 2026
From the Niah Cave and early Kedah to Langkasuka, Srivijaya, the Malacca Sultanate, the Malay sultanates, the Straits Settlements, the Brooke Rajahs and North Borneo, the Japanese occupation, Merdeka in 1957 and the formation of Malaysia in 1963. Watch the Malay lands change year by year, with the empires around them. Dashed shapes mark approximate zones compiled from modern outlines; the Patani reference and the Sabah claim are shown as flagged overlays.
If the page stays blank, the site doesn't allow embedding — use “Open in new tab”.
Trade and migration connected the peninsula and Borneo with wider Indian Ocean and South China Sea networks.
Regional sultanates and diverse communities shaped traditions of authority, faith and cultural exchange.
Colonial rule, independence and the formation of Malaysia shaped the country’s institutions and society.
Events and ruler profiles retain the references supplied with the dataset. Structural and display checks do not establish historical accuracy. The research report records unverified ruler links, single-source events, gaps and conflicting dates; recent events remain subject to revision.
The supplied map retains its credits, references and territorial caveats. Historical states, context layers and approximate zones distinguish regional authority from modern borders. Kashmir is shown through administered and proxy outlines, with disputes identified in the map; East Malaysia is included in its historical context.
Population estimates describe differing territories and periods. Ranges for an ancient city or a whole civilisation are not treated as counts for modern Malaysia. Images are pending; this microsite uses a gradient and a generic ruler placeholder.
History is connected. Explore the bigger picture.
AllHistories is an independent visual history project designed to make the past easier to understand, explore, and connect.
History is more than a collection of dates, rulers, and battles. Events rarely happen in isolation. Borders shift, civilizations influence one another, ideas spread, and decisions made centuries ago continue to shape the world today.
Through interactive timelines, historical maps, and visual storytelling, AllHistories helps uncover these connections and makes complex historical subjects more accessible and engaging.
Travel through centuries, discover turning points, and understand how historical events unfold and connect.
Explore how borders, civilizations, populations, trade routes, beliefs, and spheres of influence have changed over time.
Go beyond dates and discover the individuals, places, decisions, and circumstances behind historical developments.
Explore connections between countries, empires, civilizations, and historical themes to better understand cause and consequence.
Features vary depending on the historical subject.
AllHistories draws on historical research, published references, public archives, and available historical datasets. The information is organized and presented through interactive digital experiences.
History is not always certain or universally agreed upon. Dates, territorial boundaries, population figures, and interpretations may differ between sources. Some information is necessarily simplified or estimated for visual presentation.
The goal is to encourage curiosity and independent exploration, not to replace academic publications or specialist historical research.
When you visit AllHistories, the web server may process technical information such as your IP address, requested pages, browser details and access times to deliver pages and maintain the service.
Some pages load Google Analytics, Google Fonts, externally hosted images, maps or other third-party resources. Requests to these providers can transmit technical information, including your IP address. Contact forms may use Google reCAPTCHA to help prevent abuse. These providers apply their own privacy policies.
The website uses browser storage for preferences such as the selected theme. Country microsites also use a session cookie to support website functionality, including request protection. Analytics or other third-party services may use additional cookies or storage, depending on the page and your browser settings.
When you submit a correction or contact form, the information you provide, such as your name, email address and message, is processed to review and respond to your request. Please avoid including sensitive personal information.
You can manage cookies and site storage in your browser and control third-party requests through browser privacy settings. For privacy questions or requests concerning information you submitted, use the contact option on the microsite where you sent it.
Links to sources and other websites take you to services with their own privacy practices. Review their policies before providing personal information.
AllHistories provides historical information for general education and exploration. Its content is not professional, legal, financial or other specialist advice.
We aim to present useful, well-sourced summaries, but cannot guarantee that every date, statement, translation or interpretation is complete or accurate. Verify important claims against the cited sources and relevant scholarship. Content may be corrected or updated.
Maps are simplified historical illustrations. Borders, place names and territorial labels may vary by period and source. Their appearance does not express a position on sovereignty or present-day territorial disputes.
Images and source material may belong to their respective creators or rights holders. Consult the image credit, source page and license before reusing material. A link or credit does not grant additional reuse rights.
External links are provided for reference. AllHistories does not control the content, availability or policies of third-party websites.
To report an error or a concern about credited material, use the contact option on the relevant country microsite and identify the page, material and supporting details.