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 isn't defined by skyscrapers; it's defined by now. The setting is 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.
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. 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
Urban fantasy is consistency-intensive: a hidden world only holds together if its rules, factions, and locations behave the same way on page 300 as on page 30. Writer Studio's story knowledge model — its Book Wiki — lets you keep characters, locations, and world facts as entities linked to the scenes they appear in, so your magic system, your masquerade rules, and your city's supernatural factions stay coherent instead of living only in your head. Full-text search with "find all mentions" makes it easy to confirm a rule you set early hasn't quietly contradicted itself later, and revision notes and continuity checks help catch the slips. You can run plot threads — a central mystery, a faction conflict, a romance subplot — as plot lines tied to their scenes, and scene metadata (synopsis, status, point of view, tags) keeps a large modern-fantasy cast navigable. Story-structure templates are a stated direction still in development. Writer Studio is free and local-first for macOS, Windows, and Linux, currently in alpha, so expect some rough edges.
Download Writer Studio — free, local-first, for macOS, Windows, and Linux.
Related
- Family hub: How to write by genre
- Adjacent genre craft: how to write dark fantasy, how to write romantasy, how to write LitRPG
- Keep the world consistent: what is exposition
- Docs: the story knowledge model, manuscript structure, revision and continuity