The Cherry and Whites came into this match having won seven of their last eight meetings with Castleford, the exception a 22-22 draw in June 2011. On that occasion Wigan relinquished a 22-4 lead and they did likewise this time around as a wonderful score from Jamie Ellis and two from Justin Carney revived the hosts.
Ben Flower, Pat Richards and Chris Tuson had earlier given Wigan the lead. Jake Webster pulled a try back but the visitors stretched out further thanks to Michael Mcllorum's effort early in the second half. Rangi Chase struck the post with a late drop-goal attempt, but Tuson had the final say when crossing for his second try in the last minute.
The Tigers therefore suffered a first home defeat of the campaign - but can take plenty of heart from their rousing second-half fightback.