2013 Kedah state election

The 13th Kedah state election was held on 5 May 2013. Polling took place in 36 constituencies throughout the Malaysian state of Kedah, with each electing a State Assemblyman to the Kedah State Legislative Assembly. The election was conducted by the Malaysian Election Commission. The state election was held concurrently with the 2013 Malaysian general election.

Barisan Nasional (BN), having lost the state for the first time in their history in the 2008 election, regains the state government after winning 21 of the 36 seats. Pakatan Rakyat (PR), the informal coalition of Democratic Action Party (DAP), Parti Islam Se-Malaysia (PAS) and Parti Keadilan Rakyat (PKR), won the remaining 15 seats to become the main opposition.

This election is the only time the DAP-PAS-PKR coalition is referred as Pakatan Rakyat during the Kedah state election campaign (although each party is contesting using their own name and logo), and also the final Kedah state election which the three parties works as a coalition; PR splits in 2015 due to disagreements between DAP and PAS.

Aftermath
Mukhriz Mahathir, the UMNO and BN state chairman and MLA for Ayer Hitam, were sworn in as the new Kedah Menteri Besar on the next day, in front of the Sultan of Kedah. But on 3 February 2016, Mukhriz resigned as Menteri Besar after facing no-confidence vote in the state assembly, and were replaced by Ahmad Bashah Md Hanipah. Mukhriz later was sacked from UMNO on 24 June the same year, and together with his father Mahathir Mohamad and other sacked UMNO members formed Malaysian United Indigenous Party (PPBM/BERSATU) a month later.

The previous Menteri Besar and MLA for Sungai Limau, Azizan Abdul Razak died on 26 September 2013 due to internal organ failure and bacterial infection. His death triggered the 2013 Sungai Limau by-election, which were won by PAS candidate to retain the seat.

In 2015, the PR coalition was disbanded, due to disagreements between PAS and DAP over the former's insistence to implement the Islamic penal code, known as hudud, in the State of Kelantan. Also in 2015, a group of progressives in PAS led by Mohamad Sabu exits the party after losing in the party election, later forming National Trust Party (Amanah). Amanah joined forces with DAP and PKR in forming a successor coalition to PR, later known as Pakatan Harapan (PH) after PPBM/BERSATU joined the coalition in 2017. As a result of the split, PH were reduced to 6 seats in the state assembly, but later gained 3 seats after defection of 2 PAS MLA (Phahrolrazi Zawawi to Amanah, Amiruddin Hamzah to PPBM/BERSATU) and 1 UMNO MLA (Mukhriz to PPBM/BERSATU).