Alannah MacTiernan was elected to the federal seat of Perth at the 2013 federal election, after serving as Mayor of the Town of Vincent from 2011 to 2013.
Prior to that, she was a Labor Party member of the Western Australia legislative assembly from 1996 to 2010, and a senior minister in the Labor government, driving through the Perth to Mandurah railway project as Minister for Planning and Infrastructure 2001 to 2008.
After retiring from federal parliament in 2016, Ms MacTiernan returned to state politics as an MLC for the North Metropolitan area in 2017. She became the Minister for Regional Development, Agriculture and Food, Minister Assisting the Minister for State Development, Jobs & Trade, Ports. Following the 2021 state election, Ms MacTiernan relinquished the Jobs & Trade and Ports portfolios, and became the Minister Assisting the Minister for State Development for Hydrogen. In the December 2021 cabinet reshuffle, Ms MacTiernan added Hydrogen Industry to her Regional Development, Agriculture and Food portfolios. She decided to retire from the cabinet at the end of 2022 and from parliament in early 2023.