The basement storage space of the restaurant has a bug infestation and Bob has an exterminator called Marcus come to check it out. However, Marcus claims the basement is haunted and refuses to treat the infestation, claiming they need to make contact with the spirit to get rid of it. Linda and the kids decide to use an Ouija board to communicate with the ghost and trap it in a shoebox to get rid of it. Using the board, they learn that the ghost is a 13-year-old boy named Jeff, which piques Tina's interest. After "trapping" Jeff in the box, Tina refuses to throw "him" out and brings him with her to school. Tammy, Jocelyn, Zeke, and Jimmy, Jr. taunt Tina about the box, until Louise has them all use the Ouija board to communicate with Jeff. They become convinced Jeff is real, and through the board, learn that Jeff is cool and that he has a crush on Tina. Meanwhile, word of the ghost sends two "ghost hunters", Phil and Don to the restaurant, who take up shop investigating paranormal activity around the premises. With Halloween fast approaching, their presence and the rumors of a ghost bring increased business to the restaurant.
Tina and Jeff begin going out, earning her attention from her friends, though she has some doubts about whether Jeff is real. However, Tammy takes the box and claims that Jeff left a message written in steam on the girl's bathroom mirror that says he's breaking up with Tina and is now dating Tammy. Tina is heartbroken. The family tries to decide how to cheer Tina up and Louise reveals to the rest of the family that she controlled the Ouija board and made Jeff up, but did not anticipate that Tina would fall in love with him or that Tammy would one-up her by stealing Tina's popularity with a similar ruse. Louise and Gene resolve to get back at Tammy by scaring her on Halloween night when the older kids plan to enter a mausoleum in the nearby cemetery. Tina surprises them by joining the group and they head into the mausoleum, which immediately shuts and traps them inside in complete darkness. Louise takes this opportunity to steal the box and fill it with bugs from the restaurant and gives it back to Tammy to open. The kids light a candle and are frightened to find a message written in blood on the mausoleum walls, allegedly from Jeff, condemning them all to Hell.
Scared, Tammy confesses that she wrote the fake breakup message and throws the box away, causing the bugs to swarm them all. Tina calms everyone down by revealing that she pretended the mausoleum door was locked and wrote the message before they arrived in ketchup to scare them, having realized long ago that Jeff was not real. She explains that they all believed in Jeff because he was able to give them something they wanted: Tina wanted a boyfriend, Zeke wanted to believe in the afterlife, Jocelyn wanted another way to conform, and Tammy wanted Jeff as a status symbol. Tina states that they can get these things from themselves, though they all agree that Tammy is terrible. Louise is impressed that Tina pulled such a great Halloween prank on all of them. Meanwhile, wrapping up their investigation, the ghost hunters leave, claiming that their paranormal services balance out their tab at the restaurant. When Bob and Linda refuse, they try to claim that they too are ghosts, but Bob forces them to pay their tab.