On 25 July 2011, Lonergan signed for Leeds United on a three-year contract for an undisclosed fee. He competed with fellow new goalkeeper signing Paul Rachubka for the number one spot left vacant by the departed Kasper Schmeichel. Lonergan was briefly a teammate of then Leeds United manager Simon Grayson during a short loan spell at Blackpool in 2003. Lonergan made his first appearance in a Leeds shirt in the pre-season victory against Newcastle United. Lonergan was given the number 1 shirt for the forthcoming season.