Claim: Logan's screenplay was written and directed by James Mangold and also written by Scott Frank and Michael Green.

Logan is a 2017 American superhero film featuring the Marvel Comics character Wolverine , produced by Marvel Entertainment , TSG Entertainment , and The Donners ' Company , and distributed by 20th Century Fox . It is the tenth installment in the X-Men film series , as well as the third and final Wolverine solo film following X-Men Origins : Wolverine -LRB- 2009 -RRB- and The Wolverine -LRB- 2013 -RRB- , as well serving as a reboot to the franchise and being set in its own universe . The film takes inspiration from `` Old Man Logan '' by Mark Millar and Steve McNiven , which follows an aged Wolverine undertaking a final adventure in a dystopian future .   The film is directed by James Mangold , who co-wrote the screenplay with Scott Frank and Michael Green , from a story by Mangold . Hugh Jackman stars as Logan in his final portrayal of the character after having played the role for 17 years , with Patrick Stewart co-starring as Charles Xavier . Richard E. Grant , Boyd Holbrook , Stephen Merchant , Dafne Keen -LRB- in her first film role -RRB- , Eriq La Salle , Elise Neal and Elizabeth Rodriguez are all featured in supporting roles . Principal photography began in Louisiana on May 2 , 2016 and ended on August 19 , 2016 in New Mexico . The locations used for Logan were mainly Louisiana , New Mexico and Mississippi .   Logan premiered at the 67th Berlin International Film Festival on February 17 , 2017 , and was theatrically released in the United States on March 3 , 2017 , in standard and IMAX formats . It received praise from critics and audiences , becoming the best-reviewed film in the X-Men film series and being considered by many as one of the best superhero films of all time , and has grossed $ 607 million worldwide against its $ 97 million budget , making it the fourth highest-grossing film of 2017 .