← All tools

Magic Shop Generator

Stock a magic shop with official DMG magic items at their real rarity, priced by a rule you can name at the table: Xanathar's Guide, the 2024 DMG or the 2014 DMG. Or run Xanathar's "Buying a Magic Item" downtime when a player goes looking for a seller.

Official items, official rarities

Every item this generator puts on a shelf is an official magic item from the 2014 Dungeon Master's Guide (the full contents of Magic Item Tables A to I, with the rarity the DMG prints) or one of the common magic items from Xanathar's Guide to Everything, which you can switch off. The DMG has only a few common items, so Xanathar's list keeps a small-town shop from selling nothing but potions. Nothing is invented. When an item applies to a weapon or armor of the DM's choice (a +1 weapon, a Flame Tongue, Mithral Armor), the shop picks a mundane weapon or armor from the Player's Handbook so the item is ready to sell. Spell scrolls list the level; you choose the spell.

Three official ways to price magic items

Pick the pricing rule that matches your table. The result always says which rule it used.

RarityXanathar's asking price2024 DMG value2014 DMG range
Common(1d6 + 1) × 10 gp100 gp50-100 gp
Uncommon1d6 × 100 gp400 gp101-500 gp
Rare2d10 × 1,000 gp4,000 gp501-5,000 gp
Very rare(1d4 + 1) × 10,000 gp40,000 gp5,001-50,000 gp
Legendary2d6 × 25,000 gp200,000 gp50,001+ gp

Where magic items are sold

Magic shops are a campaign choice, not a given. The 2024 DMG's guideline is that common items can often be bought in a town or city, uncommon and rare items are usually found only in cities, and rarer items might only be sold in wondrous locations such as the City of Brass or Sigil. The "Where is the shop?" setting follows that, and you can raise or lower the highest rarity yourself. The DM always has the final say on what is for sale and for how much.

Xanathar's "Buying a Magic Item" downtime

When a character goes looking for magic items, Xanathar's Guide turns it into downtime. Searching takes at least one workweek and 100 gp. The character makes a Charisma (Persuasion) check with +1 for each extra workweek and +1 for each extra 100 gp, up to +10. The total picks the table: 1-5 rolls 1d6 times on Table A, 6-10 rolls 1d4 times on Table B, and so on in steps of five up to 41 or higher for Table I. A specific item the DM allows is for sale on a total of 10 (common), 15 (uncommon), 20 (rare), 25 (very rare) or 30 (legendary). The complication button rolls on Xanathar's d12 Magic Item Purchase Complications table.

Selling loot back

In the 2014 DMG, selling a magic item is downtime too. A DC 20 Intelligence (Investigation) check finds a buyer for a common, uncommon, rare or very rare item. Legendary items and artifacts can't be sold this way. The offer comes from a d100 roll plus a Charisma (Persuasion) check, using a base price of 100 gp, 500 gp, 5,000 gp or 50,000 gp by rarity. Treasure from the treasure hoard generator is the usual source of things to sell, and players who want to make their own items can use the magic item crafting calculator. Remember that most powerful items need attunement; our guide to magic item attunement explains the limit. For a shopkeeper with a name and a voice, try NPC in a hurry.

Frequently asked questions

How much do magic items cost in 5e?

The 2014 core rules give no fixed prices. The 2014 DMG gives a value range per rarity (common 50-100 gp, uncommon 101-500 gp, rare 501-5,000 gp, very rare 5,001-50,000 gp, legendary 50,001+ gp). Xanathar's Guide gives a random asking price: common (1d6 + 1) × 10 gp, uncommon 1d6 × 100 gp, rare 2d10 × 1,000 gp, very rare (1d4 + 1) × 10,000 gp and legendary 2d6 × 25,000 gp, halved for consumables. The 2024 DMG uses fixed values: 100, 400, 4,000, 40,000 and 200,000 gp.

Which magic items can show up in the shop?

Only official magic items: every item on the 2014 Dungeon Master's Guide Magic Item Tables A to I at the rarity the DMG gives them, plus (optionally) the common magic items from Xanathar's Guide to Everything. Items that apply to a weapon or armor of your choice, such as a +1 weapon or Mithral Armor, get a random mundane weapon or armor so the shop has something concrete on the shelf.

What can a town or a city sell?

The 2024 DMG says common magic items can often be bought in a town or city, uncommon and rare items are usually found only in cities, and rarer items might be sold only in wondrous places such as the City of Brass or Sigil. The location setting uses that guideline, and you can override the highest rarity.

How does Xanathar's 'Buying a Magic Item' work?

The character spends at least one workweek and 100 gp, then makes a Charisma (Persuasion) check. They get +1 for each extra workweek and +1 for each extra 100 gp spent, up to +10. The total decides which DMG magic item table you roll on and how many times. You can apply -10 for a low-magic campaign or +10 for a high-magic one, and double prices in a low-magic campaign.

Are the shop names, vendors and haggle ideas official?

No. Those are flavor ideas to help you describe the shop, and they are labelled as flavor in the result. The items, rarities, prices, quirks, minor properties and purchase complications are all from the official books.

How do players sell magic items?

In the 2014 DMG, selling is a downtime activity: a DC 20 Intelligence (Investigation) check finds a buyer, and a d100 roll plus a Persuasion check sets the offer, based on a base price of 100 gp (common), 500 gp (uncommon), 5,000 gp (rare) or 50,000 gp (very rare). Legendary items can't be sold this way.

Built by Rudy van Tuijn, Jasper Breukers and Thijs Mennen, the players and the DM who use these tools at their own weekly table. Spotted a rules mistake? Tell us and we'll fix it.

Free: Class Quick Reference

All 12 Player's Handbook classes on one printable page each: levels 1 to 5, subclasses, a standard array and the mistakes new players make. Leave your email and the 12-page PDF is yours, plus the occasional new guide.