How to Use ChatGPT for D&D: A Practical Guide for Dungeon Masters
Let me guess: you’ve tried asking ChatGPT to help with your campaign and gotten something that sounded like a Wikipedia article about a fantasy city, or a villain whose motivation was “power” with no further elaboration.
The tool works. The prompts are the problem.
ChatGPT is genuinely one of the most useful things to happen to DM prep in years — but only if you know how to talk to it. It’s not a vending machine. It’s more like a very fast writing collaborator who needs good direction. Give it context, be specific, and push back when outputs are flat.
This guide covers the best use cases and gives you 10 prompts you can copy and adapt right now.
Why ChatGPT Works for D&D
D&D prep is mostly a writing problem. You need:
– NPCs with distinct personalities and motivations
– Encounter scenarios with interesting tactical or narrative hooks
– Villain backstories that feel earned, not generic
– Flavor text that makes locations feel alive
– Improvised answers when players go off-script
ChatGPT is excellent at all of this. It holds context well within a conversation, responds to feedback, and can iterate quickly. The key is treating each session’s prep as a conversation, not a series of one-off requests.
1. NPC Creation
Generic NPCs kill immersion. The innkeeper who’s just “friendly and helpful,” the guard captain who’s just “gruff” — players see through them immediately.
ChatGPT can generate NPCs with real texture: contradictions, speech tics, secrets, things they want and things they’re hiding.
Prompt 1 — Quick NPC:
“Create an NPC for a D&D 5e campaign. She’s the harbormaster of a corrupt port city. Give her a name, a brief physical description, a personality with at least one contradiction, a speech mannerism, a secret she’s keeping, and a short-term goal. Keep it punchy — this is a minor character, not a major one.”
Prompt 2 — NPC with Relationship Web:
“I need a blacksmith NPC for a small frontier town. He’s been there for 30 years and knows everyone. Generate his background, personality, and then give me 5 brief relationship descriptions: one person he loves, one he distrusts, one he owes a debt to, one he’s hiding something from, and one he secretly admires. Name all five.”
2. Encounter Ideas
Not every encounter should be “monsters in a room.” ChatGPT is good at generating encounters with moral complexity, environmental hazards, or unexpected twists.
Prompt 3 — Non-Combat Encounter:
“Generate a non-combat encounter for a D&D party of 4, levels 5-7. They’re traveling through a forest that’s been recently affected by a magical storm. The encounter should involve a creature or entity that isn’t immediately hostile, create a meaningful choice for the players, and leave them with a hook that could matter later. No treasure rewards — the payoff should be narrative.”
Prompt 4 — Combat Encounter with Flavor:
“I’m running a fight in an abandoned wizard’s tower. The party (4 players, level 6) will face a flesh golem and two animated armor suits. Give me: a dramatic opening description to read aloud (3-4 sentences), one environmental feature that changes the fight (like collapsing floors or magical interference), and a twist that happens if the fight drags past round 4.”
3. Villain Backstories
The best villains aren’t evil for the sake of it. They have logic. They have grief. They have a moment where things could have gone differently.
Prompt 5 — Compelling Villain Origin:
“Write a villain backstory for a D&D campaign. The villain is a former paladin who now leads a cult of undeath. The backstory should: explain what broke their faith without making it cartoonishly tragic, show one moment of genuine kindness they still carry, include the specific lie they tell themselves to justify what they do now, and end with what they actually want — underneath everything.”
Prompt 6 — Villain’s Plan (DM Notes Version):
“My campaign villain is [name], a necromancer trying to collapse the barrier between the material plane and the Shadowfell. Give me his 3-act plan as DM notes: what he’s doing in the background during acts 1 and 2 that the party might uncover clues about, what goes wrong for him at the end of act 2, and what his endgame looks like if the party fails to stop him. Keep each act to a short paragraph.”
4. Session Summaries
Session summaries that players actually read are an underrated tool for campaign engagement. Most DMs either don’t write them or write dry recaps. ChatGPT can turn your rough notes into something worth reading.
Prompt 7 — Session Recap:
“I’m the DM. Here are my rough notes from last night’s session: [paste your notes]. Write a session recap from the perspective of an in-world chronicler or bard — first-person plural (“the adventurers”), dramatic but not overwrought, 300-400 words. End with a single ominous sentence that hints at what might come next.”
5. World Details on the Fly
Players go somewhere you didn’t prep. It happens every session. ChatGPT can bail you out in real time if you have a phone handy, or during prep to build out locations quickly.
Prompt 8 — Location Flavor:
“Describe a mid-sized trading city built on a network of canals. Give me: one paragraph of general description (the feel, the smells, the vibe), three specific streets or districts with one-sentence descriptions each, and three rumors that are circulating in the taverns right now. Make the rumors feel like they could become plot hooks.”
Prompt 9 — Quick Shop or Tavern:
“Generate a memorable tavern for a D&D campaign. Include: a name, a one-line description of its reputation, the owner (brief: name, look, personality), the specialty dish or drink, and three patrons who are there tonight with one notable thing about each. Keep it usable at the table, not a novel.”
6. Prophecies, Riddles, and Lore Text
In-world text — inscriptions, prophecies, riddles, letters — is the kind of thing that takes forever to write well and that players love when it’s done right.
Prompt 10 — Prophecy or Inscription:
“Write a prophecy for a D&D campaign in the style of classic epic fantasy — vague enough to be interpreted multiple ways, specific enough to feel meaningful in hindsight. The prophecy concerns: a party that will either reseal or permanently break an ancient seal holding back a demon lord. Include imagery related to fire, betrayal, and an unexpected sacrifice. Four to six lines, verse form.”
Tips for Getting Better Results
Give it your campaign context. Start a session by pasting a paragraph about your world, tone, and current story beats. “I’m running a dark political intrigue campaign set in a Renaissance-era city-state. The tone is gritty but not grimdark. The party is morally gray and motivated by personal loyalty more than heroism.” This colors everything that follows.
Iterate, don’t accept the first draft. If an NPC comes out flat, say “make her funnier” or “give her more menace” or “the backstory feels generic — make the core wound more specific.” ChatGPT responds well to direction.
Save good outputs. Once you get something great, copy it somewhere permanent. A tool like World Anvil (affiliate link) is ideal for this — it stores everything in a structured, searchable format that grows with your campaign.
Combine with purpose-built tools. ChatGPT is flexible but general. For high-volume NPC generation and content that’s pre-tuned for D&D specifically, LitRPG Adventures (affiliate link) is worth a look.
Final Recommendation
ChatGPT is one of the most powerful tools in a DM’s arsenal right now — not because it replaces your creativity, but because it accelerates it. The 10 prompts above are starting points. Modify them, combine them, save the ones that work for your style.
The DMs who will run the best campaigns in 2026 aren’t the ones who avoid AI. They’re the ones who learned how to use it as a collaborator, not a crutch.
Try one prompt tonight. See what it gives you. Iterate from there.
Some links in this article are affiliate links. We may earn a commission at no extra cost to you.
