Preston born Andy Lonergan joined his hometown club at the age of 16, working his way up to the first team where he made his debut under manager David Moyes in a cup tie away at Coventry City. He then went on to spend time out on loan at Darlington, Blackpool, Wycombe Wanderers and Swindon Town before establishing himself as first choice at Preston North End in 2007.
Lonergan moved to Leeds United in 2011 to replace Kasper Schmeichel. He would go on to make 35 appearances in his one and only season at Elland Road before coming to join Owen Coyle's Bolton side in the summer of 2012 for £400,000 where he would provide competition for first choice goalkeeper Adam Bogdan. He would go on to make just nine appearances for the club, of which five came in the league and four in cup competitions.
He is eligible to play for both England and the Republic of Ireland, though to date has yet to receive a call-up for either nation. He admitted in May 2010 that he would welcome a call-up from Ireland manager Giovanni Trappatoni.