It is the dawn of a new school year, and a young man named Greg Heffley finds himself thrust into the chaotic realm of middle school, a place he views as a treacherous landscape of social landmines. He is adamant that the leather-bound book his mother insisted he write in is not, under any circumstances, a "diary," but rather a journal for his future memoirs, for when he is rich and famous and too busy to answer silly questions. Within its pages, adorned with his own cartoons, he chronicles his daily struggles and his relentless, often misguided, quest for popularity.
Greg quickly introduces the reader to the various inhabitants of his world, starting with his family: his older brother, Rodrick, a constant tormentor and drummer in a heavy-metal band; his younger brother, Manny, a spoiled tyrant who seems to get away with everything; and his well-meaning but often exasperated parents, who wish he would spend less time indoors playing video games. His best friend, Rowley Jefferson, is also a central figure, a loyal but somewhat naive and immature companion who, despite Greg's schemes to improve their social standing, often finds unexpected popularity of his own.
The perils of middle school are ever-present, chief among them the infamous "Cheese Touch." This schoolyard legend involves a moldy piece of cheese left on the basketball court, and anyone who touches it becomes an outcast, only able to break the curse by passing it on. Greg meticulously documents his efforts to navigate the complex social hierarchy, often attempting to use Rowley as a pawn in his grand plans to ascend the popularity ladder. These attempts, however, almost invariably backfire, leaving Greg in even more awkward or embarrassing situations.
One memorable misadventure involves Greg and Rowley's attempt to create a haunted house in Rowley's basement, inspired by a local attraction. Their endeavor quickly goes awry when a frightened child hides under a bed, leading to Rowley's father shutting down their spooky enterprise and grounding his son. Later, a Halloween night of trick-or-treating turns into a frantic chase when they are doused by a group of high schoolers, forcing them to seek refuge at Greg's grandmother's house before being soaked again by Greg's own father, who mistook them for vandals.
Greg's ambition to be recognized extends to school activities. He tries out for the wrestling team, only to be paired with Fregley, a quirky classmate, leading to an swift defeat. He also reluctantly participates in the school play, cast as a tree, an experience that proves as humiliating as he anticipates. His attempts to gain attention often involve Rowley, such as when they join the Safety Patrol. However, Greg's decision to scare kindergarteners while wearing Rowley's jacket leads to Rowley being unfairly fired, causing a rift in their friendship.
The tension between Greg and Rowley escalates when Rowley, with his innocent drawings and simple humor, becomes the new cartoonist for the school paper, eclipsing Greg's own artistic aspirations. This creates a deep strain, pushing their friendship to its breaking point. However, in a climactic moment on the playground, the high schoolers who tormented them on Halloween reappear and force Rowley to eat the cursed Cheese. The next day, with the Cheese gone, Greg makes a difficult choice. He takes the blame, claiming he ate it, thus absorbing the "Cheese Touch" himself and ending the dreaded phenomenon. This act, while making Greg an outcast for a time, ultimately mends the fractured bond between the two friends, allowing them to resume their adventures together as the school year draws to a close.