Hibs struggled in the 2011–12 season, only securing a place in the SPL with a 4–0 win against Dunfermline in early May. Hanlon scored the fourth goal, which was awarded despite the fact the ball had not crossed the goal-line. He played in Scottish Cup final defeats in 2012 and 2013.