Homer takes his family to the new sushi bar, The Happy Sumo. After sampling most of the items on the menu, he tries sushi made from the fish fugu. The chef in charge is making out with Edna Krabappel, so his apprentice has to slice the fugu, of which certain parts are toxic. He tries to do it carefully, but Homer becomes impatient, only to have it served and become unsure if the poisonous portions have been removed. Homer considers it a treat, but the chef soon returns and believes that the fish has not been prepared correctly and tells Homer that he may have been poisoned. Homer and Marge go to the hospital, where Dr. Hibbert informs Homer that based on a chat he had with the sushi chef, Homer is found out that he has increased likeliness of death and has 22 hours left to live. At night with Marge by his side, he decides not to tell his children about the bad news and makes a list of all the things he wants to do before death.
On his last day, after oversleeping, Homer attempts to do all the things on his list. He has a man-to-man talk with Bart, listens to Lisa play her saxophone, and borrows Ned Flanders's camcorder to make a video for Maggie that she can look at when she is older. Homer finally reconciles with his father, which takes up far more time than he expects and forces him to give up doing some of the things on his list. After trying to catch up on time he lost doing these things, Homer is arrested for speeding. He calls Barney, who is asked to pay $50 to bail him out. After being acquitted, he tells off his boss Mr. Burns and has one last drink at Moe's Tavern with his friends, causing him to miss dinner with his waiting family. He then hurries home in time to say goodbye to his children and make love to Marge.
At midnight, Homer quietly gets out of bed, visits each family member, who are all asleep, and says goodbye. Feeling glum, he goes to the living room and listens to Larry King read the Bible on tape. The tape plays out to which suddenly his head drops and it appears he has succumbed to the poison. Marge awakens the next morning and is panicked that her husband is not by her side. She runs downstairs and finds Homer, collapsed in the armchair. As she mourns, she realizes that his drool is still warm. She wakes him up and drums in the fact that he is alive and had not been poisoned after all. Homer then prances around in an overjoyed state and vows to live life to its fullest. Back to living his normal life, Homer returns to the couch watching a bowling tournament and eating pork rinds.