The Anti-hero: What Are They and How to Write One

Audiences love characters who toe the moral line. Here’s how to write one that actually works.

Written by Kevin Barrett  |  Updated
June 23, 2025
The Anti-hero: What Are They and How to Write One

Perfect people are boring. That's why the anti-hero keeps showing up in our favorite stories. They're messy, moody, and sometimes downright unlikeable and that's exactly what makes them magnetic.

I used to think anti-heroes were just villains with better lighting. Then I started analyzing stories and realized there was a pattern to why some anti-heroes work... and why others fall flat. Whether you’re writing a charming outlaw or a tortured loner, there’s a science to making them believable.

Contents

What Is an Anti-Hero?

If the classic hero is the person you’d want saving your cat from a tree, the anti-hero is the person who accidentally sets the tree on fire—but still gets the cat down.

An anti-hero is a protagonist who doesn’t check the usual boxes. They’re not noble. Not particularly selfless. And probably not someone you’d want dating your sibling. But despite all that, we still root for them.

They live in the gray area—fighting for something, sure, but maybe for the wrong reasons, in the wrong way, or for a cause that makes us uncomfortable. They aren't the villain. But they aren’t a saint either.

And that’s exactly why they work so well.

Anti-Hero Definition (Let’s Keep It Simple)

An anti-hero is a main character who:

  • Lacks traditional heroic qualities (like courage, morality, idealism)
  • Makes questionable decisions (but for reasons we understand)
  • Often operates by their own code, not society’s
  • Struggles with internal flaws like pride, vengeance, or apathy
  • Still earns audience empathy—even if it’s a little uncomfortable

They’re messy. They make mistakes. But they’re also strangely magnetic.

Why Do Anti-Heroes Resonate So Much?

Because they’re honest.

They mirror real human messiness. They show us that good people can do bad things, and bad people can still have lines they won’t cross.

In a world that doesn’t feel black and white, audiences love characters who reflect the complicated shades of gray we all live in.

The anti-hero isn't just a “cool rebel” trope. They’re a storytelling tool that reveals truth in ways perfect heroes can’t.

The 5 Rules of Writing a Great Anti-Hero

Anyone can slap some vices onto a character and call them an anti-hero. But writing one your audience actually cares about? That takes finesse.

Here’s what you need to get right:

1. Give Them a Flawed but Consistent Code

Anti-heroes don’t follow society’s rules, but they usually follow their own.

Maybe they won’t hurt children. Maybe they always repay a debt. Maybe they refuse to lie, even when it would help them. Whatever it is, that personal code helps your audience understand them—even when they’re doing terrible things.

[.ai-prompt]Use this AI prompt to help you out:
“Give my anti-hero a personal moral code. What is a line they will never cross, even if it costs them something?”[.ai-prompt]

2. Let Them Struggle with Internal Conflict

The best anti-heroes are fighting themselves just as much as the world.

They might hate what they’ve become. They might be tempted to change, but scared it won’t matter. That tension? It’s what keeps the audience glued to the page.

“A flawed character must internally struggle with their past beliefs and future desires,” says K.M. Weiland in Creating Character Arcs. “They cannot change unless that struggle feels real.”

And that internal tug-of-war? It makes every decision hit harder.

3. Make Their Motivation Make Sense

You don’t have to agree with an anti-hero. But you do have to understand them.

Give your anti-hero a worldview shaped by experience. Maybe they were betrayed. Abandoned. Burned by the system. The point is: even if their choices are chaotic, their reasoning should be clear.

This taps directly into a pain point for a lot of writers: your audience doesn’t need to like your character, but they do need to believe them.

Learn how to develop effective character motivations.

4. Build in Redemptive Potential (Even If You Don’t Cash It In)

An anti-hero doesn’t need to end up a good person. But they need to have the chance to be one.

It’s the “what if?” that keeps your audience invested. Maybe they choose violence every time—but we saw a flicker of softness once, and we’re still hoping.

That’s what makes them unpredictable. And human.

5. Hit Them with Tough Moral Dilemmas

This is where anti-heroes shine.

Give them choices where there’s no “good” answer. Let them pick between bad and worse. Watch what they sacrifice—and what they protect.

Those moments define them. And they’ll stick in your audience’s mind longer than any explosion or sword fight ever could.

Moral dilemmas: where character development and chaos hold hands.

Bonus: The Key to Getting Your Audience Behind Your Anti-Hero

What can really make an anti-hero compelling and can get the audience to root for your anti-hero is to give them instances where they are trying to be a better person. As long as your anti-hero isn't enjoying being bad, they'll root for your character.

Brian Cranston, the actor who portrayed Walter White in Breaking Bad, tells in an interview what really draws him to playing an anti-hero character:

Common Anti-Hero Archetypes (And Why They Work)

Anti-heroes come in all shapes, shades, and sharp-witted sarcasm. But most of them fall into familiar patterns that help audiences quickly get what kind of mess they’re in for.

Here are some of the most popular anti-hero archetypes and what makes them tick:

🧪 The Tragic Genius

They’re brilliant. They’re broken. They can fix the world... or destroy it.

This anti-hero often sees humanity as flawed or beyond saving. They're logical to a fault, but emotionally wrecked underneath the surface.

Examples:

  • Walter White (Breaking Bad)
  • Sherlock Holmes (BBC Sherlock – depending on the season)
  • Victor Frankenstein (Frankenstein)

Why they work:
They make you wonder, “What would I become if I had that much brainpower and baggage?”

⚔️ The Ruthless Avenger

They’ve been wronged. Badly. And now everyone’s about to pay.

They live by a personal code of justice, even if it involves arson, espionage, or creatively applied swords.

Examples:

  • Lisbeth Salander (The Girl with the Dragon Tattoo)
  • The Punisher (Marvel)
  • Arya Stark (Game of Thrones, early seasons)

Why they work:
We all wish we could get revenge sometimes. These characters let us live it out—without the jail time.

💀 The Charming Sociopath

They’re magnetic, hilarious, and probably dangerous.

This anti-hero type walks the line between entertaining and terrifying. They might kill people, but hey—they’re fun at parties?

Examples:

  • Dexter Morgan (Dexter)
  • Villanelle (Killing Eve)
  • Tom Ripley (The Talented Mr. Ripley)

Why they work:
They're the car crash you can’t look away from. It’s horrifying—but fascinating.

🧥 The Burnt-Out Idealist

Once, they believed in justice or truth or love. Now? Meh.

They’re jaded. World-weary. But every once in a while, that spark comes back—and when it does, it hits hard.

Examples:

  • Rick Blaine (Casablanca)
  • Holden Caulfield (The Catcher in the Rye)
  • BoJack Horseman (BoJack Horseman)

Why they work:
They mirror our own disillusionment—and our hope that maybe we haven’t lost everything just yet.

[.ai-prompt]Use this AI prompt to help you out:
“Based on my story idea, what kind of anti-hero archetype would make the most interesting protagonist—and why?”[.ai-prompt]

{{medium-article-callout="/construction/components"}}

Sometimes your anti-hero just wants a drink and a nap… not a redemption arc.

Famous Anti-Heroes and Why They Stick With Us

Some characters burrow into pop culture like splinters—and most of them are anti-heroes. Here’s why these flawed protagonists work so well (and what you can steal for your own story).

Walter White (Breaking Bad)

High school chemistry teacher turned meth kingpin.

Why it works:
Walter starts with a seemingly noble motive—providing for his family. But it doesn’t take long before that morphs into pride, control, and "I am the danger" energy.

What to learn:
Show the slow descent. Let your audience justify it... until they can’t.

Hamlet (Hamlet)

Royal emo kid with a flair for drama and murder.

Why it works:
Hamlet waffles, monologues, overthinks everything—then kills a guy through a curtain.

What to learn:
An anti-hero doesn’t need to be decisive or likable. They just need to feel real in their moral messiness.

Tony Soprano (The Sopranos)

Mob boss with a therapist and a soft spot for ducks.

Why it works:
Tony is brutal—but we also see his anxiety, his fatherhood, his guilt. He’s not excused, but he’s understood.

What to learn:
Let us sit in the contradictions. Don’t resolve them too cleanly.

Holden Caulfield (The Catcher in the Rye)

Cynical teen who hates phonies, lies constantly, and just wants someone to listen.

Why it works:
He’s frustrating, sure—but also raw, emotionally honest, and grieving.

What to learn:
Flawed doesn’t mean fake. Give your anti-hero an emotional core the audience can still hold onto.

Lisbeth Salander (The Girl with the Dragon Tattoo)

Socially sharp-edged, morally unflinching, and never afraid to torch a predator’s life.

Why it works:
She’s the embodiment of vengeance meets justice, minus any sugar-coating.

What to learn:
If your anti-hero plays outside the law, show why that law failed them first.

Common Anti-Hero Mistakes Writers Make

Creating an anti-hero isn’t just about tossing a trench coat on your protagonist and giving them trauma and sarcasm. Here are the biggest tripwires I see writers stumble into when building morally gray characters.

❌ Mistake #1: Making Them Edgy for No Reason

Some writers confuse “anti-hero” with “jerk protagonist.” If your character is cruel, selfish, or reckless just because, it won’t land. Even if your anti-hero’s actions are awful, the why has to be solid.

Think: “They lie to protect themselves because they’ve been burned before,” not “They lie because it makes them seem cool.”

❌ Mistake #2: Forgetting the Moral Code

Even the messiest anti-heroes need something they won’t do. When they have no boundaries, they start to blur into straight-up villains.

Give your audience a line your character refuses to cross or a line they do cross that changes everything.

❌ Mistake #3: No Redemptive Glimmer

You don’t need a full redemption arc. But if there’s no flicker of goodness, no moment of vulnerability, it’s hard to care. Even Dexter has his code. Even Tony Soprano has his family.

Redemptive potential is what keeps your audience invested even if your character keeps falling short.

❌ Mistake #4: Missing the Internal Conflict

Anti-heroes work best when they’re wrestling with themselves. If your character is confident in every bad decision they make, where’s the tension?

Make sure they second-guess. Regret. Rationalize. The good ones squirm.

❌ Mistake #5: Being Morally Gray Without a Point

If your anti-hero doesn’t serve the theme, they’re just noise. The best ones reflect your story’s core question.

  • Walter White: “Is pride more important than morality?”
  • Lisbeth Salander: “What does justice look like outside the system?”
  • Holden Caulfield: “What does it mean to grow up in a phony world?”

Your anti-hero should be the messy embodiment of your story’s heart.

🧰 Need Help Building Your Anti-Hero from Scratch?

Start with the Ultimate Character Builder template.

It’s not just a list of surface-level traits—it helps you dig into your character’s flaws, motivations, and messy contradictions so you can build someone your audience loves to root for and yell at.

Perfect for crafting that gritty, complicated lead who feels real on the page.

Final Thoughts: The Gray Makes Them Great

Writing an anti-hero isn’t about making a villain “relatable” or a hero “edgy.” It’s about telling the truth—that real people are rarely all good or all bad.

That mess? That contradiction? That’s where your audience leans in.

When you give your protagonist sharp edges, internal conflict, and a moral compass that spins under pressure, you’re giving us something honest. Something human.

So go ahead—build the character who lies, fights dirty, or bails on the noble cause. Just make sure they’re worth following.

And if you’re looking to build a flawed, fascinating protagonist that still feels grounded, check out the Ultimate Character Builder. It’s made to help you dig deep into your character’s psychology and give their story the kind of depth that makes your audience feel something.

Kevin from StoryFlint
Kevin from StoryFlint

Hello friends! I'm Kevin, the creator of StoryFlint. I love the science of storytelling and learning how to create compelling characters, plots, themes and worlds. I've helped thousands of writers gain clarity with their stories through content and Notion templates.

About me
Free
Character Profile
Notion app icon
Notion Worksheet
Build unforgettable characters with a simple, organized template that tracks their traits, backstory, and arc.
Get it for free
Story Planning Is Easier With a Sidekick
Start the story that’s been stuck in your head. StoryFlint’s Notion templates make planning clear, quick, and kind of fun.
Try a free template
Take your next step to writing smarter:
Story Planning Is Easier With a Sidekick
Start the story that’s been stuck in your head. StoryFlint’s Notion templates make planning clear, quick, and kind of fun.
Try a free template

Explore more:

Feeling Lost in Your Story? Get Organized and Get It Done.

Overwhelmed, overthinking, and overdue for a finished draft? The Storyteller OS helps you organize your entire story in Notion—plot, characters, world, and all—so you can write with clarity and finally finish.
"I have spent more time than I care to admit trying to organize things when I'm writing. The Storyteller OS makes it so much easier."
Sayre Ambrosio

Some love from some happy people ❤️

See how the StoryFlint has been helping thousands of your fellow writers out.

Jumpstart your story now