The X-Files had only eight seasons.
The X-Files . The program spanned nine seasons , included 202 episodes , and a feature film of the same name . Later in 2008 , a second film was made and preceded a tenth season revival , which consisted of six episodes , in 2016 . In April 2017 , Fox officially announced that The X-Files would be returning for an eleventh season of ten episodes , which would air in the 2017 -- 18 television season . The first seven seasons featured Duchovny and Anderson equally . The X-Files (film) . The film takes place between seasons five ( episode `` The End '' ) and six ( episode `` The Beginning '' ) of the television series , and is based upon the series ' extraterrestrial mythology .