When Jack Bates' mother's business, the Rebates Motel (Jack's deceased father was named Norman, incidentally), is going badly, Jack has to go to town to sell the family's cow, Wally. In town, Jack runs into a strange man that trades him three magic beans for his cow.
His mother is upset and throws the beans out the window. Overnight, the beans grow into a giant beanstalk that leads all the way into the clouds. At the top of the beanstalk, Jack meets a giant named J. Mason who has a giant dog. The giant has a hen that lays golden eggs. When Jack sees this, he decides to rein the hen and steal off with it. With the golden eggs, Jack and his family are able to remodel the motel, as the "Sick-O 6."
After a georgeous girl named Pippi Lee Sing arrives at the motel, two men grab Jack and the hen and take him to the giant's house and interrogate him about what he knows about the giant's plan to take over the village. Just before one of the men tries to throw Jack down the bell tower, Pippi arrives disguised as Jimmy, the lookout, and saves him, revealing that she is a secret agent, trying to recover the stolen hen, which she reveals was created by his father, who was an important scientist.
Pippi and Jack work together to get the hen back and quickly escape. When the giant puruses them down the beanstalk, Jack grabs a chainsaw and cuts down the beanstalk. Jack and Pippi later get married and are seen riding away on a train.
"Jack and the Beanstalk" is a folk tale of English origin. This episode contains many references to the film Psycho and Vertigo, which were both directed by Alfred Hitchcock.