How to Train Your Dragon is a 2010 American animated fantasy film directed by Chris Sanders and Dean DeBlois and written by Sanders, DeBlois and Will Davies, based on the 2003 novel by Cressida Cowell.