The prime minister<!--"prime minister" is uncapitalised here because it is preceded by modifier "The", per MOS:JOBTITLES bullet 3 and table column 2 example 1.--> of Malaysia (; ) is the head of government of Malaysia. The prime minister directs the executive branch of the federal government. The Yang di-Pertuan Agong appoints the prime minister who is a member of Parliament (MP) who, in his opinion, is most likely to command the confidence of a majority of MPs. The prime minister is usually the leader of the party winning the most seats in a general election.

After the formation of Malaysia on 16 September 1963, Tunku Abdul Rahman, whom was the chief minister of the Federation of Malaya at the time, became the first prime minister of Malaysia.

The current prime minister is Anwar Ibrahim, who was elected in the 2022 Malaysian general election.

Appointment

thumb|right|The prime minister's office at [[Perdana Putra, Putrajaya]]

According to the Federal Constitution, the Yang di-Pertuan Agong shall first appoint a prime minister to preside over the Cabinet. The prime minister is to be a member of the Dewan Rakyat (House of Representatives), and must have the confidence of the majority of the members of that House. This person must be a Malaysian citizen, but cannot have obtained their citizenship by means of naturalisation or registration. The Yang di-Pertuan Agong shall appoint other ministers from either the Dewan Rakyat or Dewan Negara (Senate) with the prime minister's advice.

The prime minister and their cabinet ministers must take and subscribe to the oath of office and allegiance as well as the oath of secrecy in the presence of the Yang di-Pertuan Agong before they can exercise functions of office. The Cabinet is collectively accountable to the Parliament of Malaysia. The members of the Cabinet shall not hold any office of profit and engage in any trade, business or profession that will cause a conflict of interest. The Prime Minister's Department (sometimes referred to as the Prime Minister's Office) is the body and ministry in which the prime minister exercises their functions and powers.

In the case where a government cannot get its appropriation (budget) legislation passed by the House of Representatives, or when the House passes a no confidence vote in the government, the prime minister is bound by convention to resign immediately. The Yang di-Pertuan Agong's choice of replacement prime minister will be dictated by the circumstances. All other ministers shall continue to hold office by the pleasure of the Yang di-Pertuan Agong, unless if the appointment of any minister is revoked by their majesty upon the advice of the prime minister. Any minister may resign their office.

Following a resignation in other circumstances, defeat in an election, or the death of a prime minister, the Yang di-Pertuan Agong would generally appoint as the new leader of the governing party or coalition as new Prime Minister.

Malaysia uses a first-past-the-post-voting system, which means a party or coalition will lead a government if they manage to gain 112 seats in the Dewan Rakyat.

Powers

The power of the prime minister is subject to a number of limitations. Prime ministers removed as leader of their party, or whose government loses a vote of no confidence in the House of Representatives, must advise a new election of the lower house or resign the office. The defeat of a supply bill (one that concerns the spending of money) or unable to pass important policy-related legislation is seen to require the resignation of the government or dissolution of Parliament, much like a non-confidence vote, since a government that cannot spend money is hamstrung, also called loss of supply.

The prime minister's party will normally have a majority in the House of Representatives and party discipline is exceptionally strong in Malaysian politics, so passage of the government's legislation through the House of Representatives is mostly a formality.

Under the Constitution, the prime minister's role includes advising the Yang di-Pertuan Agong on:

  • the appointment of the federal ministers (full members of cabinet);
  • the appointment of the federal deputy ministers, parliamentary secretaries (non-full members of cabinet);
  • the appointment of 44 out of 70 Senators in the Dewan Negara;
  • the summoning and adjournment of sittings of the Dewan Rakyat;
  • the appointment of judges of the superior courts (which are the High Courts, the Court of Appeal, and the Federal Court);
  • the appointment of the attorney-general and the auditor-general; and
  • the appointment of the chairmen and members of the Judicial and Legal Service Commission, Election Commission, Police Force Commission, Education Service Commission, National Finance Council, and Armed Forces Council;

Under Article 39 of the Constitution, executive authority is vested in the Yang di-Pertuan Agong. However, Article 40(1) states that in most cases, the Yang di-Pertuan Agong is bound to exercise his powers on the advice of the Cabinet or a minister acting under the Cabinet's general authority. Thus, in practice, actual governing authority is vested in the Prime Minister and Cabinet.

Acting prime minister

From time to time, prime ministers are required to leave the country on business and a deputy is appointed to take their place during that time. In the days before jet aeroplanes, such absences could be for extended periods. However, the position can be fully decided by the Yang di-Pertuan Agong, the King of Malaysia when the position remains empty following the sudden resignation or death of the prime minister.

Caretaker prime minister

Under Article 55(3) of Constitution of Malaysia, the lower house of Parliament, unless sooner dissolved by the Yang di-Pertuan Agong with his own discretion on the advice of the prime minister, shall continue for five years from the date of its first meeting. Article 55(4) of the Constitution permits a delay of 60 days in the holding of the general election from the date of dissolution and Parliament shall be summoned to meet on a date not later than 120 days from the date of dissolution. Conventionally, between the dissolution of one Parliament and the convening of the next, the prime minister and the cabinet remain in office in a caretaker capacity.

List of prime ministers of Malaysia

Colour key (for political coalitions/parties):

(2) (6) (2) (1)

{| class="wikitable" style="line-height:1.4em; text-align:center"

! rowspan=2 | #

! rowspan=2 |Portrait

! rowspan=2 width="215" |Prime Minister<br />

! colspan=3 |Term of office

! rowspan=2 |Mandate

! colspan=2 rowspan=2 |Party

! rowspan=2 |Government

! rowspan=2 |Monarch(s)

|-

! style="width:70px;" |Took office

! style="width:70px;" |Left office

! style="width:70px;" |Time in office

|-

| rowspan=4 | 1

| rowspan="4" |107x107px

| rowspan="4" |<br>Tunku Abdul Rahman<br><br>

| rowspan=4 class="nowrap" |<br>1957

| rowspan=4 class="nowrap" |<br>1970

| rowspan=4 |

|1955

| rowspan="4" bgcolor=""|

| rowspan="4" bgcolor="#bdcbf5" |Alliance (UMNO)

|Rahman I

| rowspan=4|Abdul Rahman

----

Hisamuddin

----

Putra

----

Ismail Nasiruddin

----

Abdul Halim

|-

|1959

|Rahman II

|-

|1964

|Rahman III

|-

|1969

|Rahman IV

|-

| rowspan=2 | 2

| rowspan="2" | 106x106px

| rowspan="2" |<br/>Abdul Razak Hussein<br><br>

| rowspan="2" class="nowrap" |<br>1970

| rowspan="2" class="nowrap" |<br>1976

| rowspan=2 |

|

| bgcolor=""|

|bgcolor="#bdcbf5" |Alliance (UMNO)

|Razak I

| rowspan="2" |Abdul Halim

----

Yahya Petra

|-

|1974

| bgcolor=""|

|bgcolor="#bdcbf5" |BN (UMNO)

|Razak II

|-

| rowspan=2 | 3

| rowspan="2" |

| rowspan="2" |<br/>Hussein Onn<br/><br/>

| rowspan="2" class="nowrap" |<br/>1976

| rowspan="2" class="nowrap" |<br/>1981

| rowspan=2 |

|

| rowspan="2" bgcolor=""|

| rowspan="2" bgcolor="#bdcbf5" |BN (UMNO)

|Hussein I

| rowspan="2" |Yahya Petra

----

Ahmad Shah

|-

|1978

|Hussein II

|-

| rowspan=6 | 4

| rowspan="6" | 106x106px

| rowspan="6" |<br>Mahathir Mohamad<br><br>

| rowspan="6" class="nowrap" |<br>1981

| rowspan="6" class="nowrap" |<br>2003

| rowspan=6 |

|—

| rowspan="6" bgcolor=""|

| rowspan="6" bgcolor="#bdcbf5" |BN (UMNO)

|Mahathir I

| rowspan="6" |Ahmad Shah

----

Iskandar

----

Azlan Shah

----

Ja'afar

----

Salahuddin

----

Sirajuddin

|-

|1982

|Mahathir II

|-

|1986

|Mahathir III

|-

|1990

|Mahathir IV

|-

|1995

|Mahathir V

|-

|1999

|Mahathir VI

|-

| rowspan=3 | 5

| rowspan="3" |106x106px

| rowspan="3" |<br><br><br>

| rowspan="3" class="nowrap" |<br>2003

| rowspan="3" class="nowrap" |<br>2009

| rowspan=3|

|—

| rowspan="3" bgcolor=""|

| rowspan="3" bgcolor="#bdcbf5" |BN (UMNO)

|Abdullah I

| rowspan="3" |Sirajuddin

----

Mizan Zainal Abidin

|-

|2004

|Abdullah II

|-

|2008

|Abdullah III

|-

| rowspan=2 | 6

| rowspan="2" |107x107px

| rowspan="2" |<br>Mohd Najib Abdul Razak<br><br>

| rowspan="2" class="nowrap" |<br>2009

| rowspan="2" class="nowrap" |<br>2018

| rowspan=2|

|—

| rowspan="2" bgcolor=""|

| rowspan="2" bgcolor="#bdcbf5" |BN (UMNO)

|Najib I

| rowspan="2" |Mizan Zainal Abidin

----

Abdul Halim

----

Muhammad V

|-

|2013

|Najib II

|-

|7

| 106x106px

|<br>Mahathir Mohamad<br><br>

| class="nowrap" |<br>2018

| class="nowrap" |<br>2020

|

|2018

|bgcolor="" |

|bgcolor="#ffcccb" |PH (BERSATU)

|Mahathir VII

|Muhammad V

----

Abdullah

|-

| colspan="10" |

| rowspan="4" |Abdullah

|-

|8

|106x106px

|<br>Muhyiddin Mohd Yassin<br><br/>

| class="nowrap" |<br>2020

| class="nowrap" |<br>2021

|

|—

| bgcolor="" |

| bgcolor="#87add9" |PN (BERSATU)

|Muhyiddin

|-

| colspan="10" |

|-

|9

|106x106px

|<br>Ismail Sabri Yaakob<br><br>

| class="nowrap" |<br>2021

| class="nowrap" |<br>2022

|

|—

|bgcolor=""|

|bgcolor="#bdcbf5" |BN (UMNO)

|Ismail Sabri

|-

|10

|106x106px

|<br>Anwar Ibrahim<br><br>

| class="nowrap" |<br>2022

|Incumbent

|

|(2022)

|bgcolor="" |

|bgcolor="#ffcccb" |PH (PKR)

|Anwar

| Abdullah

----

Ibrahim Iskandar

|}

Timeline

Notes

List of acting prime ministers of Malaysia

Colour key (for political parties):

{| class="wikitable" style="text-align:center"

! colspan="2" |Portrait

!Name

<small>(Birth–Death)</small>

! colspan="2" |Term of office

!Notes

!Political Party

|-

| bgcolor="" |

| 155x155px

|Abdul Razak Hussein<br>

|19 August 1959

|19 November 1959

|Abdul Razak Hussein was the acting prime minister after the first prime minister, Tunku Abdul Rahman, stepped down as prime minister for three months in 1959 to strengthen his party, the Alliance Party for the 1959 federal elections.

| rowspan="2" |Alliance Party <br> (UMNO)

|-

| bgcolor="" |

|

|Ismail Abdul Rahman<br>

|22 September 1970

|22 September 1970

|Ismail Abdul Rahman occasionally acted as acting prime minister when Tunku Abdul Rahman and Abdul Razak Hussein were abroad.

|-

|bgcolor="" |

|155x155px

|V. T. Sambanthan<br>

|3 August 1973

|13 August 1973

|V. T. Sambanthan was called to serve as acting prime minister and chair the cabinet meeting for a day when the former prime minister Abdul Razak Hussein was overseas and his deputy Ismail Abdul Rahman had died.

||Alliance Party <br> (MIC)

|-

| bgcolor="" |

|

|Ling Liong Sik<br>

|4 February 1988

|16 February 1988

|Became the new chairman of the Barisan Nasional coalition, alongside as the acting prime minister for a few days.

||Barisan Nasional <br> (MCA)

|-

| bgcolor="" |

|155x155px

|Anwar Ibrahim<br>

|19 May 1997

|19 July 1997

|Served as the acting prime minister whilst Mahathir Mohamad was on vacation.

||Barisan Nasional <br> (UMNO)

|-

|}

List of interim or caretaker prime ministers of Malaysia

Colour key (for political parties):

{| class="wikitable" style="text-align:center"

! colspan="2" |Portrait

!Name

<small>(Birth–Death)</small>

! colspan="2" |Term of office

!Notes

!Political Party

|-

| bgcolor="" |

|110px

|Mahathir Mohamad <br>

|24 February 2020

|1 March 2020

|Appointed during the 2020–2022 Malaysian political crisis by at the time King of Malaysia Abdullah of Pahang. Prior to his appointment, there were no mentions of an interim prime minister in the Constitution of Malaysia.

|Pakatan Harapan <br> (BERSATU)

|-

| bgcolor="" |

| 110px

| Muhyiddin Yassin <br>

| 16 August 2021

| 21 August 2021

| Appointed during the 2020–2022 Malaysian political crisis by at the time King of Malaysia Abdullah of Pahang.

|Perikatan Nasional <br> (BERSATU)

|}

List of prime ministers by time in office

This is a list of prime minister of Malaysia by time in office. The listed number of days is calculated as the difference between dates, which counts the number of calendar days except the last day. The length of a full prime ministerial term of office usually varies according to when the two former and latter general elections are held. If the last day is included, all numbers would be one day more, except Mahathir Mohamad would have two more days, as he served two non-consecutive terms.

Of the individuals appointed prime minister of Malaysia, one died in office (Abdul Razak Hussein), five resigned from office (Tunku Abdul Rahman, Hussein Onn, Mahathir Mohamad, Abdullah Ahmad Badawi and Muhyiddin Yassin) and two lost reelection (Najib Razak and Ismail Sabri Yaakob).

Ismail Sabri Yaakob is spending the shortest time in office, while Mahathir spent the longest. Mahathir is the only Malaysian prime minister to have served more than three full terms.

Mahathir is the only prime minister to leave office and return for a second non-consecutive term. Consequently, while there have been 10 prime ministerships in the nation's history, only 9 people have been sworn into office as Mahathir is numbered as both the 4th and 7th prime minister.

<gallery class="center" widths="150" heights="150" caption="Longest and shortest prime ministerships">

File:Secretary Pompeo and Malaysian Prime Minister Mahathir Mohamad (43814329771) (Mahathir cropped).jpg|

File:Ismail_Sabri_in_the_White_House_(cropped,_3to4_portrait).jpg|

</gallery>

{| class="wikitable sortable"

|-

! data-sort-type="number" | Rank !! data-sort-type="text" | Prime minister !! class="unsortable" | Length<br/><small>in days</small> !! Order of prime ministership !! class="unsortable" | Number of terms

|-

| 1 || Mahathir Mohamad

| 8,805

| || One partial term (9 months, and 10 days) <br> followed by four full terms <br> and two non-consecutive partial terms <br> (3 years, 11 months, and 2 days) <br> and (1 year, 9 months, and 20 days)

|-

| 2 || Tunku Abdul Rahman

|

| || Three full terms <br> followed by one partial term (4 months, 12 days)

|-

| 3 || Najib Razak

|

| || One partial term (4 years, 1 month, and 2 days) <br> followed by one full term

|-

| 4 || Hussein Onn

|

| || Two partial terms (2 years, 6 months, and 7 days) <br> and (2 years, 11 months, and 24 days)

|-

| 5 || Abdullah Ahmad Badawi

|

| || One partial term (4 months, and 21 days) <br> followed by one full term <br> and one partial term (1 year, and 26 days)

|-

| 6 || Abdul Razak Hussein

|

| || Two partial terms (3 years, 11 months, and 23 days) <br> and (1 year, and 4 months)

|-bgcolor=#CCCCFF

| 7 || Anwar Ibrahim

|

| || Currently serving

|-

| 8 || Muhyiddin Yassin

|

|| || One partial term (1 year, 5 months, and 20 days)

|-

| 9 || Ismail Sabri Yaakob

|

| || One partial term (1 year, 3 months, and 3 days)

|-

|}

List of prime ministers by age

This is a list of prime ministers of Malaysia by age. The table charts the age of each prime minister of Malaysia at the time of prime ministerial inauguration (first inauguration if elected to multiple and consecutive terms), upon leaving office, and at the time of death. Where the prime minister is still living, their lifespan is calculated up to .

The youngest person to assume the prime ministership was Abdul Razak Hussein, who, at the age of 48, succeeded to the office after the resignation of Tunku Abdul Rahman. The oldest person to assume the prime ministership was Mahathir Mohamad (as the 7th prime minister), who took the prime ministerial oath of office 62 days before turning 93.

Died at age 53, Abdul Razak was also the youngest prime minister at the end of his tenure, and his lifespan was the shortest of any prime minister. At age 59, Hussein Onn was the youngest person to become a former prime minister. The oldest prime minister at the end of his tenure was Mahathir (as the 7th prime minister) at 94. Mahathir was born before his two predecessors (Abdullah Ahmad Badawi & Najib Razak) (as the 7th prime minister).

Ismail Sabri Yaakob is having the shortest retirement of any prime minister, after leaving office at age 62. Tunku's retirement, 20 years, is the longest in Malaysian prime ministerial history. At age , Mahathir is also the oldest living prime minister as well as the nation's longest-lived prime minister. He is the only Malaysian prime minister to have lived into his 90s. The youngest living prime minister is Ismail Sabri Yaakob, age .

{| class="sortable wikitable"

|-

! scope="col" rowspan=2 |

! scope="col" rowspan=2 | Prime minister

! scope="col" rowspan=2 | Born

! scope="col" rowspan=2 | Age at<br>

! scope="col" rowspan=2 | Age at<br>

! scope="col" rowspan=2 | <br>timespan

! scope="col" colspan=2 | Lifespan

|-

! scope="col" | Died

! scope="col" | Age

|- style="text-align: left; background:#FFFFFF"

! scope="row" | 1

|

|

| <br>

| <br>

|

|

|

|- style="text-align: left; background:#FFFFFF"

! scope="row" | 2

|

|

| <br>

| <br>

|

| <span style="display:none">--</span>14 Jan 1976

|

|- style="text-align: left; background:#FFFFFF"

! scope="row" | 3

| Hussein Onn

|

| <br>

| <br>

|

|

|

|- style="text-align: left; background:#FFFFFF"

! scope="row" | 4

|

|

| <br>

| <br>

|

| (Living)

| '

|- style="text-align: left; background:#FFFFFF"

! scope="row" | 5

| Abdullah Ahmad Badawi

|

| <br>

| <br>

|

| <span style="display:none">--</span>14 Apr 2025

|

|- style="text-align: left; background:#FFFFFF"

! scope="row" | 6

|

|

| <br>

| <br>

| '

| <span style="display:none">--</span>(Living)

| '

|- style="text-align: left; background:#FFFFFF"

! scope="row" | 7

| Mahathir Mohamad

|

| <br>

| <br>

| '

| <span style="display:none">--</span>(Living)

| '

|- style="text-align: left; background:#FFFFFF"

! scope="row" | 8

| Muhyiddin Yassin

|

| <br>

| <br>

| '

| <span style="display:none">--</span>(Living)

| '

|- style="text-align: left; background:#FFFFFF"

! scope="row" | 9

| Ismail Sabri Yaakob

|

| <br>

| <br>

| '

| <span style="display:none">--</span>(Living)

| '

|- style="text-align: left; background:#FFFFFF"

! scope="row" | 10

| Anwar Ibrahim

|

| <br>

| (Incumbent)

| (Incumbent)

| <span style="display:none">--</span>(Living)

| '

|- style="text-align: left; background:#FFFFFF"

! rowspan="2" | <abbr title="Order of presidency">#</abbr>

! rowspan="2" | Prime minister

! rowspan="2" | Born

! rowspan="2" | Age at<br>

! rowspan="2" | Age at<br>

! rowspan="2" | <br>timespan

! Died !! Age

|}

Living former prime ministers

Prime ministers are usually granted certain privileges after leaving office at government expense. Former prime ministers continue to be important national figures. The most recently deceased prime minister was Abdullah Ahmad Badawi (1939–2025), who died on 14 April 2025.

<gallery class="center" widths="150" heights="150" caption="Living former prime ministers">

File:Mahathir Mohamad in 18th Summit of Non-Aligned Movement (cropped).jpg|

File:Prime Minister of Malaysia, Dato’ Sri Mohd Najib Bin Tun Abdul Razak, at Hyderabad House, in New Delhi on January 26, 2018 (cropped).jpg|

File:Muhyiddin_Yassin_(51087589446)_(cropped).jpg|