2005–2010: Grey's Anatomy and breakthrough
In 2005, Heigl was cast as medical intern Dr. Isobel "Izzie" Stevens on the ABC medical drama Grey's Anatomy. The show, initially a mid-season replacement, became a huge ratings success and one of the highest-rated series on broadcast TV. The same year, Heigl landed the starring role in the independent film Side Effects (2005), a romantic comedy about marketing and the pharmaceutical industry, for which she was also executive producer. A year later, Heigl was nominated for the Golden Globe Award for Best Supporting Actress – Series, Miniseries, or Television Film for her work on Grey's Anatomy.
Heigl also starred in Zyzzyx Road; filmed in 2004 and not released until 2006; it has been cited as the lowest-grossing feature film of all time.
In 2007, Heigl had her high-profile film breakthrough with Knocked Up (2007), a comedy from writer/director Judd Apatow, opposite Seth Rogen, Paul Rudd, and Apatow's wife, Leslie Mann. Upon its June 2007 theatrical release, the film received generally positive reviews from critics and proved to be a box office success and a summer romcom hit. The fees Heigl commanded increased after the film's success. The movie grossed $148,761,765 in the U.S., for which she earned a salary of US$300,000. Heigl's role in the film transformed her into Hollywood's new "It girl" according to Vanity Fair.
On September 16, 2007, Heigl won the Primetime Emmy Award for Outstanding Supporting Actress in a Drama Series for her role as Izzie Stevens on Grey's Anatomy. When her name was called for the award, her exclamation of "Shit!" was censored.
Heigl starred with James Marsden in the film 27 Dresses, for which she received US$6 million. The New York Post expressed some disappointment with the mismatch of Heigl's talent and the film's "chick-flick" triviality, suggesting Heigl might be more compatible "with female directors such as Kimberly Peirce (Boys Don't Cry) or Tamara Jenkins (The Savages)...". Heigl was announced the Most Desirable Woman of 2008, according to AskMen. Anne Fletcher, the director of 27 Dresses described her as having the "‘It’ factor". She explained further, "You can't buy it; you can't learn it; you can't create it; it just is. We haven't had one of her in many years. Julia Roberts, Sandra Bullock, Meg Ryan – those have been our go-to girls for romantic comedy for a very long time, but we haven't had a new one. Katie has beauty, vulnerability, identifiability. She's funny, charming, lovely to watch. Her slightest eye movement is captivating; you know instantly what's going on."
In a highly publicized Vanity Fair interview, Heigl said that though she enjoyed working with Apatow and Rogen when she starred in Knocked Up, she had a hard time enjoying the film itself. She called the film "a little sexist", claiming that the film "paints the women as shrews, as humorless and uptight, and it paints the men as lovable, goofy, fun-loving guys." Apatow and Rogen were reportedly not pleased with Heigl's interview. Rogen said that he enjoyed working with Heigl and was stung by her comments. Heigl's comments generated a widespread reaction in the media. In an interview with People magazine, Heigl said:
My motive was to encourage other women like myself to not take that element of the movie too seriously, and to remember that it's a broad comedy"; and added, "Although I stand behind my opinion, I'm disheartened that it has become the focus of my experience with the movie."
There was some speculation that Heigl might be leaving Grey's Anatomy after the end of its fifth season. This speculation revolved around her refusal to submit her name for Emmy consideration for the previous season. Heigl had disagreements with the character's direction in the fourth season, deeming the storyline involving Izzie's affair with George a "ratings ploy" that served to be "shocking" and others speculated she would leave due to the time devotion in producing a film version of Carolyn Jessop's book Escape. Heigl said publicly that she'd opted out of the Emmy race that year because she felt the material she'd received didn't warrant Emmy consideration. The comment reportedly angered the show's producers and writers, who interpreted it as a slight on their work. Grey's showrunner Shonda Rhimes said she was not insulted by Heigl's Emmy withdrawal, and noted that Heigl's character was downplayed during the season because Heigl had asked for a lighter work schedule. Despite Heigl's reported displeasure with the previous season, and persistent rumors that her character had died, ABC confirmed that Heigl would return for the sixth season of Grey's.
Heigl starred with Gerard Butler in The Ugly Truth (2009). The film was made on a budget of $38 million and earned $205 million at the worldwide box office.
Speculation as to whether Heigl would leave Grey's Anatomy persisted through most of season six. On March 11, 2010, Heigl reportedly did not show up for work on the show, and Heigl and series creator Shonda Rhimes subsequently reached an agreement to immediately release Heigl from her contract. As a result, Heigl's appearance on the January 21 episode of Grey's Anatomy was her final appearance of that season and, thus far, in the series. Heigl said that she left the show to focus not on her film career, but on her family. The backlash over Heigl's comments on Knocked Up and Grey's Anatomy has given Heigl a reputation of being difficult to work with which was seen to have damaged her career.