Bart Sells His Soul is the fourth episode of Season 7.
After conducting a prank on the First Church of Springfield, Bart sells his soul to Milhouse for five dollars. Bart comes to regret his decision, and goes on a desperate quest to regain his soul. In the end, he gets it back with the assistance of an unexpected source.
On a Sunday morning, when the Simpson family serve as church ushers, Bart uses the opportunity to change the intended hymn to a song called "In the Garden of Eden" by "I. Ron Butterfly" as part of a prank. The song is actually Iron Butterfly's "In-A-Gadda-Da-Vida". Reverend Lovejoy initially fails to notice anything amiss (or the lewd behavior of congregants including Homer and Marge), but eventually catches on, noting, "This sounds like rock and/or roll!". At the end of this 17-minute song, the exhausted organist collapses on the organ.
An outraged Reverend Lovejoy assembles the children into his office and demands them to repeat after what he is saying and that the culprit will identify himself or herself. When Milhouse sees a crow caw at him menacingly, he immediately rats out Bart. As a punishment for his prank, Bart is instructed to clean the organ pipes, and for being "snitchy", Milhouse is forced to assist Bart. Bart blames Milhouse for snitching on him, and when Milhouse says he feared crows pecking at his soul for eternity if he didn't tell, Bart scoffs at the very notion of having a soul, saying there is no such thing. Milhouse calls his bluff, and tells Bart that he would like to buy it (in the form of a piece of paper saying "Bart Simpson's soul") for $5. He then proceeds to say, "Anytime, chummmmmmmmmmmmmmp."
After an absurd fantasy with a Dino Sponge, Lisa tells Bart that he will regret selling his soul, but Bart is still disbelieving and his brown dog growls at Bart and Bart's and Lisa's black cat hisses at Bart. Soon, however, Santa's Little Helper won't play with him, automatic doors fail to open for him, and when he blows on the freezer doors at the Kwik-E-Mart, no condensation forms. Also, he finds The Itchy & Scratchy Show cartoons to no longer be funny (he actually still understands that they are funny, but he simply can't laugh any longer without his soul), to which Lisa quotes "laughter is the language of the soul". Bart begins to suspect that he really did lose his soul, and sets out on a quest to regain it back.
He finds Milhouse playing maniacally with the piece of paper. Bart makes numerous offers to buy back his "soul", but Milhouse refuses to do so each time and jacks up the price 10 fold (Bart sold his soul for $5, and Milhouse asks for $50). That night, while Marge is tucking Bart in, she senses that there's something different about his hug. Bart tries to explain, but Marge insists on trying to figure it out. She quickly rules out nuclear war and swim-test anxiety to him. She concludes that it feels like he's "Missing something. Something important". Bart anxiously asks "Like I don't have a soul?", and Marge laughs; She tells him that he's not a monster. Bart has a nightmare about being the only child in Springfield to not have a soul, and is teased at as a result. Lisa also taunts Bart with a dinner-time prayer, convincing him to make a desperate, all-out attempt to get the piece of paper (his "soul") back.
In desperation, Bart makes a late-night attempt to retrieve his soul, having to travel across town where Milhouse and his parents are staying with his grandmother. However, the 2:00 am visit is in vain; Milhouse had traded it to Comic Book Guy for Alf pogs, while a frustrated Bart camps the rest of the night in front of The Android's Dungeon & Baseball Card Shop in order to get his soul back.
However, the next day, Comic Book Guy tells Bart that he does not have the said piece of paper anymore, and refuses to disclose who he sold it to. A disappointed Bart walks home in the rain, and later dejectedly prays to God for his soul in his room. Eventually, floating down from above is a piece of paper, with the words "Bart Simpson's soul". Lisa had purchased the piece of paper for Bart and he is grateful. While she tries explaining philosophers' opinions on the human soul, Bart maniacally eats up the paper and ignores her. Realizing how uninterested he was in about her lecture of the human soul, Lisa tells Bart that she hoped he learned his lesson from this. That night, he rests easily with the pets curled at his feet. In his dream, Bart and his soul are having fun with their quirks and they win their boat race to the emerald city, proving that he did learn his lesson in the consequences of selling his soul.
In the subplot, Moe wants to expand his customer base by turning his tavern into a family restaurant called Uncle Moe's Family Feedbag, themed after "T.G.I. Friday's" and "Applebee's", and if he doesn't smile when he hands over his check to customers, the meal is free. To cook all of his food, Moe buys an army surplus deep fat fryer which he claims, "it will flash fry a live buffalo in 45 seconds." Homer immediately whines, "But, I want it now!"
Moe's surly demeanor and the stress of running a family restaurant by himself ultimately unnerve him, and it isn't long before he finally snaps at a little girl (who complains that her ice-cold soft drink "makes her teeth hurt"). The restaurant is a resounding failure, forcing Moe to revert the restaurant back into his run-down tavern.