 Hansen moved back to Denmark on 31 January 2012, signing for Viborg FF.It took until on 5 April 2012 for Hansen to make his Viborg FF debut, in a 2–2 draw against Akademisk BK.Hansen's brilliant display in recent games led Manager Søren Frederiksen commenting on his performance that he's one of the best goalkeeper to play in the Danish 1st Division.