What Is an Antihero and How to Write One

By Updated 12 min read

Here's how to write an antihero: give your main character a personal motive, a questionable method and one line they won't cross, then make that line cost them something. An antihero is the protagonist who lacks classic heroic qualities like nobility, courage or clean morals, yet carries the story and keeps readers watching.

A hooded man stands in the rain on an empty night road under a streetlight shaped like a speech bubble
Illustration generated with AI

Key takeaways

  • An antihero is a central character who lacks the usual heroic qualities. The word describes a role in the plot plus a judgment of the character's actions; it is not another word for villain.
  • A villain sets out to do harm to get what they want. An antihero uses questionable means for mostly personal reasons and often has a line they won't cross.
  • An anti-villain is the mirror image: an opponent of the hero with admirable traits. Javert in Les Misérables is the classic case.
  • Dostoevsky's narrator in Notes from Underground (1864) points out that his own book gathers the features of an anti-hero.
  • To write an antihero, give them a personal motive, a principle that's costly to keep and at least one act that makes them easier to root for.
Contents
  1. What is an antihero, in plain terms?
  2. How is an antihero different from a hero, a villain and an antagonist?
  3. Where does the word "antihero" come from?
  4. What types of antiheroes are there?
  5. Antihero examples in literature
  6. Why do readers like antiheroes?
  7. How to write an antihero in 6 steps
  8. Antihero example: Silas Wren, the harbor doctor
  9. How do you play an antihero in an AI roleplay?
  10. What mistakes ruin an antihero?
  11. Bottom line

What is an antihero, in plain terms?

An antihero is a main character who lacks the usual heroic qualities. They don't save the world out of nobility, they aren't always brave or honest, and they can be cynical, greedy or ruthless. But the story is about them, and the reader wants to know what they'll do next.

Wikipedia describes the antihero as a figure who stands in opposition to the traditional hero, yet the term is used for the character the story follows. The key word is protagonist. An antihero is a combination of role and judgment: by role they are at the center of the plot, and by judgment their actions are not always ones you'd want to applaud. Huckleberry Finn is a good example. He lies, dodges school and runs from every adult who tries to reform him, yet the whole novel is his.

Here's a quick two-question test. First: whose fate are you following? That's the role. Second: what heroic act do you expect from this character, and how do they let that expectation down? If you can answer the second question, you're probably looking at an antihero.

How is an antihero different from a hero, a villain and an antagonist?

The confusion comes from the fact that these words describe different things. Protagonist and antagonist are roles in the plot: who drives the story and who gets in the way. Hero and villain are moral judgments. The antihero sits where the two meet: by role a protagonist, by morals somewhere in the middle of the scale. Other plot roles, like the hero, the mentor and the shadow, are covered in our guide to character archetypes.

Who Role in the plot How to spot them
Hero Usually the protagonist The story invites you to admire what they do
Antihero Protagonist You follow them even though they lack heroic qualities; their methods are questionable
Villain Usually the antagonist, sometimes the protagonist Sets out to do harm to reach a goal
Anti-villain Antagonist A villain or opponent with admirable traits or understandable motives
Antagonist The protagonist's opponent Not a moral judgment: it can be a person, a system or a storm

The most useful practical sign is the line an antihero won't cross. In Writer's Digest, Jessica Page Morrell notes that there is usually a line antiheroes won't cross, and that this is what separates them from villains. Their motives, as Wikipedia points out, are usually personal rather than a duty to the greater good. Treat these as guideposts, not laws: a passive, lost protagonist with no code at all can still be an antihero.

The anti-villain is the mirror image. Wikipedia calls the anti-villain the opposite of an antihero: a character who plays a villain's game, but for a noble cause. Inspector Javert in Victor Hugo's Les Misérables is a classic example. He hunts Jean Valjean not out of spite but out of respect for authority and an unbending faith in the letter of the law.

The roles aren't fixed forever. Ali Luke at Aliventures notes that villains are unlikely to be redeemed, and that a villain who does change is often shifting into an antihero role. If what you need is the protagonist's opponent rather than the protagonist, see villain vs. antagonist.

If what fascinates you is the price of a choice rather than the role, our guide to morally grey characters goes deeper into dilemmas with no clean answer.

Where does the word "antihero" come from?

The type is much older than the word. Morally ambiguous figures go back to the trickster tales of myth and fable. In the medieval Reynard the Fox cycle, the fox fools the other animals for his own gain and slips out of every trap they set, and his schemes are fun to follow even when you don't approve of the cheating. Wikipedia also finds the type in Renaissance literature such as Don Quixote and in the rogue of the picaresque novel.

The figure became a fixture of serious fiction with Fyodor Dostoevsky. The bitter, hyper-self-aware narrator of Notes from Underground (1864) is the character most often tied to the modern antihero, and near the end he says it himself: a novel needs a hero, and his book has purposely collected all the features for an anti-hero. He longs for an ideal and picks apart his own motives, and none of that stops him from acting cruelly.

In the 20th century, the label stretched to cover ordinary, lost people, not just rogues and rebels. Wikipedia lists Kafka's The Metamorphosis (1915), with its alienated, indecisive protagonist, among the existentialist works that shaped this version of the antihero.

What types of antiheroes are there?

There's no single official classification. Below are several common ways to recognize an antihero, and one character can fit more than one. The list draws on Wikipedia's articles on the antihero, the Byronic hero and the superfluous man; the "How to spot them" column is our summary.

Type How to spot them
The trickster (rogue) Breaks rules and lies, yet wins you over with wit and nerve. Example: Reynard the Fox
The Byronic hero Brilliant, moody, cynical, contemptuous of society, with a dark past
The superfluous man Gifted and disillusioned, finds nothing worth doing and hurts the people close to him. Example: Eugene Onegin
The underground man Thinks endlessly, acts little, resents the world and himself. Example: the narrator of Notes from Underground
The charming rebel Defies the rules and attracts people with independence; the charm doesn't make him right
The criminal protagonist The story shows his calculations and choices from the inside; sympathy doesn't erase the harm he does

The types blend. Wikipedia calls the Byronic hero a type of antihero and a precursor of the modern one, and it describes the superfluous man of Russian fiction as a type derived from the Byronic hero, with Onegin and Lermontov's Pechorin as the leading examples.

Antihero examples in literature

Here are examples from classic literature, each with a short note on why it counts.

Character Why an antihero
Reynard, Reynard the Fox Trickster: fools rivals for his own gain and escapes every trap
Huckleberry Finn, Mark Twain Called "the first antihero in the American nursery": lies, runs away, rejects respectability
Eugene Onegin, Pushkin Superfluous man: rejects Tatyana's confession and kills his friend Lensky in a duel
Pechorin, A Hero of Our Time Smart and brave but treats people as pieces in his games; a nihilist and fatalist
The narrator of Notes from Underground Says his own story collects the features of an anti-hero
Heathcliff, Wuthering Heights A Byronic hero: alienation, passion and revenge in place of nobility

The common thread is the one in the definition: none of these characters is a model to follow, and every one of them is the reason the book gets read.

Why do readers like antiheroes?

First, they're unpredictable. A hero will probably do the right thing. An antihero might do the wrong thing simply because it's easier: Morrell lists that as one of the type's traits. The reader doesn't know how the scene will end, and that holds attention.

Second, an antihero makes it easier to see feelings a model hero might hide: envy, resentment, exhaustion, the urge for revenge. One common explanation is that readers recognize in the character what's hard to admit about themselves. Inside fiction, you can feel for someone without endorsing their choices.

Third, an antihero gives the writer a hard moral problem without an easy answer. The conflict isn't only outside the character but inside: what they want and what they won't let themselves do.

One important caveat: liking an antihero as a character doesn't mean approving of what they do. Morrell is blunt about it: antiheroes are not role models.

How to write an antihero in 6 steps

1. Give them a personal motive. Not "save the world" but "pay off the debt," "prove I was right," "survive and don't get caught." The reader should understand the motive even if the goal is questionable.

2. Give them a principle that's costly to keep. This isn't a required feature of the type, it's a way to build a scene of choice. Aliventures puts it this way: give your antihero a moral code, even if it's not one most people share. Write one rule the character follows even when it hurts them: "Never haggles when the help is urgent," "Never lies to someone who trusted him."

3. Show where their words and actions split. An antihero can be rude to the person they're helping. Or talk beautifully and act like a rat. Morrell calls antiheroes a mess of contradictions. For this kind of character, look at traits that cut both ways, strengths that turn into flaws under pressure.

4. Add a moment that makes them easier to root for. Show what they're willing to give up for someone else: quietly leaving money for a widow, handing over their own meal, losing a good client. If you want the reader's sympathy, Aliventures advises giving even a dark antihero some nice moments.

5. Explain, don't excuse. Behind an antihero's harshness there's often a hurt that earns sympathy: Morrell suggests letting trouble from the past keep resurfacing to wreck their plans. Pick one event from the character's backstory and show how it shapes today's decisions. The choice still belongs to the character.

6. Decide whether they'll change. An antihero can reform, become a hero, stay exactly who they were or sink lower. None of these is mandatory. If you're heading for redemption, keep what readers love about them: Ali Luke suggests holding on to things like their dry wit or their outspoken nature.

Once you have the motive and the principle, set them against each other. For an adult roleplay scene (18+), find out which deal your antihero will turn down, and see what it costs them.

Antihero example: Silas Wren, the harbor doctor

Here's an antihero built with the six steps. The town and characters are fictional, and everyone is an adult: Silas is 46, the courier is 30.

Silas Wren, 46, a former ship's doctor. He lost his license and now sees patients in a basement by the old harbor.

Motive: save enough money to leave for somewhere nobody knows him.

Method: cash up front, no questions, no records. Rude to everyone. Charges different prices for the same job: if he can tell a patient is afraid of anyone finding out, he doubles the fee.

Principle: doesn't haggle over urgent help. He won't turn away someone who's bleeding, even if they can't pay.

Contradiction: claims he doesn't care, but remembers the name of everyone he's ever treated.

Past: once, aboard ship, he chose who to save first and chose wrong. He doesn't talk about it.

Arc: open. He might leave with the money, or stay when trouble hits the harbor.

The first scene. Midnight. A paying client waits in the basement to have a wound quietly stitched, and Silas has already quoted him double. A courier walks in with a gash across his palm and no money. Silas, without getting up: "Cash up front. No money, the door's where you came in." The courier takes off his father's watch. Silas looks at the blood-soaked rag and slides the watch back: "Put that away. Show me the hand." The paying client by the door sighs loudly: now he has to wait, and he might walk.

What happens What it shows
Double price for the paying client Questionable method: he profits from other people's fear
"Cash up front" Rudeness as a style
Slides the watch back The principle: no haggling over urgent help
Risks the paying client The principle costs him money; this is the moment for sympathy

Silas doesn't become a hero. He still practices without a license and still overcharges people who are scared of being found out. But he has a principle, and the reader sees it in an action, not in words. A villain in this scene would have taken the watch and made the courier wait.

How do you play an antihero in an AI roleplay?

In an AI roleplay with an antihero, watch for two kinds of drift. The first: has the cynic turned sweet for no reason and started apologizing and thanking people? The second: has the rudeness turned into threats in every line, and the principle into an empty word?

To have something to compare replies against, describe the character through behavior, not labels.

  1. Describe the method as actions. Not "cynical and rude" but "answers in short sentences, haggles over payment, never talks about himself."
  2. Write the principle as a condition. "If someone is injured, he helps even if they can't pay, but acts like he doesn't care." The model needs a situation and a reaction.
  3. Cap the softness. Add: "Doesn't thank anyone, doesn't apologize, doesn't explain his good deeds." That gives you a benchmark for every reply that follows.
  4. Give the scene a goal. "Get paid without asking questions" is a goal for this conversation; "leave town" is a goal for the whole story. A scene needs the first kind.

If the character still slips, see how to keep an AI in character. The full structure of a description, from appearance and personality to speech and example dialogue, is in the guide on how to write an AI character.

On aimy.chat, a long text fits into the character description (with PRO, up to 2,000 characters per field). For Silas, write down at least two anchors: when he demands payment and who he'll help without it. Also, the chat opens with a greeting the character writes itself from its description, and creator beta testers with PRO can also write the first message by hand: something like "Cash up front. What happened to your hand?" works well. aimy.chat is for adults, 18+; a scene with an antihero is fiction with adult characters and no explicit content. Free: 100 messages a day and your first AI character of your own.

To test the principle, play out Silas's night with the courier. Open with: "I don't have cash. Will you take the watch?" The reply fits the description if Silas helps without payment but doesn't turn into a different person for no reason. Below is a scene setup, not a transcript of a real chat.

For more ways to steer a scene, see the guide on how to roleplay with AI.

What mistakes ruin an antihero?

  • A villain with an "antihero" label. Cruel, hurts everyone, nothing holds them back. Fix: one means they'll refuse even when it would pay, and a scene that tests it.
  • "Bad" only in talk. The character mouths off but never does anything questionable. Fix: at least one act that's hard to justify.
  • Darkness without limits. Morrell warns against making an antihero too angst-ridden or too wacky to be understood or sympathetic. Fix: one wound, not ten.
  • Unearned redemption. In the finale the antihero suddenly turns good for no reason. Fix: change through actions the reader has seen.
  • Excuse instead of explanation. A hard past turns them into a victim who can be forgiven anything. Fix: the past explains the choice, but the choice is theirs.
  • The whole backstory in the first line. The antihero tells their tragedy in the opening scene. Fix: let the past show through details, as with Silas.

Bottom line

An antihero is a main character who lacks the usual heroic qualities: they drive the story but act in ways a model hero wouldn't. What usually separates them from a villain is a personal motive instead of a wish to do harm, plus a line they won't cross. What separates them from an antagonist is the role: the antihero is at the center of the plot, not working against it.

To write your own antihero, start with a motive and a principle that's costly to keep, add a contradiction and a moment that makes them easier to root for. Then do what the scene did to Silas: put them in front of a choice where their usual way of getting what they want has a price. If you can see from their actions what they want and what they're risking, the character is ready.

What will your antihero choose when the principle gets expensive?

Looks, personality, voice · one-click sign-in

Free: 100 messages a day and your first AI character of your own

Or with

400,000+ sign-ups · 18+

By continuing, you agree to the Terms and Privacy Policy.

FAQ

Is an antihero a good guy or a bad guy?

Neither, in pure form. An antihero sits at the center of the story the way a hero does, but with obvious flaws: cynicism, greed, harsh methods or indifference to the common good. Readers don't have to approve of them. They just need to want to know what the antihero will do next.

What's the difference between an antihero and a villain?

A villain knowingly causes harm to reach a goal and usually stands against the hero. An antihero is the one the story follows. Their methods are questionable and their motives are usually personal. Many antiheroes also have a line they won't cross, which is one of the clearest ways to tell them apart from a villain.

Can a villain be the main character?

Yes. Main character tells you who the story is built around, while villain tells you how to judge their actions. Being the lead doesn't automatically turn a villain into an antihero: if they set out to do harm and nothing holds them back, they're a villain protagonist.

What is an anti-villain?

An anti-villain is a villain or opponent of the hero who has sympathetic motives or admirable traits such as honor, courage or devotion to duty. They are as morally mixed as an antihero but play the opposite role. A classic example is Inspector Javert in Victor Hugo's Les Misérables, who hunts Jean Valjean because he puts the law above everything else.

Is Huckleberry Finn an antihero?

He's often described that way. Huck lies, runs away and resists every attempt to civilize him, and he narrates his own story. Critics have called him the first antihero of American children's literature, a boy readers root for precisely because he doesn't behave the way a model hero should.

Can an antihero change for the better?

They can, but they don't have to. An antihero's story can end in redemption or even a heroic act, or it can end without either. What matters is that the change is earned: show the character making a different choice in a familiar situation instead of announcing remorse in the last chapter.

Sources

  1. Antihero — Wikipedia
  2. Notes from Underground — Wikipedia
  3. Notes from Underground (review) — Salon,
  4. Byronic hero — Wikipedia
  5. Superfluous man — Wikipedia
  6. Villain: Sympathetic villain — Wikipedia
  7. Javert — Wikipedia
  8. Reynard the Fox — Wikipedia
  9. How to Create an Antihero That Readers Love — Writer's Digest (Jessica Page Morrell),
  10. Anti-Heroes and Villains: How They're Different & Tips for Writing Them Well — Aliventures (Ali Luke),
What changed
  • — First version.

What next

What nextHow to Write an AI Character for Chat, With a Full Example

Related articles

Characters & stories

What Is a Mary Sue and How to Avoid Writing One

A Mary Sue is a character the plot bends over backward for. Where the term comes from, what a Gary Stu is, the warning signs, a 10-question test and a fix.

All articles

Continue in aimy

Free: 100 messages a day and your first AI character of your own

Or with

400,000+ sign-ups · 18+

By continuing, you agree to the Terms and Privacy Policy.