One sunny morning, Sam-I-Am pesters his friend Joey to eat a breakfast food called green eggs and ham. Joey tells him that he doesn't like that food. Sam continues to ask Joey if he'd eat that food in eight various locations (house, box, car, tree, train, dark, rain, and boat) and Sam's three animals (mouse, fox, and goat). After getting put over the edge about it, Joey finally chooses to give them a try in pleading that Sam-I-Am would leave him alone. He takes a bite of the dish, and he is surprised to find that he does like them after all, and he will eat them in all the places Sam-I-Am just asked about. The story has ended with Sam-I-Am and Joey becoming friends.