Home / Understand Malaysia / Malaysia / Modern Malaysia

📜 Narrative 🔒 Sensitive — elections ✓ Published: 25 Jul 2026 5 min read

The 14th General Election and Malaysia's First Federal Change of Government

At the 14th general election, held on 9 May 2018, Pakatan Harapan and its ally Parti Warisan Sabah won a majority of the 222 Dewan Rakyat seats — the first time since independence in 1957 that the coalition which had formed every federal government (the Alliance, later Barisan Nasional) did not. Tun Dr Mahathir Mohamad was sworn in as the seventh Prime Minister on 10 May 2018. This article sets out the documented result and the constitutional mechanism, descriptively and neutrally.

🔒 Sensitive content — Elections

This topic falls under a sensitive category and is presented descriptively and neutrally.

30-second answer Reviewed 25 Jul 2026

The 14th general election (GE14), for which polling was held on 9 May 2018, produced the first change of federal government in Malaysia since independence in 1957. Pakatan Harapan, together with its ally Parti Warisan Sabah, won a majority of the 222 seats in the Dewan Rakyat (the Inter-Parliamentary Union records the two together at 121 seats, above the 112 needed for a simple majority). The Barisan Nasional coalition — which, together with its predecessor the Alliance, had formed every federal government since 1957 — did not retain a majority. Under Article 43 of the Federal Constitution the Yang di-Pertuan Agong, Sultan Muhammad V, appointed as Prime Minister a member of the Dewan Rakyat likely to command the confidence of the majority; Tun Dr Mahathir Mohamad was sworn in as the seventh Prime Minister on 10 May 2018.

  • Polling for the 14th general election was held on 9 May 2018, contesting all 222 seats of the Dewan Rakyat; a simple majority is 112 seats
  • Pakatan Harapan with its ally Parti Warisan Sabah won a majority (IPU Parline records the two together at 121 seats); Barisan Nasional did not retain a majority
  • It was the first change of the coalition forming the federal government since independence in 1957 — the Alliance, and from the 1970s its successor Barisan Nasional, had formed every previous federal government
  • The transfer followed the constitutional process in Article 43: the Yang di-Pertuan Agong appoints as Prime Minister a Dewan Rakyat member likely to command the confidence of the majority
  • Tun Dr Mahathir Mohamad was sworn in as Malaysia's seventh Prime Minister on 10 May 2018; Dr Wan Azizah Wan Ismail became the first woman to serve as Deputy Prime Minister

Who this applies to: Readers who want the documented facts of Malaysia's first federal change of government at the 14th general election — the result, the seat figures, and the constitutional mechanism — stated neutrally and sourced, without partisan interpretation.

On this page
Full explanation ≈5 min

For 61 years, from the first federal election after independence in 1957 up to 2018, every federal government of Malaysia was formed by a single coalition — the Alliance, and from the 1970s its successor, Barisan Nasional. At the 14th general election, that continuity ended: a different coalition won a majority of the seats in the Dewan Rakyat.

This article does not retell the campaign as a story, and it characterises no party, candidate or voter. It sets out what the record documents: the polling date, the seat figures, the constitutional mechanism by which the government changed, and the dates on which it happened.

The result in numbers

Polling for the 14th general election (GE14, or PRU14 in Malay) was conducted by the Election Commission of Malaysia (SPR) on 9 May 2018. All 222 seats of the Dewan Rakyat — the lower house of Parliament — were contested. A simple majority in a 222-seat house is 112 seats.

The seat outcome, as recorded by the Inter-Parliamentary Union’s Parline database (which compiles official national parliamentary results), was as follows.

Coalition / partySeats
Pakatan Harapan113
Parti Warisan Sabah (ally of Pakatan Harapan)8
Pakatan Harapan with Warisan (combined)121
Barisan Nasional79
Parti Islam Se-Malaysia (PAS)18
Others (Sabah STAR and independents)4
Total222

Pakatan Harapan together with Parti Warisan Sabah crossed the 112-seat threshold. Barisan Nasional, which had entered the election as the party forming the federal government, did not retain a majority of the seats.

A note on the figures: the combined majority of 121 and the total of 222 are drawn from IPU Parline, which records the official results reported by Parliament; the component split is consistent across the Election Commission’s declared results and standard compilations of them. The article states seat counts at coalition and party level rather than reconstructing every individual constituency.

Why this was a “first”

The significance of GE14 in the documented record is one of continuity broken.

From independence in 1957, the federal government was formed by the Alliance Party (Parti Perikatan). The Alliance was later reconstituted and enlarged into Barisan Nasional, which was registered in the 1970s. Under one banner or the other, this coalition had formed every federal government from 1957 onward and had held a majority in the Dewan Rakyat at every general election in between.

GE14 was therefore the first general election since independence at which that coalition did not win a majority of the parliamentary seats, and the first at which the federal government passed to a different coalition. This is the plain, documented fact from which the article takes its subject — a first federal transfer of power, described without further characterisation.

How the government changed: the constitutional mechanism

Malaysia is a federal constitutional monarchy with a parliamentary system. Who forms the government is not decided by a direct national vote for a leader; it follows from which member of the Dewan Rakyat can command the confidence of a majority of its members.

The controlling provision is in the Federal Constitution. Article 43(2)(a) provides that the Yang di-Pertuan Agong appoints as Prime Minister a member of the House of Representatives who in his judgment is likely to command the confidence of the majority of the members of that House. The number of Dewan Rakyat seats — 222 at the time — follows from Article 46 and the constituency delineation carried out under the Constitution.

Following GE14, the Yang di-Pertuan Agong, Sultan Muhammad V, appointed as Prime Minister the leader put forward by the coalition holding the majority. Tun Dr Mahathir Mohamad was sworn in as Malaysia’s seventh Prime Minister on 10 May 2018, the day after polling. He had earlier served as the fourth Prime Minister, from 1981 to 2003. Dr Wan Azizah Wan Ismail was appointed Deputy Prime Minister — the first woman to hold that office.

Timeline

DateEvent
9 May 2018Polling day for the 14th general election; all 222 Dewan Rakyat seats contested
10 May 2018Tun Dr Mahathir Mohamad sworn in by the Yang di-Pertuan Agong as the seventh Prime Minister

The compressed interval between these two dates — the count on polling night into the following day, and the swearing-in that evening — is itself part of the documented record of the transition.

Common misconceptions

“The government changed by decree or outside the normal process.” No. The change followed the ordinary constitutional route: an election conducted by the Election Commission, seats won in the Dewan Rakyat, and the appointment of a Prime Minister under Article 43 by the Yang di-Pertuan Agong. Parliament and the Constitution operated throughout.

“Voters directly elected the Prime Minister.” Not directly. Malaysian voters elect the members of the Dewan Rakyat for their own constituencies. The Prime Minister is the member whom the Yang di-Pertuan Agong judges likely to command the confidence of the majority of that House.

“Pakatan Harapan won 121 seats on its own.” The 121 figure is the combined total of Pakatan Harapan and its ally Parti Warisan Sabah. Pakatan Harapan’s own component parties are recorded at 113 seats, with Warisan contributing a further 8.

“Barisan Nasional had governed since 1957 under that exact name.” The coalition that formed every federal government from 1957 was first the Alliance Party (Perikatan); it was reorganised and expanded into Barisan Nasional in the 1970s. The continuity is of the coalition and its predecessor, under successive names.

What’s next

For how Malaysian general elections are administered — from the writ and nomination to polling and the declaration of results — see how elections work and the Election Commission (SPR). For the chamber whose 222 seats decide who forms the government, see the Dewan Rakyat.

For the constitutional basis of the appointment described here, begin with the Federal Constitution and Article 43. For the starting point of the 1957–2018 continuity that GE14 ended, see independence in 1957.

Anyone working from primary sources can consult the Election Commission of Malaysia (SPR) for the declared and gazetted results, and the IPU Parline record of the 9 May 2018 Dewan Rakyat election for the compiled seat totals.


This article is classified as sensitive (elections) under NegaraKu.md editorial policy. It is written to be descriptive only — stating documented dates, seat figures, and the constitutional mechanism, with their sources, and characterising no party, candidate or voter — and is held as a draft pending verification by a human reviewer before publication.

Sources & history 4 sources

Sources

  1. Portal Rasmi Suruhanjaya Pilihan Raya Malaysia (SPR) — Suruhanjaya Pilihan Raya Malaysia (Election Commission of Malaysia)
  2. Malaysia — House of Representatives (Dewan Rakyat), election of 9 May 2018 — Inter-Parliamentary Union (IPU Parline)
  3. Tun Dr Mahathir Mohamad — Prime Ministers of Malaysia — Perdana Leadership Foundation
  4. Federal Constitution of Malaysia — Article 43 (Cabinet) and Article 46 (composition of the House of Representatives) — Attorney General's Chambers of Malaysia (AGC)

Change history

Version Date Change By
01.00 24 Jul 2026 Approved and published.
More in Modern Malaysia View all 4 →
Related knowledge
The Election Commission (SPR): Its Mandate and Functions Under Articles 113-114 of the Constitution The Election Commission (SPR) is a constitutional body established under Article 114 of the Federal Constitution and carries out its functions under Article 113. This article describes its mandate, membership, tenure protections and functions descriptively as set out in the constitutional text. Dewan Rakyat: How 222 Seats Turn Into Federal Law A descriptive account of the Dewan Rakyat as set out by the Federal Constitution and the Standing Orders — its 222-seat composition under Article 46, its five-year term under Article 55, the path a Bill follows, and the financial powers it holds alone under Articles 67 and 68. How Malaysian Elections Work: One Seat, One Member, Most Votes Wins A descriptive account of the mechanics of Malaysian elections as set out in Part VIII of the Federal Constitution and election law — the single-member constituency system with a plurality vote (first-past-the-post), elections to the Dewan Rakyat and the State Legislative Assemblies, voter eligibility under Article 119, and the role of the Election Commission under Articles 113 and 114. Federal Constitution of Malaysia The supreme law of Malaysia, establishing the structure of the federation, the division of powers between federal and state governments, fundamental liberties, and the procedure for constitutional amendment. Merdeka: How 31 August 1957 Actually Happened The negotiations, the commission, and the midnight flag-raising that ended British rule over the Federation of Malaya — told as a sequence of specific decisions, not a single triumphant date.