How to Write Urban Fantasy
To write urban fantasy, you take a real, recognizable modern world — most often a contemporary city — and thread magic, supernatural creatures, or hidden power through it, so that the mundane and the magical collide. The genre's whole charge comes from that collision: a werewolf who still has to pay rent, a detective whose cases turn on spellcraft, a hidden world humming just beneath the visible one. This guide covers what defines urban fantasy, how to build magic into a real setting, how to handle the "masquerade" that keeps it hidden, how to set tone and stakes, and the mistakes that flatten the genre.
What makes fantasy "urban"
Urban fantasy is fantasy set in the contemporary, recognizable world — its technology, institutions, and rhythms intact — with the fantastic layered on top. That grounding is the genre's engine. Because the reader knows this world, every magical element lands against a familiar backdrop, and the contrast does the work: the uncanny feels uncanny precisely because the parking tickets and subway delays are real.
How much the urban part matters is genuinely disputed. Many definitions treat the city as constitutive — the genre named itself after it, and a dense, surveilled, institutional setting is where the collision bites hardest. Others read "urban" as shorthand for the modern world, pointing to small-town and rural books that everyone shelves as urban fantasy anyway. The practical answer: the modern setting is non-negotiable, the metropolis is the default rather than the rule, and the further you get from the city the more work you have to do to keep the friction the genre lives on.
It helps to know your neighbors on the genre map. Urban fantasy is typically plot-driven, built around a mystery, threat, or conflict in a hidden supernatural world. Paranormal romance shares the furniture but centers the relationship. Contemporary fantasy is the broader umbrella for any fantasy set in the modern day — urban fantasy is one of its rooms, marked out by the city and by the friction between magic and the ordinary world, whether that magic is hidden or out in the open. Knowing where your book sits tells you what promise you're making — a puzzle to solve, a romance to satisfy, or a world to explore — and readers will hold you to it.
Build the magic into a real world
The core craft challenge is integration: the magic has to feel like it belongs in this world, not imported from a different book. Decide how magic interacts with modernity, because that interaction is where the genre comes alive. Does technology disrupt spellwork? Do supernatural factions run businesses, hold territory, launder money? Does the internet know? The most memorable urban fantasy treats the magical world as a functioning society with its own economy, politics, and rules, slotted into the cracks of the real one.
Specificity sells it. A real, lived-in city — its neighborhoods, weather, transit, the texture of a particular place — makes the magic credible by association. Generic "the City" settings waste the genre's biggest asset. Whether you use a real place or an invented one, give it the concrete, sensory detail that signals you know how it actually works, and let the supernatural inherit that reality.
Decide the rules of the masquerade
Most urban fantasy turns on a question: does the ordinary world know magic exists? The answer shapes everything. A hidden world (the "masquerade") generates constant tension — secrecy, exposure, the cost of being found out — and a reason for the supernatural to police itself. An open world, where magic is public, trades that tension for a different one: how society, law, and prejudice reorganize around the supernatural.
Whichever you choose, define the rules and keep them consistent. If magic is hidden, the reader will immediately ask how — who enforces the secret, what happens to those who break it, why a city full of cameras hasn't caught a vampire. You don't have to answer exhaustively, but the world should behave as if the answers exist. Inconsistent masquerade rules are the fastest way to break a reader's trust in an urban fantasy.
Set tone and stakes
Urban fantasy spans a wide tonal range, from wisecracking noir to bleak horror to cozy. Pick yours deliberately and hold it, because tone is a promise. A snarky first-person investigator and a solemn meditation on grief teach the reader to expect very different books; whiplash between them reads as a loss of control.
Stakes in urban fantasy work best when they're anchored to the protagonist's real, grounded life. The genre's signature move is making the magical personal: the threat doesn't just menace "the city," it endangers the character's friends, livelihood, neighborhood, sense of self. That fusion of the everyday and the supernatural — the same fusion that defines the setting — is also what makes the danger matter.
Common mistakes to avoid
| Mistake | Why it hurts | Fix |
|---|---|---|
| Generic, placeless setting | Wastes the genre's grounding in the real world | Use specific, sensory, lived-in detail for the city |
| Inconsistent magic or masquerade rules | Breaks reader trust and kills tension | Define the rules early and let the world obey them |
| Magic that ignores modernity | Loses the mundane-meets-magical collision | Decide how magic and technology, money, and law interact |
| Tonal whiplash | Confuses the promise to the reader | Choose a tone and hold it across the book |
| An overpowered protagonist | Drains stakes when nothing can threaten them | Bind power to cost, limits, and personal vulnerability |
A final trap is treating worldbuilding as set dressing. In urban fantasy the world is much of the appeal, but it has to serve a story — a plot that uses the rules you built, not a tour of them.
How to track this in Writer Studio
A masquerade is a promise you make on page 30 and have to keep on page 300. A lot of urban fantasy breaks there rather than in the prose: the ward that needed silver in chapter 2 needs only intent in chapter 19, and nobody caught it. Writer Studio is built for that kind of bookkeeping, and honest about where it stops.
Its Book Wiki keeps characters and locations as cards linked to the scenes where they appear. A hidden world needs more than people and places, so you can define your own kinds of card — a Magic system, a Coven, a Ward — with the fields you actually reason about: a choice field for what a working costs, a list field for who can break it. Switch on appearances and a coven shows up in a scene the way a character does. Loose material that isn't card-shaped — research, half-formed lore, the cut chapter you're keeping — lives in Notes inside the same book. The central mystery, the faction war, and the romance subplot each run as a plotline, an ordered list of their scenes.
When you suspect a rule has drifted, you go looking: search covers the whole book — text, titles, synopses, notes, entities — with Match case and Regex toggles, and Find All Mentions pulls every occurrence of a name and its aliases. What the app will not do is find the contradiction for you. There is no continuity checker; there are issues and revision notes you anchor to a scene, and a scene status (Outline, Draft, Revision, Final) to show how far along each one is. You can start a book from a named structure template — the three-act shape, the hero's journey, the Story Circle, Save the Cat and eight further frameworks are in the New Book dialog — and each one is laid out as ordinary structure items with editable names, so the beats where the masquerade cracks can be renamed and moved to wherever your rules demand. The visual planning views ship today as well. Writer Studio is free, local-first and in alpha on macOS, Windows, and Linux — expect rough edges.
Download Writer Studio if you'd rather keep the masquerade's rules in the book than in your head.
Where to go next
- The genre hub: how to write by genre
- Tonal cousins worth reading against this one: how to write dark fantasy and how to write romantasy
- The same world with the other plot load-bearing: how to write a paranormal romance — worth reading if your romance subplot keeps trying to take over
- A hidden world lives or dies on how you reveal it: what is exposition
- Docs: Entry Types for magic systems and covens, Notes for research that isn't card-shaped yet, Revision and issues