Reaching level 30 for a top-tier enchant takes 1,395 XP from zero. If you're also planning a beacon-powered base, cross-reference the beacon pyramid cost calculator so your mining sessions cover both. Whether you're rushing Mending books or stockpiling for endgame anvils, knowing the fastest source of XP saves hours per week. Here is every major method, ranked.
How XP scales in Minecraft 1.21
The XP-per-level curve is piecewise: levels 1–15 cost 2x+7 XP each, levels 16–30 cost 5x-38 XP each, and levels 31+ cost 9x-158 XP each. That means the jump from level 29 to 30 is 122 XP, but the jump from level 39 to 40 is 202 XP. Plan grinds around the curve, not around levels.
Top XP sources ranked
1. Enderman farm (End) — ~50,000 XP/hr
An endstone platform 128+ blocks above the main island, with a one-block killing chamber, is the fastest legitimate XP source in vanilla. Endermen drop 5 XP each and spawn in dense clusters. Combine with Looting III and you get ender pearls as a side product.
2. Guardian farm (Ocean Monument) — ~30,000 XP/hr
Drain a monument, build a soulsand elevator, and AFK the kill chamber. Guardians drop 10 XP each on death and you stockpile prismarine, sea lanterns and raw fish in the process.
3. Bottle o' Enchanting trading — ~20,000 XP/hr
A maxed-out cleric villager will trade emeralds for Bottles o' Enchanting (3–11 XP each). Set up an emerald farm (rotten flesh → cleric, paper → librarian) and you can convert villager labour into raw XP indefinitely.
4. Furnace smelting (sand → glass) — ~12,000 XP/hr
Smelting awards XP per item to the player who collects the output. Sand → glass is the easiest setup because sand is renewable via the desert. You can stockpile XP in the furnace for days and collect a level 30 hit when you need it.
5. Breeding (cows or sheep) — ~8,000 XP/hr
Each breed grants 1–7 XP and produces a baby that can be matured with bone meal for more XP when killed. Cheap, peaceful, and an easy fallback when you're between projects.
Exact XP for common targets
- Level 0 → 15 (basic enchants): 315 XP
- Level 0 → 30 (max enchanting table): 1,395 XP
- Level 0 → 39 (max anvil work cost): 2,789 XP
- Level 30 → 30 (reuse after enchant): 825 XP
Method recommendations by goal
- Need 30 once for a single enchant? Smelt sand or run a small mob trap — don't overbuild.
- Repairing Mending gear regularly? Build a Guardian farm or trade with a cleric near home.
- Going for end-game anvil renames and combined enchants? Commit to an Enderman farm.
- Playing on a server with no farms? Bottle o' Enchanting trading is the most portable answer.
Use the calculator
Open the MineBuildr XP Calculator, plug in your current level and your target, and you'll see the exact XP cost plus an estimate of how long each method takes to deliver it.



