"Frank Grimes, the new employee at the power plant, is displeased with Homer's incompetence and work ethic and becomes further annoyed with this. He eventually declares himself an enemy of Homer. Meanwhile, Bart buys a factory for 1 dollar and operates it along with Milhouse."

The show opens with a news report about Frank Grimes, an orphan who experienced many hard times in his life, and finally self-educated himself enough to enter the workplace. Mr. Burns sees the newscast and orders Smithers to hire him at the nuclear plant as Executive Vice President. The next day, Burns forgets this decision and gives the job to a courageous dog, and assigns Grimes to a low-level position. Shortly thereafter, Grimes crosses paths with Homer and doubts him. It may have something to do with the fact that Homer is lazy, annoying, and thoroughly unqualified for the job he has, yet he's so well off in life.

Meanwhile, while on a trip to a local government building, Bart wanders away from Marge and ends up buying an abandoned warehouse at a tax auction for a single dollar. He moves right in, and then hires Milhouse to act as a security guard.

Back at the plant, Grimes' dislike for Homer heats up as he furthers witness Homer's ineptitude. When he brings this up to Lenny and Carl, they don't see his point, and disagree with Grimes' opinion of him. When Homer accidentally almost drinks acid, Grimes' knocks the vial out of his hand and ends up wrecking the cafeteria wall, for which he then gets blamed by Mr. Burns and is given a final chance for his job, although a decreased salary. Grimes angrily approaches to Homer, confessing his hatred of him and declaring that they are enemies.

Upon advice from Moe, Homer decides to invite Grimes to dinner at his house to try and be friends. He has Marge prepare a lobster dinner and the family dress in their usual church clothes. However, when Grimes arrives he only gets angrier. This wasn't the life someone like Homer Simpson should have; he sees the house (he describes as a mansion), the two cars, Bart owning a factory (he is not thoroughly informed), Lisa having a Intelligence Quote of 156, his beautiful wife and learns of Homer's unlikely accomplishments (like becoming an astronaut, winning a Grammy, being on tour with the Smashing Pumpkins and being friends with ex-president Ford). Grimes rants that it is inconceivable that such a screw-up could achieve so much, when he worked hard for everything and the only thing he has to show for it is his briefcase, haircut and a tiny apartment between two bowling alleys (which impresses Homer). He says people like him are what is wrong with the country and that if he lived anywhere else he'd have starved long ago.

The next day Marge comforts Homer telling him that Frank doesn't hate him, he's just frustrated that life has always been hard to him while easy for Homer, and tells him if he cleaned up his act a little maybe Frank would be less hostile. After hearing this, Homer decides to clean up his act (in his own way), and appear more professional on the job. Grimes still disapproves him, at break he once more tries to convince Lenny and Carl that Homer is an idiot but once more fails despite pointing out that the number of accidents and meltdown has skyrocketed since Homer got his job. He says he would die a happy man if he could just convince them.

He decides to trick Homer into entering a children's contest "Design Your Own Power Plant" of a flyer by removing areas that show its juvenile theme. Homer decides to participate, unaware that it is for children. Meanwhile, the warehouse Bart owns collapses in the middle of the night, leaving the rats to swarm Moe's tavern.

At the contest, Homer's diorama is a badly-created representation of the current plant, but with fins to improve air resistance and a racing stripe. Mr. Burns, impressed by his effort, awards Homer first prize, beating out Ralph Wiggum and Martin Prince, Jr., the latter whose model was actually generating the power for the auditorium. His plan having backfired, Grimes starts to call everybody in the crowd insane. He finally snaps, and begins to rampage through the plant, imitating Homer as he loses his sanity. Having completely lost his mind, in a last desperate demonstration, he grabs an open conduit and electrocutes himself to death.

At the funeral, Reverend Lovejoy says that Frank liked to be called 'Grimey'. Homer gets the last laugh as he drools and talks in his sleep. All the mourners and Lovejoy laugh at Homer's antics as Grimes' coffin is lowered into the ground.