Since 2012: Career expansion
McKellen reprised the role of Gandalf on screen in Peter Jackson's three-part film adaptation of The Hobbit starting with The Hobbit: An Unexpected Journey (2012), followed by The Hobbit: The Desolation of Smaug (2013), and finally The Hobbit: The Battle of the Five Armies (2014). Despite the series receiving mixed reviews, it emerged as a financial success. McKellen
reprised his role as Erik Lehnsherr/Magneto in James Mangold's The Wolverine (2013), and Singer's X-Men: Days of Future Past (2014). In November 2013, McKellen appeared in the Doctor Who 50th anniversary comedy homage The Five(ish) Doctors Reboot. From 2013 to 2016, McKellen co-starred in the ITV sitcom Vicious as Freddie Thornhill, alongside Derek Jacobi. The series revolves around an elderly gay couple who have been together for 50 years. The show's original title was "Vicious Old Queens". There are ongoing jokes about McKellen's career as a relatively unsuccessful character actor who owns a tux because he stole it after doing a guest spot on "Downton Abbey" and that he holds the title of "10th Most Popular 'Doctor Who' Villain". Liz Shannon Miller of IndieWire noted that while the concept seemed "weird as hell", "Once you come to accept McKellen and Jacobi in a multi-camera format, there is a lot to respect about their performances; specifically, the way that those decades of classical training adapt themselves to the sitcom world. Much has been written before about how the tradition of the multi-cam, filmed in front of a studio audience, relates to theatre, and McKellen and Jacobi know how to play to a live crowd".
In 2015, McKellen reunited with director Bill Condon playing an elderly Sherlock Holmes in the mystery film Mr. Holmes alongside Laura Linney. In the film based on the novel A Slight Trick of the Mind (2005), Holmes now 93, struggles to recall the details of his final case because his mind is slowly deteriorating. The film premiered at the 65th Berlin International Film Festival with McKellen receiving acclaim for his performance. Rolling Stone film critic Peter Travers praised his performance writing, "Don't think you can take another Hollywood version of Sherlock Holmes? Snap out of it. Apologies to Robert Downey Jr. and Benedict Cumberbatch, but what Ian McKellen does with Arthur Conan Doyle's fictional detective in Mr Holmes is nothing short of magnificent ... Director Bill Condon, who teamed superbly with McKellen on the Oscar-winning Gods and Monsters, brings us a riveting character study of a lion not going gentle into winter". In October 2015, McKellen appeared as Norman to Anthony Hopkins's Sir in a BBC Two production of Ronald Harwood's The Dresser, alongside Edward Fox, Vanessa Kirby, and Emily Watson. Television critic Tim Goodman of The Hollywood Reporter praised the film and the central performances writing, "there's no escaping that Hopkins and McKellen are the central figures here, giving wonderfully nuanced performances, onscreen together for their first time in their acclaimed careers". For his performance McKellen received a British Academy Television Award nomination for his performance.
In 2017, McKellen portrayed in a supporting role as Cogsworth (originally voiced by David Ogden Stiers in the 1991 animated film) in the live-action adaptation of Disney's Beauty and the Beast, directed by Bill Condon (which marked the third collaboration between Condon and McKellen, after Gods and Monsters and Mr. Holmes) and co-starred alongside Emma Watson and Dan Stevens. The film was released to positive reviews and grossed $1.2 billion worldwide, making it the highest-grossing live-action musical film, the second highest-grossing film of 2017, and the 17th highest-grossing film of all time. In 2017, McKellen appeared in the documentary McKellen: Playing the Part, directed by director Joe Stephenson. The documentary explores McKellen's life and career as an actor.
In October 2017, McKellen played King Lear at the Chichester Festival Theatre, a role that he said was likely to be his "last big Shakespearean part". He performed the play at the Duke of York's Theatre in London's West End during the summer of 2018. McKellen voiced Dr. Cecil Pritchfield the child psychiatrist for Stewie Griffin in the Family Guy episode "Send in Stewie, Please" in 2018. He appeared in Kenneth Branagh's historical drama All is True (2018) portraying Henry Wriothesley, 3rd Earl of Southampton, opposite Branagh and Judi Dench. Peter Bradshaw of The Guardian wrote that Judi Dench and he "offer solid support" and added that his role is a "colossal, emphatically wigged cameo". To celebrate his 80th birthday, in 2019 McKellen performed in a one-man stage show titled Ian McKellen on Stage: With Tolkien, Shakespeare, Others and YOU celebrating the various performances throughout his career. The show toured across the UK and Ireland (raising money for each venue and organisation's charity) before a West End run at the Harold Pinter Theatre and was performed for one night only on Broadway at the Hudson Theatre.
In 2019, he reunited with Condon for a fourth time in the mystery thriller The Good Liar opposite Helen Mirren, who received praise for their onscreen chemistry. That same year, he appeared as Gus the Theatre Cat in the movie musical adaptation of Cats directed by Tom Hooper. The film featured performances from Jennifer Hudson, James Corden, Rebel Wilson, Idris Elba, and Judi Dench. The film was widely panned for its poor visual effects, editing, performances, screenplay, and was a box office disaster. In 2021, he played the title role in an age-blind production of Hamlet (having previously played the part in a UK and European tour in 1971), followed by the role of Firs in Chekov's The Cherry Orchard at the Theatre Royal, Windsor. Since November 2021, McKellen and ABBA member Björn Ulvaeus have posted Instagram videos featuring the pair knitting Christmas jumpers and other festive attire. In 2023, it was revealed that Ulvaeus and McKellen would be knitting stagewear for Kylie Minogue as part of her More Than Just a Residency concert residency at Voltaire at The Venetian Las Vegas.
In 2023, he starred in the period thriller The Critic directed by Anand Tucker. The film is written by Patrick Marber adapted off the 2015 novel Curtain Call by Anthony Quinn. The film premiered at the 2023 Toronto International Film Festival.
In April 2024, McKellen starred as John Falstaff in Player Kings (an adaptation of Shakespeare's Henry IV Parts 1 and 2) opposite Richard Coyle and Toheeb Jimoh at the Noël Coward Theatre in London's West End and received rave reviews (following runs at New Wimbledon Theatre and Manchester Opera House). The production was scheduled to run until 22 June before touring to Bristol, Birmingham, Norwich and Newcastle upon Tyne, however during the performance on 17 June, McKellen fell off the front of the stage during a fight scene and called for assistance; the performance was cancelled and the audience dismissed. He was later reported to have recovered and to be "in good spirits." He subsequently pulled out of the remaining West End and tour performances on medical advice.
By early 2025, he resumed his activities with a starring role in The Christophers, a black comedy directed by Steven Soderbergh.
The 2025 Christmas pantomime at the Pleasance Theatre, Islington, features a cameo appearance on video of McKellen as the dog Toto in The Wonderful Wizard of Oz-lington, a show derived from Wicked and The Wizard of Oz.
McKellen is set to reprise his role as Magneto in Avengers: Doomsday (2026). He is also attached to return as Gandalf in the Andy Serkis directed The Hunt for Gollum (2027).