How to Train Your Dragon is a 2010 American animated action fantasy film loosely based on the 2003 book of the same name by Cressida Cowell. It follows the story of Hiccup, a Viking teen who befriends a dragon instead of slaying it, leading to a new understanding of the conflict between Vikings and dragons.