The 40-Year-Old Virgin is a 2005 American romantic sex comedy film directed by Judd Apatow (in his feature directorial debut), who produced the film with Clayton Townsend and Shauna Robertson. It features Steve Carell as the titular 40-year-old virgin Andy, an employee at an electronics store. Paul Rudd, Romany Malco, and Seth Rogen play co-workers who resolve to help him lose his virginity, and Catherine Keener stars as Andy's love interest, Trish. Watching Carell's performance in Anchorman: The Legend of Ron Burgundy (2004) inspired Apatow to cast him in the lead role for the film, and they wrote The 40-Year-Old Virgin together.