
The Humour Code
Peter McGraw, Joel Warner
What's inside?
Embark on a worldwide journey to uncover the universal secrets of humor and discover what truly makes us laugh.
You'll learn
Key points
01The Holy Grail of Comedy: Benign Violation
What exactly makes us laugh? For centuries, some of the greatest minds in human history have tried to pin down the elusive nature of humor, and frankly, most of them failed miserably. If you ask a philosopher from ancient Greece, like Plato or Aristotle, they would tell you that humor is entirely based on superiority. According to their theory, we laugh when we feel superior to someone else’s misfortune or stupidity. While this certainly explains why we chuckle when a pompous villain gets a pie to the face in a classic slapstick movie, it falls entirely short when we try to explain why a clever pun or a witty observation about airplane food makes us giggle. There is no one to feel superior to in a pun, yet we still laugh. Later on, the famous psychoanalyst Sigmund Freud stepped into the arena with his Relief Theory. Freud argued that human beings are pressurized vessels of nervous, repressed energy—especially regarding taboo subjects like society, aggression, and strict social norms. In his view, a joke acts as a psychological pressure valve. When the punchline hits, that repressed energy is suddenly released in the form of laughter. Again, this makes sense for certain types of edgy or inappropriate jokes, but it completely fails to explain why a baby laughs hysterically during a simple game of peek-a-boo. A six-month-old infant does not have years of repressed societal angst to release. Then came the Incongruity Theory, championed by heavyweights like Immanuel Kant. This theory suggests that humor happens when two completely unrelated concepts are smashed together, creating a surprise. An expectation is set, and then suddenly, something incongruous takes its place. This theory gets much closer to the truth, but it still has a massive, glaring flaw. If merely combining two unexpected things is the secret to humor, then finding a live grizzly bear sitting on your living room sofa should be the funniest thing in the world. But it isn't funny at all; it is absolutely terrifying. Surprise alone does not equal comedy. Enter Dr. Peter McGraw, a behavioral scientist who runs the aptly named Humor Research Lab HuRL at the University of Colorado Boulder. McGraw realized that all the previous theories were incomplete. They held pieces of the puzzle, but none provided a universal rule that could apply to every single instance of humor. After intense study, McGraw developed what he calls the Benign Violation Theory BVT. This theory is the beating heart of The Humour Code, and it elegantly explains everything from the highest-brow satire to the lowest-brow bathroom humor. The Benign Violation Theory states that humor occurs when three specific conditions are met simultaneously. First, there must be a violation. A violation is anything that threatens your perception of how the world ought to be. It can be a physical threat, a breach of social norms, a linguistic error, or an invasion of personal dignity. Second, this violation must be perceived as benign. In other words, despite the rule-breaking or the apparent threat, you suddenly realize that everything is actually safe, harmless, or acceptable. Third, these two perceptions—the violation and the benign nature of it—must happen in your brain at the exact same time. Let’s break this down with a universal example: tickling. Why do we laugh when we are tickled? When someone reaches out and pokes your ribs, it is a physical violation of your personal space. It is a simulated attack. However, because it is done by a parent, a friend, or a trusted partner, your brain recognizes that the "attacker" means no actual harm. The physical violation is rendered benign by the social context, resulting in involuntary laughter. This also perfectly explains why you cannot tickle yourself. When you try to tickle your own ribs, your brain already knows exactly what is going to happen. There is no surprise, no perceived threat, and therefore, no violation. Without a violation, there is no laughter. You can apply the Benign Violation Theory to absolutely anything you find funny. Think about a classic joke setup: a person is walking down the street and slips on a banana peel. If the person falls and severely injures themselves, requiring an ambulance, the event is a pure violation. It is a tragedy, and onlookers will gasp in horror. On the other hand, if the person sees the banana peel, steps over it safely, and continues walking, the event is purely benign. It is boring, ordinary life, and no one cares. But, if the person slips, flails their arms wildly, lands on their backside with a loud thud, but then immediately pops back up with a confused look on their face and no serious injuries, you have a benign violation. The expectation of normal walking was violated, but the outcome was harmless. The result? Laughter. This framework is revolutionary because it gives us a tangible toolkit to understand the mechanics of amusement. It explains why comedians often deal with dark, sensitive, or taboo subjects. They are intentionally introducing violations into the room to generate energy and tension. The true art of comedy, therefore, is not just about being shocking or saying outrageous things. If a comedian goes too far, the audience feels genuine discomfort, the situation ceases to be benign, and the laughter stops dead in its tracks. The audience might groan, get angry, or even walk out. The secret to mastering comedy is learning how to successfully navigate the razor-thin tightrope between what is wrong and what is okay. As we prepare to follow McGraw and Warner out of the academic laboratory and into the real world, you must keep this formula in the back of your mind. Every joke, every prank, and every witty remark we encounter from this point forward is simply a delicate dance between the benign and the violation. How we mix those two ingredients determines whether we end up with a masterpiece of comedy or an awkward, silent room.
02Taking the Stage: Can You Learn to Be Funny?
There is no environment on earth more terrifying for testing a theory of humor than a live stand-up comedy club. It is the ultimate proving ground. In a laboratory, a scientist can control the variables, hand out carefully worded questionnaires, and measure brain waves in a calm, sterile room. But the real world of comedy is messy, unpredictable, and ruthless. To truly prove that the Benign Violation Theory wasn't just academic fluff, Peter McGraw knew he had to put his own ego on the line. He and Joel Warner packed their bags and headed to the epicenter of the comedy universe: Los Angeles, California. Their destination was the legendary Comedy Store, a venue where giants like Richard Pryor, Robin Williams, and David Letterman had honed their craft. Stand-up comedy is a unique art form because the feedback loop is instantaneous and brutal. A musician can play a mediocre song and the audience will still politely sway along. A painter can hang a confusing painting and people will stroke their chins in quiet contemplation. But if a comedian tells a joke that doesn't work, the result is a deafening, suffocating silence. In the comedy world, this is known as "bombing," and it is a deeply visceral, painful experience. McGraw, a mild-mannered academic with absolutely no stage experience, decided he was going to write a stand-up routine using nothing but the principles of his Benign Violation Theory, and then perform it in front of a live LA crowd. When you analyze a stand-up comedy set through the lens of the BVT, the architecture of a joke becomes incredibly clear. The "setup" of a joke is designed to establish the baseline. It builds the benign world. The comedian talks about something relatable—going to the grocery store, dating, dealing with annoying family members. This lulls the audience into a sense of safety and shared understanding. Then comes the "punchline." The punchline is the sudden, calculated injection of a violation. It twists the narrative, shatters the expectation, or introduces an absurd perspective that the audience didn't see coming. However, delivering the punchline is only half the battle. The comedian must also somehow signal to the audience that this violation is safe to laugh at. They have to keep the room benign. How do they do this? They use their persona, their tone of voice, and their body language. Consider a self-deprecating comedian. By constantly making fun of their own weight, their lack of romantic success, or their general awkwardness, they are committing a violation against their own dignity. But because they are the ones doing it to themselves, and they are smiling while doing it, they give the audience permission to laugh. They make the violation benign. Conversely, look at an aggressive, loud, politically incorrect comedian. They are throwing massive violations at the audience, tackling taboo subjects that would normally cause outrage. To keep these massive violations benign, these comedians rely on the context of the comedy club itself. The audience bought a ticket, walked into a dark room with a brick wall, and knows they are watching a "performance." The stage itself acts as a protective barrier, a psychological distance that says, "None of this is real; it's just a show." If that same aggressive comedian stood on a busy street corner in broad daylight and yelled the exact same jokes at passing strangers, they wouldn't get laughs; they would get arrested. The context creates the benign environment. When McGraw finally took the stage, the tension was palpable. He tried to construct jokes mechanically, ensuring every premise had a violation and every punchline attempted to render it benign. But what he quickly learned is that humor is not a math equation that can be solved perfectly on a whiteboard. Knowing the theory of aerodynamics doesn't mean you can instantly fly a fighter jet, and knowing the theory of humor doesn't mean you can instantly control a room full of strangers. During his performance, McGraw experienced the agonizing reality of bombing. He delivered his carefully crafted violations, but the audience didn't laugh. Why? Because the audience could sense his underlying nervousness. As an amateur, McGraw was radiating anxiety. When the person on stage is visibly uncomfortable, the audience becomes uncomfortable. The shared psychological space of the room ceases to be benign. The audience feels bad for the comedian, and pity is the absolute enemy of comedy. The violation a guy failing on stage was no longer perceived as harmless; it was perceived as a genuine, painful social tragedy. This LA experiment reveals a profound lesson for anyone looking to incorporate more humor into their daily lives, whether you are giving a boardroom presentation, giving a toast at a wedding, or just trying to be more engaging at a dinner party. You cannot just memorize a funny line and expect it to work. You have to manage the energy of the people you are talking to. If you want to introduce a violation—a cheeky comment, a sarcastic observation, or a playful tease—you must first ensure that the relationship and the environment are solid enough to handle it. You have to project comfort and confidence. The audience is always the ultimate judge of what is benign. What one group of friends finds hilariously acceptable, another group might find deeply offensive. The secret to being funny isn't just about writing clever violations; it is about developing deep emotional intelligence and empathy. You have to read the room, understand the boundaries of the people you are speaking to, and carefully calibrate your jokes so they bump right up against those boundaries without ever actually breaking them. McGraw walked away from the stage a bit bruised, but with a deeper understanding: comedy is not just about the words you say; it is about the invisible connection you build with the people listening.

Continue reading with LeapAhead app
Full summary is waiting for you in the app
03The Anatomy of a Perfect Joke
04When Laughter Becomes a Contagious Disease
05Lost in Translation: Why Humor Varies Globally
06Laughing in the Face of Absolute Danger
07Is Laughter Really the Best Medicine?
08Conclusion
About Peter McGraw, Joel Warner
Peter McGraw is a behavioral scientist, professor, and Director of the Humor Research Lab at the University of Colorado Boulder. Joel Warner is a former staff writer for Westword and has written for various international publications. They co-authored "The Humor Code."