How to Create a Magic System: Rules, Costs, Limits

By Updated 13 min read

How to create a magic system: decide what a character can do with magic and what it costs. Start with one action, give it a hard limit and build a scene where the cost changes a choice. Below: eight questions, an example, a cost table and a template. Then test the cost of your magic with an AI narrator.

A man in a coat draws a glowing circle over a stone altar in a night forest, a speech bubble at its center
Illustration generated with AI

Key takeaways

  • A magic system is a set of rules: a source, one core action, a limit, a cost, a weakness and the people who hold the power.
  • The more your climax depends on magic, the more the reader needs to know beforehand about what it can do.
  • Limits, weaknesses and costs are different things: the first says what the mage can't do, the second gives a rival an opening, the third says what the mage loses even when it works.
  • Before you add a new power, trace one more consequence of the old one: that's how magic gets tied to daily life and to power.
  • Show the rule that decides the ending early and in action, not in a lecture.
Contents
  1. What is a magic system?
  2. Hard vs. soft magic: which one should you pick?
  3. How to create a magic system: 8 questions
  4. Example: name magic in the city of Velm
  5. What should magic cost? Costs and limitations
  6. Types of magic in fantasy: where does the power come from?
  7. How do you show the rules of magic without a lecture?
  8. Which mistakes break a magic system?
  9. How do you test magic in a scene and in AI roleplay?
  10. Magic system template
  11. Bottom line

What is a magic system?

A magic system is the set of rules magic follows in a fictional world. "The mage opens a door" is only an ability. "She can open any door she has touched, but she forgets the word for it forever" is a rule, and a rule gives you a scene.

Why bother with rules if "it's magic"? A power that can do anything wins every scene in one move. The hero has no reason to take risks, and the reader has nothing to worry about. Rules turn magic from a special effect into a tool: it has an edge it can't cross, using it has consequences, and that forces the character to choose. When you build your own system, the first thing to check is whether any two of your rules contradict each other.

A system doesn't have to be a spreadsheet with a hundred spells. One strong idea and honest answers to the eight questions below are often enough. If all you need right now is magic's place among the other rules of your world, start with the section on magic and technology in the worldbuilding guide. Here you'll take one rule all the way to a choice in a specific scene.

Hard vs. soft magic: which one should you pick?

Brandon Sanderson describes a scale between two poles. Soft magic keeps its rules in the shadows and is there to create wonder and mystery. Hard magic is explained well enough that the reader understands how a character can use it, so the resolution comes from the character's ingenuity. That's the root of his First Law: an author's ability to solve conflict with magic is directly proportional to how well the reader understands that magic.

Hard Soft
What the reader knows The rules, the limits and the cost Sees what magic does, but can't predict what it can do
What it gives the plot Clever solutions, a fair ending Mystery, threat, surprise
What to avoid Lectures instead of scenes Using it to solve the main conflict

Sanderson's go-to example of the soft end is Tolkien. In his essay he points out that what the wizards can actually do is rarely made clear, and that Gandalf doesn't simply fly Frodo to Mount Doom. That restraint is exactly why soft magic feels vast instead of convenient.

How to choose for your story:

  • Mystery, adventure, D&D, AI roleplay: lean hard. Players and readers need to know what's possible, or every win looks like a gift. How to run a campaign with an AI as the game master is covered in the guide to the AI dungeon master.
  • Fairy tales, the supernatural, horror: lean soft. Let magic be a threat or a backdrop, but let people decide the ending.
  • A mix: a common choice. The hero controls an understandable slice of the system, while the old powers of the world stay a mystery.

How to create a magic system: 8 questions

If you don't know where to start, pick one action your character can perform in the first scene. Then answer each question below in one to three sentences. The first questions cover what you need to show magic in a scene; the later ones tie it to the world.

1. Where does the power come from? Gods, nature, inner energy, an ancient language, a bargain, a bloodline. The LegendKeeper guide to magic systems lists options like a pantheon of gods or spirits who grant power, a connection to a force such as the natural world, or pure chance. If the gods hand out the power, ask what they get out of it and whether their word can be trusted.

2. What can magic do? Name one core action, not ten. "Command an object," "hear water," "move heat from one place to another." One power traced all the way to its consequences beats a dozen unrelated ones.

3. What can't magic do? This is the limit, the edge of what's possible. Sanderson's Second Law: limitations are more important than powers. What's interesting isn't what magic can do, but where it stops and what mages struggle against.

4. What does it cost? The cost is what casting takes from the mage. In Sanderson's essay, cost can be abstract, like the One Ring making its bearer more covetous and paranoid the longer they hold it, or concrete: in his throwaway example, if it takes three magic beans to make a doorway appear, your character needs three magic beans. A full table of costs is below.

5. Where is the weak spot? A weakness is a vulnerability a rival can exploit. If a mage is helpless in a noisy room, their opponent now has a tactic. How a weakness works for an antagonist is covered in the guide on how to write a villain. Sanderson treats weaknesses as separate from limitations: a limitation is something the magic simply can't do, a weakness is something it is vulnerable to.

6. Who has magic, and why not everyone? A gift in the blood, years of training, a rare material, a license from the state. If access to power is restricted, decide who grants the licenses and who sells them on the side.

7. What does magic look like from the outside? What witnesses see, hear and feel. A smell of ozone, numb fingertips, a room going quiet. These tells let you show magic without explaining it, and they let witnesses recognize a mage.

8. How has magic changed the world? This is where Sanderson's Third Law comes in: expand what you already have before you add something new. Continue your rule with "which means" and watch daily life shift. If magic can open any lock, then the rich rely on guards rather than locks, which means guarding is a respected trade.

Once your answers are written down, ask your mage when they would refuse to cast. The answer shows whether the cost is steep enough to matter.

Example: name magic in the city of Velm

Let's run all eight questions on one system. The idea: every kind of thing has a true name, one for doors, another for ropes. Whoever speaks that name gets brief power over one such thing.

Question Answer
Source The old language in which things were first named
Can Command one object for a minute: a door opens, a rope comes untied, a stove fire goes out
Can't Command a person or an animal; name an object the mage hasn't touched with a bare hand
Cost The mage forgets both the true name and the everyday word for that thing, forever. They can describe it in other words, but never learn the word again
Weakness The object must "hear" the whole name: a bell or a cough breaks the spell
Who has it The Guild of Namesmiths: the dictionaries in its archive help members learn new names but don't give back spent ones
Tells The mage's lips go numb, and the object seems to go quiet for a moment

Now the "which means" chain, which is the whole point of building a system.

  1. A mage who has spoken the name of "lock" can no longer say "lock" and says "the thing that keeps a door shut." Which means you can spot a veteran namesmith by their roundabout speech: the more words they've spent, the more elaborate they sound.
  2. Each name can be spent only once. Which means namesmiths guard everyday words and gladly spend rare ones: "culverin" is cheaper than "bread."
  3. Dictionaries are a source of power. Which means stealing one is a serious crime, and the guild keeps its own guards.
  4. Any door can be named. Which means merchants don't trust locks: a doorkeeper sits outside every vault.
  5. The name has to be heard in full. Which means the archive guards carry a bell that can drown out a namesmith's voice.

A sample choice: a namesmith has until the end of the watch to get into the archive, and the only way in is a locked door. He knows its true name, but "door" is also tonight's password for the guards at the exit. If he opens it now, he won't be able to answer when they challenge him. The power is there, but he'll pay for it in the same scene. That kind of choice is the reason a cost exists.

What should magic cost? Costs and limitations

Magic system limitations and the cost of magic answer different questions. To keep them apart, define three things separately, as Sanderson does in his Second Law essay:

What you define Test question In Velm
Limit What's impossible even under perfect conditions? A name can't command a person
Weakness How does a rival break the spell? Drown out the name with a bell
Cost What does the mage lose even when it works? The word for the thing they commanded

Don't confuse a requirement with a cost. Touching the rope is a requirement: the mage loses nothing by touching it. Forgetting its name is the cost.

A cost works when it hits what the character needs in the story. If the mage loses something they never notice, there is no cost. Choose it to fit your genre and the conflict you want.

Cost The conflict it creates
Memory: words, faces, recollections Power against whatever makes the character who they are
Time: years of life Every spell brings the end closer
Sleep: after casting, the mage sleeps until dawn They can open the archive now, but will miss an important meeting
Physical toll: exhaustion, fever, numbness After a win, the mage is defenseless
Material: salt, candles, rare metal Magic can be taken away, bought or stolen
A debt to the source Someday someone will come to collect
Feelings: the mage loses fear, joy or pity A powerful mage becomes a stranger to the people close to them
How others see you: fear, a ban, a stigma Magic can save someone, but the mage has to reveal themselves

You can also add risk on top: the cost is known up front, while backlash may or may not happen. That works well in horror and supernatural fiction.

One hard "never" is often more useful than every other rule combined. For example: magic can't bring back the dead and can't control anyone's will. It sets a boundary the reader remembers in the finale, and it keeps you from the temptation to write your way out with a new power.

Types of magic in fantasy: where does the power come from?

Here types differ by the source of power, not by how much the reader knows about it. The source tells you who's in charge in the world, whom people fear and what they argue about. In Dabble's guide to building a magic system, Doug Landsborough notes that power can flow from a single thing like a deity, a holy relic or a supernatural place, and that magic can also be studied and learned. In his own example, magic works through runes, runesmiths have to go to school for their craft, and carving a rune costs days or years of the carver's life. You can combine both paths in one story. Power can also live in objects: for examples that come with a cost, see these magic item ideas.

Source What it adds to the world
Gods or spirits Temples, vows, fear of losing favor
Inner energy Training, exhaustion, rivalry between masters and apprentices
Knowledge: language, formulas, runes Closed archives, a trade in notes, theft
Nature and the elements Seasons of power, places of power, land disputes
A bargain or pact Debt, terms, loopholes in the wording
Objects and materials Trade, mining, smuggling
Bloodline Nobility, arranged marriages, secret heirs

Pick one main source. Add a second only if it argues with the first: for example, priests who call the scholars' magic heresy. That way your sources create conflict instead of another list.

How do you show the rules of magic without a lecture?

The reader has to understand the rules before they decide the ending. But in his Third Law essay Sanderson warns about the opposite trap: overloading a story with expository worldbuilding until it gets boring. Scene first. Here's how the Velm rule looks with no explanation:

The namesmith touched the rope and whispered its name. The knot fell open. "Now coil up the…" He searched for the word and held the end out to his partner. "This."

The reader sees the action first, then a concrete loss. The rule is clear without a single line of exposition.

On aimy.chat, a long text fits into the character description (with PRO, up to 2,000 characters per field). If you're setting up AI roleplay for your world, copy three lines into the mage's description: the limit, the weakness and the cost. 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. Don't start with the mage's biography; start with the moment someone asks them to pay.

A few more techniques:

  • Show the cost in front of the hero. Let a minor mage pay it in the first chapter. The reader will remember the rule through a scene, not through an explanation.
  • Show the limit before the climax. If the hero gets around a ban in the finale, that ban has to show up earlier and work at least once.
  • Explain through an argument. Two characters understand a rule differently, and the reader learns it from the conflict, not from a reference page.
  • Keep mystery where it doesn't decide the outcome. The origin of magic can stay a secret; its cost can't.

Which mistakes break a magic system?

Mistake How to fix it
Magic can do anything Give it one core action and one hard ban
The cost exists on paper, but the hero never feels it Make the cost hit what they need in this story
The deciding ability shows up in the finale Show it earlier, in a lower-stakes scene
The rules change whenever it's convenient Write the rules down as a list and check against it
Magic doesn't touch daily life or power Trace three consequences with "which means"
Ten schools of magic and forty spells before the first scene Start with one power and add the rest when you need it
Everything is explained in a lecture Show the rule in action or in an argument

An exception invented only for the ending stands out the most. If your protagonist is the only one who can break a ban, explain why the rule bends for them, and make them pay more than anyone else. Otherwise the ban was just scenery.

One more check from the Third Law: before adding a new school of magic or a new gift, try to solve the scene with the power you already have. If it works, you don't need the new gift.

How do you test magic in a scene and in AI roleplay?

Put five questions to your magic. If the answer comes right away and doesn't contradict your notes, the rule is ready.

  1. What can't the mage do, even if their life depends on it?
  2. What did they lose with their last spell?
  3. How would an opponent who knows the rules beat them?
  4. Who makes money from magic, and who suffers from it?
  5. Why doesn't the mage solve the main conflict in one move?

You can check the answers in a conversation too: ask a rival to break the spell without breaking your rules. Compare their move with the "Weakness" line: could they actually do that according to your notes?

If you're writing a book, ask yourself and your co-writer these questions. If you're roleplaying with AI, ask the mage to answer in character. If a new rule shows up in the answer, you decide whether to accept it. Then give the mage a similar task again. If they reuse a name they already spent, compare the reply with your notes: did you forget to say the loss is permanent, or did the narrator skip a rule you wrote down?

In the second case, correct the reply with an out-of-character note in double parentheses, for example: "((He already spent the word 'door.' Describe how he asks for it to be opened without naming it.))" Why a character drifts and how to bring them back is covered in the guide on how to keep AI in character.

Free: 100 messages a day and your first AI character of your own. One narrator is enough to test a system. If you don't have one yet, borrow name magic: the namesmith is already standing at the locked archive, and the word "door" is precious to him. More setups are in the fantasy roleplay plots.

Magic system template

Copy and fill it in. An empty line is a hint about what else you could invent.

Core idea: [one sentence: what the magic does]

Source: [where the power comes from; what ties the mage to it]

Can: [one core action]

Can't: [the limit; one hard "never"]

Requirement: [what you need in order to cast]

Cost: [what the mage loses even when it works]

Weakness: [what a rival can exploit]

Who has it: [who has the gift, why not everyone, who controls it]

Tells: [what witnesses see, hear and feel]

Which means: [3–5 consequences for daily life, money and power]

Mystery: [what stays unknown and doesn't decide the outcome]

First scene: [where the cost of magic happens in front of the hero]

If the rules pile up, split them into short entries the way a lorebook does. A filled-in template is a ready rules page: paste your rules into a character description and open the scene with a choice.

Bottom line

A magic system isn't a list of spells, it's a set of rules: a source, one core action, a limit, a cost, a weakness and the people who hold the power. The more magic decides the ending, the clearer its rules need to be to the reader in advance. Trace the consequences of one power for daily life and for power before you add new ones. Show the cost in a scene, not a lecture, and test the system with questions. If your mage can get what they want without giving anything up, go back to the cost: what exactly do they lose in this scene?

Build your magic and test its cost in a first scene

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

What is a magic system in simple terms?

It's the set of rules magic follows in a fictional world: where the power comes from, what it can do, what it can't do and what it costs. The rules can be fully visible to the reader, partly visible or almost entirely hidden.

What is the difference between hard and soft magic?

Hard magic has explained rules, so the reader understands how a character can use it. Soft magic keeps its mystery and creates wonder, but if it solves the main conflict, the ending feels handed out. They are two ends of one scale: many worlds keep some rules in the open and others in the dark.

What are Sanderson's laws of magic?

Fantasy author Brandon Sanderson proposed three. Your ability to solve conflict with magic is proportional to how well the reader understands it. Limitations matter more than powers. Expand what you already have before you add something new. Treat them as craft guidelines, not as rules of the genre.

How is the cost of magic different from a limitation?

A limitation says what the mage can't do. A cost says what they lose when it works. For example, a mage can't control a person, but can open a door and forget the word for it forever.

How do you come up with a cost for magic?

Ask what the mage loses every time they cast, and why they care. A good cost hits whatever the character needs in the story: memory, time, relationships, money or reputation. A cost nobody notices doesn't work.

Can you build a magic system with AI?

Yes: ask it to quiz you about your magic, suggest consequences of a rule for everyday life, or play a mage who is asked to pay. Keep the decisions for yourself and write the rules down as a short list so they don't drift in a long conversation.

Sources

  1. Sanderson’s First Law — Brandon Sanderson,
  2. Sanderson’s Second Law — Brandon Sanderson
  3. Sanderson’s Third Law of Magic — Brandon Sanderson
  4. Building Your Magic System: A Full Recipe — Dabble (Doug Landsborough)
  5. How to Make a Magic System — LegendKeeper
What changed
  • — First version.

What next

What nextWhat Does Lore Mean? Lore in Games, Books and Roleplay

Related articles

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.