2013 Perak state election

The 13th Perak state election was held on 5 May 2013. Polling took place in 59 constituencies throughout the State of Perak, with each electing a State Assemblyman to the Perak 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 regained the state government control in the controversial 2009 Perak constitutional crisis after their loss in the 2008 election, narrowly retains the government after winning 31 of the 59 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 28 seats to become the main opposition.

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

Aftermath
Zambry was reappointed as Menteri Besar in a swearing-in ceremony in front of the Regent of Perak, Raja Dr Nazrin Shah on 7 May.

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 the splinter party of UMNO, Malaysian United Indigenous Party (PPBM) joined the coalition in 2017.

As a result of the PR split, the coalition's successor, the PH, saw their seat reduced to 23 seats in the Perak Assembly, but later increased to 24 prior to the 2018 state election after MLA for Changkat Jering, Mohammad Nizar Jamaluddin exits PAS to join Amanah, while PAS as a single party retained 4 seats as a result of Nizar's defection.