Shanks was the National Party's candidate in
Ohariu-Belmont at the
2005 general election. She did not defeat incumbent
Peter Dunne but performed more strongly than National's 2002 candidate Dale Stevens. At 46th on the
party list, Shanks was the highest-placed National list candidate not to be elected (indeed, the election night result projected that she would be elected but the final result saw National's result drop by one seat). She eventually joined Parliament in February 2007 when former leader
Don Brash resigned. Shanks became her party's associate spokeswoman for commerce and economic development and sat on the social services committee for the remainder of the term. In the
2008 general election, Shanks contested the new
Ōhariu electorate but did not intend to win. National ran a "party vote only" campaign in that seat to ensure ally Dunne's re-election. She was placed again at 46th on the party list and National's stronger party vote result meant that she returned to Parliament. National, with Dunne's support, formed a
new minority government. Shanks was a member of the commerce committee as well as deputy chair (2008–2009) and later chair (2009–2011) of the social services committee. She was succeeded as a list MP by
Jo Hayes. == Post-parliamentary career ==