2005–2019: Luther and stardom
In 2005, he portrayed Captain Augustin Muganza in Sometimes in April, an HBO film about the Rwandan genocide. Elba appeared on the 2007 BET special Black Men: The Truth. He appeared as Charlie Gotso on The No. 1 Ladies' Detective Agency, filmed in Botswana. The series premiered on 23 March 2008, Easter Sunday, on BBC One, receiving a high 6.3 million viewers and 27% of the audience share. In January 2009, Variety reported that Elba would portray Charles Miner, a new rival to Dunder Mifflin regional manager Michael Scott (Steve Carell) for NBC's The Office. Elba appeared in a six-episode story arc later in the 2009 season, as well as the season finale. In September 2009, he signed a deal to star as the lead role on the six-part BBC television series Luther, which aired in May 2010. He appeared on Showtime's The Big C in 2010. At the 69th Golden Globe Awards telecast on 15 January 2012, Elba won Best Actor in a Miniseries or Television Film for his role on the BBC crime thriller series Luther.
In 2007, Elba signed on to play the lead role of the film Daddy's Little Girls, playing Monty, a blue-collar mechanic who falls in love with an attorney helping him gain custody of his kids, and finds the relationship and his custody hopes threatened by the return of his former wife. He appeared in 28 Weeks Later (2007) and This Christmas (2007), which brought in nearly $50 million (~$74.7 million in 2025) at the box office in 2007. In 2008, he starred in the horror film Prom Night and the Guy Ritchie London gangster film RocknRolla. In 2009, he starred in the horror film The Unborn and in Obsessed, a thriller that had him cast opposite Beyoncé. The latter was a box office success, taking $29 million in its opening weekend. Elba's next film was Legacy (2010), in which he portrayed a black ops soldier who returns to Brooklyn after a failed mission in Eastern Europe, where he has undertaken a journey looking for retribution. He starred in Dark Castle's adaptation of DC/Vertigo's The Losers, under the direction of Sylvain White, in the role of Roque, the second-in-command of a black-ops team out for revenge against a government that did them wrong. Filming took place in Puerto Rico, and the movie was released in April 2010. Elba appeared in the thriller Takers (2010). He played Heimdall in Kenneth Branagh's film Thor (2011), based on the Marvel Comics superhero of the same name.
In August 2010, Elba signed up to portray the title character in a reboot of James Patterson's Alex Cross film franchise. However, in February 2011, he was replaced by Tyler Perry. In Ghost Rider: Spirit of Vengeance (2011), the sequel to Ghost Rider (2007), Elba played an alcoholic warrior monk tasked with finding the title character. In his first video game appearance, Elba voiced the character Truck in the 2011 game Call of Duty: Modern Warfare 3. In February 2012, Elba confirmed that he would portray Nelson Mandela in the film Mandela: Long Walk to Freedom, which is based on his autobiography. As part of his preparation for the role, Elba spent a night locked in a cell alone on Robben Island, where Mandela had been imprisoned. His performance earned him a nomination for the Golden Globe Award for Best Actor – Motion Picture Drama. In June 2012, Elba portrayed the role of Captain Janek in Ridley Scott's Prometheus. He joined the cast of the film Pacific Rim (2013) in the role of Stacker Pentecost. He reprised his role as Heimdall in Thor: The Dark World in 2013. In January 2014, he confirmed that he would be starring in a film adaptation of Luther. In 2014, he starred in No Good Deed as a vengeful psychopathic serial killer.
In 2015, Elba appeared as Heimdall in the superhero blockbuster Avengers: Age of Ultron, directed by Joss Whedon. Elba also starred alongside Abraham Attah in the film Beasts of No Nation, which premiered in select theatres and on Netflix. He earned a Golden Globe Award nomination for Best Performance by an Actor in a Supporting Role in any Motion Picture, as well as a BAFTA Award nomination for Supporting Actor in the Film category. In 2016, he had several voice roles: the cape buffalo chief of police, Chief Bogo, in Disney's Zootopia, alongside Ginnifer Goodwin and Jason Bateman; villainous tiger Shere Khan in The Jungle Book (2016), a live-action adaptation of the animated 1967 film of the same name, directed by Jon Favreau; and sea lion Fluke in Pixar's Finding Dory, alongside Ellen DeGeneres and Albert Brooks. Also that year, he played the main antagonist, Krall, in the sequel Star Trek Beyond.
In 2017, he played Roland Deschain in the Stephen King film adaptation The Dark Tower, starred in The Mountain Between Us and Aaron Sorkin's directorial debut Molly's Game, alongside Jessica Chastain. In April 2018, it was announced that Elba was cast as Charlie in the Netflix comedy series, Turn Up Charlie. It premiered on 15 March 2019 and was cancelled after one season. He also created and starred in the semi-autobiographical comedy In the Long Run. In 2019, Elba starred as the villain in Fast & Furious Presents: Hobbs & Shaw, a spin-off of Fast & Furious franchise, and played Macavity in Tom Hooper's film adaptation of Andrew Lloyd Webber's musical, Cats.