<P> This is a list of Treehouse of Horror episodes produced by the animated television series The Simpsons . Treehouse of Horror episodes have aired annually since the second season (1990) and each episode has three separate segments . These segments usually involve the family in some horror, science fiction, or supernatural setting and always take place outside the normal continuity of the show and are therefore considered to be non-canon . "Treehouse of Horror" episode aired on October 25, 1990 and was inspired by EC Comics Horror tales . Before "Treehouse of Horror XI", which aired in 2000, every episode has aired in the week preceding or on October 31; "Treehouse of Horror II" and "Treehouse of Horror X" are the only episodes to air on Halloween . Between 2000 and 2011, due to Fox's contract with Major League Baseball's World Series, several episodes have originally aired in November; as of 2011 every Treehouse of Horror episode has aired during the month of October . From "Treehouse of Horror" to "Treehouse of Horror XIII", all three segments were written by different writers and in some cases there was a fourth writer that wrote the opening and wraparound segments . For "Treehouse of Horror", there were even three different directors for the episode . Starting with season fifteen's "Treehouse of Horror XIV", only one writer was credited as having written a Treehouse of Horror episode, and the trend has continued since . </P> <P> As of 2016, there are twenty - seven Treehouse of Horror episodes, with one airing every year . They are known for being more violent than an average Simpsons episode and contain several different trademarks, including the alien characters Kang and Kodos who have appeared in every episode . Quite often the segments will parody well - known movies, books, radio shows, and television shows . The Twilight Zone has been parodied quite often, and has served as the inspiration for numerous segments . </P> <Table> <Tr> <Th> Installment </Th> <Th> Season </Th> <Th> No. in regular series </Th> <Th> Segments </Th> <Th> Directed by </Th> <Th> Written by </Th> <Th> Original air date </Th> <Th> Prod . code </Th> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> 16--203 </Td> <Td> "Bad Dream House" </Td> <Td> Wes Archer </Td> <Td> John Swartzwelder </Td> <Td> October 25, 1990 </Td> <Td> 7F04 </Td> </Tr> <Tr> <Td> "Hungry are the Damned" </Td> <Td> Rich Moore </Td> <Td> Jay Kogen & Wallace Wolodarsky </Td> </Tr> <Tr> <Td> "The Raven" </Td> <Td> David Silverman </Td> <Td> Sam Simon & Edgar Allan Poe </Td> </Tr> <Tr> <Td> II </Td> <Td> </Td> <Td> 42--307 </Td> <Td> "Lisa's Nightmare" ("The Monkey's Paw") </Td> <Td> Jim Reardon </Td> <Td> Al Jean & Mike Reiss Jeff Martin, George Meyer Sam Simon, John Swartzwelder </Td> <Td> October 31, 1991 </Td> <Td> 8F02 </Td> </Tr> <Tr> <Td> "Bart's Nightmare" ("The Bart Zone") </Td> </Tr> <Tr> <Td> "Homer's Nightmare" ("If I Only Had a Brain") </Td> </Tr> <Tr> <Td> III </Td> <Td> </Td> <Td> 64--405 </Td> <Td> "Clown Without Pity" </Td> <Td> Carlos Baeza </Td> <Td> Al Jean & Mike Reiss Jay Kogen & Wallace Wolodarsky Sam Simon, Jon Vitti </Td> <Td> October 29, 1992 </Td> <Td> 9F04 </Td> </Tr> <Tr> <Td> "King Homer" </Td> </Tr> <Tr> <Td> "Dial' Z' For Zombies" </Td> </Tr> <Tr> <Td> IV </Td> <Td> 5 </Td> <Td> 86--505 </Td> <Td> Wraparounds </Td> <Td> David Silverman </Td> <Td> Conan O'Brien </Td> <Td> October 28, 1993 </Td> <Td> 1F04 </Td> </Tr> <Tr> <Td> "The Devil and Homer Simpson" </Td> <Td> Greg Daniels & Dan McGrath </Td> </Tr> <Tr> <Td> "Terror at 51⁄2 Feet" </Td> <Td> Bill Oakley & Josh Weinstein </Td> </Tr> <Tr> <Td> "Bart Simpson's Dracula" </Td> <Td> Bill Canterbury </Td> </Tr> <Tr> <Td> V </Td> <Td> 6 </Td> <Td> 109--606 </Td> <Td> "The Shinning" </Td> <Td> Jim Reardon </Td> <Td> Bob Kushell </Td> <Td> October 30, 1994 </Td> <Td> 2F03 </Td> </Tr> <Tr> <Td> "Time and Punishment" </Td> <Td> Greg Daniels & Dan McGrath </Td> </Tr> <Tr> <Td> "Nightmare Cafeteria" </Td> <Td> David S. Cohen </Td> </Tr> <Tr> <Td> VI </Td> <Td> 7 </Td> <Td> 134--706 </Td> <Td> "Attack of the 50 - Foot Eyesores" </Td> <Td> Bob Anderson </Td> <Td> John Swartzwelder </Td> <Td> October 29, 1995 </Td> <Td> 3F04 </Td> </Tr> <Tr> <Td> "Nightmare on Evergreen Terrace" </Td> <Td> Steve Tompkins </Td> </Tr> <Tr> <Td> "Homer3" </Td> <Td> David S. Cohen </Td> </Tr> <Tr> <Td> VII </Td> <Td> 8 </Td> <Td> 154--801 </Td> <Td> "The Thing and I" </Td> <Td> Mike B. Anderson </Td> <Td> Ken Keeler </Td> <Td> October 27, 1996 </Td> <Td> 4F02 </Td> </Tr> <Tr> <Td> "The Genesis Tub" </Td> <Td> Dan Greaney </Td> </Tr> <Tr> <Td> "Citizen Kang" </Td> <Td> David S. Cohen </Td> </Tr> <Tr> <Td> VIII </Td> <Td> 9 </Td> <Td> 182--904 </Td> <Td> "The HΩmega Man" </Td> <Td> Mark Kirkland </Td> <Td> Mike Scully </Td> <Td> October 26, 1997 </Td> <Td> 5F02 </Td> </Tr> <Tr> <Td> "Fly vs. Fly" </Td> <Td> David S. Cohen </Td> </Tr> <Tr> <Td> "Easy - Bake Coven" </Td> <Td> Ned Goldreyer </Td> </Tr> <Tr> <Td> IX </Td> <Td> 10 </Td> <Td> 207--1004 </Td> <Td> "Hell Toupée" </Td> <Td> Steven Dean Moore </Td> <Td> Donick Cary </Td> <Td> October 25, 1998 </Td> <Td> AABF01 </Td> </Tr> <Tr> <Td> "The Terror of Tiny Toon" </Td> <Td> Larry Doyle </Td> </Tr> <Tr> <Td> "Starship Poopers" </Td> <Td> David S. Cohen </Td> </Tr> <Tr> <Td> X </Td> <Td> 11 </Td> <Td> 230--1104 </Td> <Td> "I Know What You Diddily - Iddily - Did" </Td> <Td> Pete Michels </Td> <Td> Donick Cary </Td> <Td> October 31, 1999 </Td> <Td> BABF01 </Td> </Tr> <Tr> <Td> "Desperately Xeeking Xena" </Td> <Td> Tim Long </Td> </Tr> <Tr> <Td> "Life's a Glitch, Then You Die" </Td> <Td> Ron Hauge </Td> </Tr> <Tr> <Td> XI </Td> <Td> 12 </Td> <Td> 249--1201 </Td> <Td> "G-G - Ghost D-D - Dad" </Td> <Td> Matthew Nastuk </Td> <Td> Rob LaZebnik </Td> <Td> November 1, 2000 </Td> <Td> BABF21 </Td> </Tr> <Tr> <Td> "Scary Tales Can Come True" </Td> <Td> John Frink & Don Payne </Td> </Tr> <Tr> <Td> "Night of the Dolphin" </Td> <Td> Carolyn Omine </Td> </Tr> <Tr> <Td> XII </Td> <Td> 13 </Td> <Td> 270--1301 </Td> <Td> "Hex and the City" </Td> <Td> Jim Reardon </Td> <Td> Joel H. Cohen </Td> <Td> November 6, 2001 </Td> <Td> CABF19 </Td> </Tr> <Tr> <Td> "House of Whacks" </Td> <Td> John Frink & Don Payne </Td> </Tr> <Tr> <Td> "Wiz Kids" </Td> <Td> Carolyn Omine </Td> </Tr> <Tr> <Td> XIII </Td> <Td> 14 </Td> <Td> 292--1401 </Td> <Td> "Send in the Clones" </Td> <Td> David Silverman </Td> <Td> Marc Wilmore </Td> <Td> November 3, 2002 </Td> <Td> DABF19 </Td> </Tr> <Tr> <Td> "The Fright to Creep and Scare Harms" </Td> <Td> Brian Kelley </Td> </Tr> <Tr> <Td> "The Island of Dr. Hibbert" </Td> <Td> Kevin Curran </Td> </Tr> <Tr> <Td> XIV </Td> <Td> 15 </Td> <Td> 314--1501 </Td> <Td> "Reaper Madness" </Td> <Td> Steven Dean Moore </Td> <Td> John Swartzwelder </Td> <Td> November 2, 2003 </Td> <Td> EABF21 </Td> </Tr> <Tr> <Td> "Frinkenstein" </Td> </Tr> <Tr> <Td> "Stop the World, I Want to Goof Off" </Td> </Tr> <Tr> <Td> XV </Td> <Td> 16 </Td> <Td> 336--1601 </Td> <Td> "The Ned Zone" </Td> <Td> David Silverman </Td> <Td> Bill Odenkirk </Td> <Td> November 7, 2004 </Td> <Td> FABF23 </Td> </Tr> <Tr> <Td> "Four Beheadings and a Funeral" </Td> </Tr> <Tr> <Td> "In the Belly of the Boss" </Td> </Tr> <Tr> <Td> XVI </Td> <Td> 17 </Td> <Td> 360--1704 </Td> <Td> "B.I.: Bartificial Intelligence" </Td> <Td> David Silverman </Td> <Td> Marc Wilmore </Td> <Td> November 6, 2005 </Td> <Td> GABF17 </Td> </Tr> <Tr> <Td> "Survival of the Fattest" </Td> </Tr> <Tr> <Td> "I've Grown a Costume on Your Face" </Td> </Tr> <Tr> <Td> XVII </Td> <Td> 18 </Td> <Td> 382--1804 </Td> <Td> "Married to the Blob" </Td> <Td> David Silverman Matthew Faughnan </Td> <Td> Peter Gaffney </Td> <Td> November 5, 2006 </Td> <Td> HABF17 </Td> </Tr> <Tr> <Td> "You Gotta Know When To Golem" </Td> </Tr> <Tr> <Td> "The Day the Earth Looked Stupid" </Td> </Tr> <Tr> <Td> XVIII </Td> <Td> 19 </Td> <Td> 405--1905 </Td> <Td> "E.T., Go Home" </Td> <Td> Chuck Sheetz </Td> <Td> Marc Wilmore </Td> <Td> November 4, 2007 </Td> <Td> JABF16 </Td> </Tr> <Tr> <Td> "Mr. & Mrs. Simpson" </Td> </Tr> <Tr> <Td> "Heck House" </Td> </Tr> <Tr> <Td> XIX </Td> <Td> 20 </Td> <Td> 424--2004 </Td> <Td> "Untitled Robot Parody" </Td> <Td> Bob Anderson </Td> <Td> Matt Warburton </Td> <Td> November 2, 2008 </Td> <Td> KABF16 </Td> </Tr> <Tr> <Td> "How to Get Ahead in Dead - vertising" </Td> </Tr> <Tr> <Td> "It's the Grand Pumpkin, Milhouse" </Td> </Tr> <Tr> <Td> XX </Td> <Td> 21 </Td> <Td> 445--2104 </Td> <Td> "Dial' M' for Murder or Press' #' to Return to Main Menu" </Td> <Td> Mike B. Anderson Matthew Schofield </Td> <Td> Daniel Chun </Td> <Td> October 18, 2009 </Td> <Td> LABF14 </Td> </Tr> <Tr> <Td> "Don't Have a Cow, Mankind" </Td> </Tr> <Tr> <Td> "There's no Business Like Moe Business" </Td> </Tr> <Tr> <Td> XXI </Td> <Td> 22 </Td> <Td> 468--2204 </Td> <Td> "War and Pieces" </Td> <Td> Bob Anderson </Td> <Td> Joel H. Cohen </Td> <Td> November 7, 2010 </Td> <Td> MABF16 </Td> </Tr> <Tr> <Td> "Master and Cadaver" </Td> </Tr> <Tr> <Td> "Tweenlight" </Td> </Tr> <Tr> <Td> XXII </Td> <Td> 23 </Td> <Td> 489--2303 </Td> <Td> "The Diving Bell and Butterball" </Td> <Td> Matthew Faughnan </Td> <Td> Carolyn Omine </Td> <Td> October 30, 2011 </Td> <Td> NABF19 </Td> </Tr> <Tr> <Td> "Dial D for Diddly" </Td> </Tr> <Tr> <Td> "In the Na'Vi" </Td> </Tr> <Tr> <Td> XXIII </Td> <Td> 24 </Td> <Td> 510--2402 </Td> <Td> "The Greatest Story Ever Holed" </Td> <Td> Steven Dean Moore </Td> <Td> David Mandel & Brian Kelley </Td> <Td> October 7, 2012 </Td> <Td> PABF17 </Td> </Tr> <Tr> <Td> "UNnormal Activity" </Td> </Tr> <Tr> <Td> "Bart & Homer's Excellent Adventure" </Td> </Tr> <Tr> <Td> XXIV </Td> <Td> 25 </Td> <Td> 532--2502 </Td> <Td> "Oh The Places You'll D'oh" </Td> <Td> Rob Oliver </Td> <Td> Jeff Westbrook </Td> <Td> October 6, 2013 </Td> <Td> RABF16 </Td> </Tr> <Tr> <Td> "Dead and Shoulders" </Td> </Tr> <Tr> <Td> "Freaks no Geeks" </Td> </Tr> <Tr> <Td> XXV </Td> <Td> 26 </Td> <Td> 556--2604 </Td> <Td> "School is Hell" </Td> <Td> Matthew Faughnan </Td> <Td> Stephanie Gillis </Td> <Td> October 19, 2014 </Td> <Td> SABF21 </Td> </Tr> <Tr> <Td> "A Clockwork Yellow" </Td> </Tr> <Tr> <Td> "The Others" </Td> </Tr> <Tr> <Td> XXVI </Td> <Td> 27 </Td> <Td> 579--2705 </Td> <Td> "Wanted: Dead, Then Alive" </Td> <Td> Steven Dean Moore </Td> <Td> Joel H. Cohen </Td> <Td> October 25, 2015 </Td> <Td> TABF18 </Td> </Tr> <Tr> <Td> "Homerzilla" </Td> </Tr> <Tr> <Td> "Telepaths of Glory" </Td> </Tr> <Tr> <Td> XXVII </Td> <Td> 28 </Td> <Td> 600--2804 </Td> <Td> "Dry Hard" </Td> <Td> Steven Dean Moore </Td> <Td> Joel H. Cohen </Td> <Td> October 16, 2016 </Td> <Td> VABF16 </Td> </Tr> <Tr> <Td> "BFF R.I.P" </Td> </Tr> <Tr> <Td> "Moefinger" </Td> </Tr> <Tr> <Td> XXVIII </Td> <Td> 29 </Td> <Td> 622--2904 </Td> <Td> "The Exor - Sis" </Td> <Td> TBA </Td> <Td> John Frink </Td> <Td> October 22, 2017 </Td> <Td> WABF18 </Td> </Tr> <Tr> <Td> "MMM...Homer" </Td> </Tr> <Tr> <Td> TBA </Td> </Tr> </Table>

How many simpsons treehouse of horrors episodes are there