"Halloween" is the sixth episode of Modern Family's second season and 30th episode overall. It was originally broadcast on October 27, 2010, on the ABC network in the United States. The episode was written by Jeffrey Richman and directed by Michael Spiller and was based on an idea by cast member Eric Stonestreet. The episode follows Claire's love for Halloween, which leads her to transform the Dunphy residence into a haunted house for trick-or-treaters. Cameron cannot shake a childhood trauma related to the holiday and Mitchell has a terrible day at work. Gloria acts weird after Jay and Manny tease her about her accent. "Halloween" received mostly positive reviews from critics. According to Nielsen Media Research, "Halloween" became the most viewed episode of the series and tied for the series' highest-rated episode among adults between ages 18 and 49. It later became the second highest-rated show for the week as well as the week's highest-rated scripted program. This episode received multiple Primetime Emmy Award nominations at the 63rd Primetime Emmy Awards, and won for Outstanding Directing for a Comedy Series for Michael Spiller. Jesse Tyler Ferguson was nominated for Outstanding Supporting Actor in a Comedy Series for his performance in this episode. Plot At the Dunphy house, Phil (Ty Burrell) learns that his neighbor, Jerry (Matt Besser) has divorced. Phil is initially sad for Jerry, but soon fears that the same thing might happen to him and his wife, Claire (Julie Bowen). Phil soon assumes Claire's concentration on completing the haunted house is a sign that she no longer loves him. He soon does the opposite of what Jerry did that caused the demise of his marriage, like being spontaneous, with all of Phil's attempts failing. Mitchell (Jesse Tyler Ferguson) also gets excited when he learns that his new law firm allows employees to wear Halloween costumes, and decides to wear a Spider-Man costume to work. Unfortunately, he learns too late that "only tools and douches wear costumes". He quickly puts on a suit over the costume, thinking that he can change out of the costume later, but he is pulled into several meetings and is unable to get the chance to take it off. Meanwhile, Gloria (Sofía Vergara) gets offended by Manny (Rico Rodriguez) and Jay (Ed O'Neill) correcting her accent so she starts acting weird and talking differently. At Claire's finished haunted house, everything goes wrong with Jay