Ardern put forward her name for the Labour nomination for the Mount Albert by-election to be held in February 2017 following the resignation of David Shearer on 8 December 2016. When nominations for the Labour Party closed on 12 January 2017, Ardern was the only nominee and was elected unopposed.