Malaysia holds elections more often than most of its neighbours, and each one seems to rearrange the board. Coalitions that spent years attacking each other end up sharing a cabinet. Parties that governed side by side run rival slates in the next state contest. For anyone outside the country, working out who is actually in charge can feel like opening a novel in the middle.
None of it is random. The pattern flows from a handful of structural facts: a first-past-the-post voting system, a fragmented party landscape, constitutional rules on party-switching, and a federation in which states and the centre can be governed by different teams. The five points below cover most of what looks confusing from the outside.

1. Federal power is decided by seat arithmetic, not the popular vote
General elections in Malaysia are administered by the Election Commission of Malaysia. The national legislature, the Dewan Rakyat, has 222 elected members. To form a government, a party or coalition generally needs the support of a simple majority, which normally means 112 seats.
Each of those 222 seats is a single-member constituency decided by first-past-the-post: the candidate with the most valid votes wins. There is no proportional representation, and voting is not compulsory. The result is a system in which vote share and seat share can diverge sharply.
Negeri Sembilan’s state election in August 2026 offered a clear example. Pakatan Harapan took the largest share of the vote, roughly 40.2 percent (about 256,000 votes), yet won only 11 of the 36 state seats. Barisan Nasional and Perikatan Nasional finished behind on the combined vote but between them held 25 seats, enough to run the state. Winning the most votes and winning the election are two different things.

2. There is no permanent ruling alliance
For most of Malaysia’s history since independence in 1957, one coalition, Barisan Nasional, governed continuously. That ended at the general election of 9 May 2018, when Pakatan Harapan and its allies won 121 seats against BN’s 79, the first transfer of federal power in the country’s history.
That administration did not serve a full term. In 2020 a coalition partner withdrew its support and the federal government changed hands without a general election, a reminder that control of the centre depends on holding a majority of MPs together, not only on the last vote count.
The 2022 general election, held on 19 November, produced the first hung parliament in Malaysian history. The final tally across all 222 seats was Pakatan Harapan 82, Perikatan Nasional 74, Barisan Nasional 30, Gabungan Parti Sarawak 23 and Gabungan Rakyat Sabah 6, with the remainder held by smaller parties and independents. No bloc reached 112.
When that happens, the Yang di-Pertuan Agong, the federal head of state, appoints as prime minister the member who in his judgement is likely to command the confidence of the House, under Article 43(2)(a) of the Federal Constitution. The outcome in 2022 was a “unity government” that brought the former rivals PH, BN and GPS into the same administration.
| Coalition | Main component parties | Position after the 2022 election |
|---|---|---|
| Pakatan Harapan (PH) | PKR, DAP, Amanah | Leads the federal government |
| Barisan Nasional (BN) | UMNO, MCA, MIC | Federal partner in the unity government |
| Perikatan Nasional (PN) | Founded in 2020 around Bersatu, PAS and Gerakan | Main federal opposition; governs several states |
| Gabungan Parti Sarawak (GPS) | PBB, PDP, SUPP, PRS | Sarawak-based federal partner |
| Gabungan Rakyat Sabah (GRS) | Sabah-based coalition including GAGASAN and PBS | Governs Sabah and supports the federal government |
Party composition is approximate and can change; Perikatan Nasional’s membership was itself the subject of dispute in 2026. Composition based on Malaysian media reporting of party and coalition records, current as of September 2026.

3. Why the anti-hopping law does not stop government changes
To reduce the churn of lawmakers changing sides, Parliament passed the Constitution (Amendment) (No. 3) Act 2022, which came into force on 5 October 2022 and inserted Article 49A into the Federal Constitution.
Under Article 49A, a member of the Dewan Rakyat who was elected under a party and then resigns or ceases to be a member, or who was elected as an independent and later joins a party, vacates the seat. The Speaker must notify the Election Commission within 21 days, and a by-election is generally held within 60 days. Expulsion by a party, the dissolution or deregistration of a party, and resignation in order to become Speaker are among the recognised exceptions.
The law is aimed at individual party-switching. It does not directly regulate a different route to a change of government: a coalition partner withdrawing its support, or negotiating an alternative majority, without any individual lawmaker formally leaving a party. That limit was set out in a 2026 analysis by the ISEAS – Yusof Ishak Institute, which noted that governments can change through shifts in coalitional allegiance as well as at the ballot box.
4. A state and the federation can be run by rival coalitions
Malaysia is a federation of 13 states and three federal territories, and each state forms its own government. A state’s Menteri Besar is appointed by the state’s Ruler and must command a majority in the state assembly. In the four states without a hereditary Ruler – Melaka, Penang, Sabah and Sarawak – the Yang di-Pertua Negeri appoints a Chief Minister.
Because federal and state coalitions are assembled through separate negotiations, the same parties can be partners in the capital and opponents in a state. After the 2022 election, several states were led by Perikatan Nasional while the federal government was PH-led, and Sabah and Sarawak are governed by their own regional coalitions, GRS and GPS. A 2024 paper from the ISEAS – Yusof Ishak Institute describes coalition arrangements as having been “formed in different ways at different times in different states”, and flags Johor as an unusual case: PH sits in opposition to the BN state government even though the two are allies at federal level.
5. State elections are the clearest pointer to the next general election
A general election must be held by 2028, though it can be called earlier. Because the same parties compete at both levels, state contests are watched closely as a barometer of federal sentiment.
- Johor, 11 July 2026: BN won 48 of 56 seats (UMNO 36, MCA 8, MIC 4). PH fell to eight seats from 12 in 2022, despite turnout of about 68.7 percent.
- Negeri Sembilan, 1 August 2026: BN 18, PH 11, PN 7. BN and PN together controlled 25 of 36 seats. PH lost the state despite winning the most votes.
- Sabah, 29 November 2025: no bloc won a majority. GRS took 29 of 73 seats, Warisan 25 and BN 6; GRS went on to lead the state government.
| State | Polling date | Seats | Result |
|---|---|---|---|
| Sabah | 29 November 2025 | 73 | GRS 29, Warisan 25, BN 6, others 13; hung assembly |
| Johor | 11 July 2026 | 56 | BN 48, PH 8 |
| Negeri Sembilan | 1 August 2026 | 36 | BN 18, PN 7, PH 11 |
Sources: Election Commission of Malaysia official results as reported by Malaysian media, current as of September 2026.
Taken together, those results are the closest thing Malaysia has to a national temperature reading. Regional election reporting has tracked how gains by BN and PN at state level carry direct consequences for the federal coalition, which relies on the same parties continuing to cooperate in parliament. Because the next general election could come before the 2028 deadline, each state contest now functions as a dry run for the federal one.

Questions readers ask about Malaysian coalition politics
How many seats are needed to form the federal government?
A simple majority of the 222-seat Dewan Rakyat, which normally works out to 112 seats. A coalition that reaches that number can form a government; one that falls short must negotiate with other blocs.
Why can a party win the most votes but not the most seats?
Because seats are decided one constituency at a time under first-past-the-post. Efficiently distributed votes produce more seats than the same total spread thinly across many close contests.
What does the anti-hopping law actually prevent?
It primarily targets individual lawmakers who leave the party they were elected with, or independents who later join a party, by triggering a vacancy and, in most cases, a by-election. It does not directly cover a coalition partner withdrawing support from a government.
Can a state be governed by a different coalition from the federal one?
Yes. State governments are formed separately, so the coalition running Putrajaya is not necessarily the one running a given state at the same time.
Does the King choose the prime minister?
The Yang di-Pertuan Agong formally appoints the prime minister, and the Constitution directs that the choice be a member likely to command the confidence of the House of Representatives. In practice this follows the seat arithmetic that emerges from an election.
When is Malaysia’s next general election due?
By 2028. It may be called earlier, and recent state results have fuelled speculation about the timing.
How this article was put together
This piece set out to explain why Malaysian coalition politics changes so often, for readers who follow the country from a distance. It draws on Malaysia’s Federal Constitution as published by the Constitute Project, official process information and results from the Election Commission of Malaysia, and analysis from the ISEAS – Yusof Ishak Institute. State election figures are the official tallies as reported in September 2026. Coalition membership is fluid and party records can lag behind events, so the composition table should be read as a snapshot rather than a fixed roster. Seat totals will need rechecking if a general election is called before 2028.



