1995–2009: Film comedy stardom
Stiller joined his parents in the family film Heavyweights (1995), in which he played two roles. Following Heavyweights, he had a brief uncredited role in Adam Sandler's Happy Gilmore (1996) where he played Hal L., the sadistic orderly running the nursing home. Next, he had lead roles in If Lucy Fell and Flirting with Disaster, before tackling his next directorial effort with The Cable Guy, which starred Jim Carrey and Matthew Broderick. Stiller once again was featured in his own film, as twins. The film received mixed reviews, but was noted for paying the highest salary for an actor up to that point, as Carrey received $20 million for his work in the film. The film also connected Stiller with future Frat Pack members Jack Black and Owen Wilson.
Also in 1996, MTV invited Stiller to host the VH1 Fashion Awards. Along with Saturday Night Live writer Drake Sather, Stiller developed a short film for the awards about a male model known as Derek Zoolander. It was so well received that he developed another short film about the character for the 1997 VH1 Fashion Awards and eventually remade the skit into a film. In 1998, Stiller put aside his directing ambitions to star in the Farrelly Brothers' There's Something About Mary, alongside Cameron Diaz, which became a surprise hit with a long-lasting cult following. That year, he starred in several dramas, including Zero Effect, Your Friends & Neighbors, and Permanent Midnight. He was invited to take part in hosting the MTV Video Music Awards, for which he developed a parody of the Backstreet Boys and performed a sketch with his father, commenting on his current career. In 1999, he starred in three films, including Mystery Men, where he played a superhero wannabe called Mr. Furious. He appeared in a segment on the July 26 episode of WWF's RAW is WAR to promote the then-upcoming movie and found himself on the wrong end of Intercontinental Champion Jeff Jarrett's Figure-4 Leg Lock. He returned to directing with a new spoof television series for Fox titled Heat Vision and Jack, starring Jack Black. However, the show was not picked up by Fox after its pilot episode and the series was cancelled. Stiller co-wrote a comedic New York Times bestseller with Garofalo in 1999, titled Feel This Book: An Essential Guide to Self-Empowerment, Spiritual Supremacy, and Sexual Satisfaction, a spoof of the self-help books prevalent at the time.
In 2000, Stiller starred in three more films, including one of his most recognizable roles, a male nurse named Gaylord "Greg" Focker in Meet the Parents, opposite Robert De Niro. The film was well received by critics, grossed over $330 million worldwide, and spawned two sequels. Also in 2000, MTV again invited Stiller to make another short film, and he developed Mission: Improbable, a spoof of Tom Cruise's role in Mission: Impossible II and other films. In 2001, Stiller directed his third feature film, Zoolander, in which he also starred as Derek Zoolander. The film featured multiple cameos from a variety of celebrities, including Donald Trump, Paris Hilton, Lenny Kravitz, Heidi Klum, and David Bowie, among others. The film was banned in Malaysia (as the plot centered on an assassination attempt of a Malaysian prime minister), while shots of the World Trade Center were digitally removed and hidden for the film's release after the September 11 terrorist attacks. After Stiller worked with Wilson in Zoolander, they joined forces again for The Royal Tenenbaums. Over the next two years, Stiller continued with a starring role in the film Duplex, and cameos in Orange County and Nobody Knows Anything!. He has guest-starred on several television shows, including an appearance in an episode of the television series The King of Queens, in a flashback as the father of the character Arthur (played by Jerry Stiller). He also made a guest appearance on WWE Raw.
In 2004, Stiller appeared in six different films, all of which were comedies, and include some of his highest-grossing films: Starsky & Hutch, Envy (which he co-starred with Black in), Dodgeball: A True Underdog Story, Anchorman: The Legend of Ron Burgundy (in which he had an uncredited cameo), Along Came Polly, and Meet the Fockers (a sequel to Meet the Parents). While the critical flop Envy only grossed $14.5 million, the most successful film of these was Meet the Fockers, which grossed over $516.6 million worldwide. He also made extended guest appearances on Curb Your Enthusiasm and Arrested Development in the same year. He appeared on shows such as Friends and Extras, the latter of which earned him a Primetime Emmy Award for Outstanding Guest Actor in a Comedy Series nomination. In 2005, Stiller appeared in Madagascar, which was his first experience as a voice actor in an animated film. Madagascar was a massive worldwide hit, and spawned the sequels Madagascar: Escape 2 Africa in 2008 and Madagascar 3: Europe's Most Wanted in 2012.
In 2006, Stiller had cameo roles in School for Scoundrels and Tenacious D in The Pick of Destiny; he was executive producer of the latter. In December 2006, he had the lead role in Night at the Museum. Although not a critical favorite, it earned over $115 million in ten days. In 2007, Stiller starred alongside Malin Åkerman in the romantic comedy The Heartbreak Kid. The film earned over $100 million worldwide despite receiving mostly negative reviews. In 2008, Stiller directed, co-wrote, co-produced, and starred in the film Tropic Thunder, with Robert Downey Jr. and Black; Stiller had originally conceived of the film's premise while filming Empire of the Sun in 1987. In 2009, he starred with Amy Adams in Night at the Museum 2: Battle of the Smithsonian, a sequel to Night at the Museum.