2006–2013: Rise to prominence and subsequent hiatus
Larter auditioned for the science fiction drama television series Heroes on NBC while living in Los Angeles. She played the characters of Niki Sanders, who suffered from dissociative identity disorder, and Tracy Strauss on the show created by Tim Kring. Larter's initial character Niki Sanders, was a wife, mother, and a former internet stripper from Las Vegas exhibiting superhuman strength and alternate personalities who go by the names of Jessica and Niki. "Ali read for the part and just owned it from the second she walked in," Kring said to the Chicago Tribune, "It was a very impressive audition." In the third and fourth seasons, Larter played the new character of Tracy Strauss, who possessed the ability to freeze objects and later, transform her body into water.
Larter took on the title role in Marigold (2007), alongside Salman Khan, an Indian actor. The film was released in August 2007 and revolved around Marigold Lexington, an American actress (Larter) who goes to India and gets caught up in the exotic world of Bollywood. Filming took place in North India and London, commencing in June 2004. In an interview with the BBC, Larter remarked this role was "an opportunity to overcome my fear of singing and dancing because I have no professional training... I really focused on the character and loved this journey she went on and the experiences she had." She was paid a seven-figure salary for her part in the film.
In 2007, she appeared opposite Milla Jovovich in Resident Evil: Extinction, portraying Claire Redfield, who in the film, is the leader of a convoy of zombie apocalypse survivors going to Alaska in search of a safe haven. Her role sent her to Mexicali, Mexico for filming from May to late July, and required her hair to be dyed a light red. Speaking about her character Claire, Larter said, "She became the leader of this convoy. She's incredibly strong, patient. I think she serves a role for everyone within this convoy, let it be a mother to someone, a buddy, a best friend." Despite negative reviews, the film made $147 million worldwide. Also in the same year, she appeared with Hayes MacArthur in the comedy Homo Erectus and appeared as Evelyn Garland in the biographical drama Crazy, based on guitarist Hank Garland.
Larter starred opposite Beyoncé and Idris Elba from London, in the Screen Gems-produced thriller Obsessed (2009). The film follows an office executive Derek Charles (Elba) whose marriage to Knowles' character Sharon is threatened by the aggressive interests of a co-worker Lisa Sheridan, portrayed by Larter. In an interview with Glam, Larter said that she "was excited to get the chance to play a femme fatale. I love playing women that are dark and vulnerable and sort of filled with a little bit of crazy emotion." While the film was released to mixed reviews, Larter was critically praised for her performance. Derek Malcolm of the Evening Standard felt that the movie was a "dim reworking of Fatal Attraction" and noted: "Larter as the pathological minx is the best thing about it." Obsessed opened No. 1 in its opening weekend with $28 million, and making a total domestic gross of $68 million, becoming Larter's second highest-grossing film in North-America. Larter was nominated for a third time for a Teen Choice Award when she and Beyoncé were nominated for the Teen Choice Award for Choice Movie: Rumble at the 2009 Teen Choice Awards and an MTV Movie Award for Best Fight both for Obsessed.
Larter reprised her role of Claire Redfield in Resident Evil: Afterlife (2010), which was filmed in 3D and saw her character ambushed and mentally manipulated by the fictional Umbrella Corporation, before she is rescued by Alice (Milla Jovovich). Like the previous Resident Evil entries, the film received negative reviews but became a major commercial success, earning $296 million worldwide. On returning to the role of Claire, Larter told JoBlo.com: "I guess people liked me as her... I'm excited that they brought me back... to work with the man [Paul W. S. Anderson] who really created this world and this vision was what excited me about joining this next installment". In 2010, Larter appeared as the title character in a short film for Absolut Vodka entitled "Lemon Drop". After the release of Afterlife, Larter went on hiatus to focus on her family.