The best enchanting table setup for level 30 uses exactly 15 bookshelves, each placed two blocks away from the enchanting table with one block of air in between, at the same height as the table or one block higher. The diagram below shows the classic layout: a 5 by 5 ring of bookshelves around the table with one open spot as the entrance, and it works in both Java Edition and Bedrock Edition.
Want your own Minecraft server? At HostValues from €2.80 per month, online within minutes. View plans →
This guide covers the exact bookshelf placement rules (checked against the Minecraft Wiki on October 7, 2026), what blocks a bookshelf, other layouts that still reach level 30, a full enchanting room setup, the best enchantments per item and how to get the XP.
Level 30 checklist
- 1 enchanting table: crafted from 1 book, 2 diamonds and 4 obsidian.
- 15 bookshelves: 90 planks and 45 books. The books need 135 paper (135 sugar cane) and 45 leather.
- One block of air between the table and every bookshelf.
- Bookshelves at the same height as the table or one block higher. Higher shelves do not count.
- 30 experience levels and 3 lapis lazuli for the bottom (level 30) option. It costs 3 levels, not 30.
Enchanting table bookshelf placement rules
The enchanting table counts the bookshelves around it and turns that number into the level of its offers. With 15 counted bookshelves, the bottom offer is always level 30. These are the placement rules:
- Distance: a bookshelf has to sit exactly two blocks from the table along one horizontal axis, and up to two blocks along the other. In practice that is the outer ring of a 5 by 5 square with the table in the middle: 16 spots per layer.
- Height: the bookshelf must be at the same height as the table or one block higher. Two layers of the ring give 32 possible spots. Shelves two or more blocks above the table are ignored.
- Gap: the block between the table and the bookshelf must stay clear. Java and Bedrock check this slightly differently (see below).
- Maximum: 15 bookshelves is the cap. Extra shelves in the ring are ignored, so they are fine for looks but do not raise the level above 30.
- Only regular bookshelves count. Chiseled bookshelves store books but do not increase the power of the enchanting table.
What blocks a bookshelf: Java vs Bedrock
Almost any block in the gap switches a bookshelf off, even small ones such as a torch, carpet, a slab, a button or a lantern. The exact check differs per edition:
- Java Edition: the game checks one of the eight blocks right around the table, at the height of the bookshelf. Since Java 1.20 that block may be air or a replaceable block such as a snow layer or short grass.
- Bedrock Edition: the gap blocks next to the bookshelf must be air, both at table height and one block above it, even when the shelf itself stands at table height. Snow layers or grass in the gap already block it.
The safe rule for both editions: keep the eight blocks around the table, and the layer above them, completely empty. You can also use this on purpose. A torch or carpet in front of a few shelves lowers the level of the offers, which is handy when you want a cheaper enchantment. Take it away again to go back to level 30.
How to build a level 30 enchanting table setup step by step
- Craft the enchanting table from 1 book, 2 diamonds and 4 obsidian.
- Craft 15 bookshelves. Each one takes 6 planks and 3 books, so you need 90 planks and 45 books.
- Clear a 5 by 5 area that is at least two blocks high and place the table in the middle.
- Leave the eight blocks around the table empty. Do not put torches, carpet or slabs there.
- Place the bookshelves on the outer ring at table height, following the numbers in the diagram. Leave one spot open as the entrance.
- Put an item and 3 lapis lazuli in the table. The bottom offer should now show 30. If it shows less, check the gap blocks and the height of each shelf.
Full enchanting room setup
A full enchanting setup is more than the table and the shelves. Keep these in the same room so you can enchant, combine and reroll in one go:
- The table with its ring of 15 bookshelves (level 30).
- An anvil to combine enchanted books with your gear.
- A grindstone to remove unwanted enchantments. It returns some XP; curses stay on the item.
- A chest with lapis lazuli and one with cheap items (books, wooden shovels) for rerolling the offers.
- Light on the outer walls, outside the ring, so mobs cannot spawn in the room.
- An XP farm or a villager trading hall nearby.
Other bookshelf layouts that reach level 30
The classic ring is the easiest, but any layout works as long as at least 15 shelves are on valid spots.
- Classic ring (15 shelves): one layer at table height, all 16 ring spots except the entrance. This is the layout in the diagram.
- Two-high ring: add a second layer one block above the table. That gives 32 spots; fill at least 15 of them, or all of them for looks. Leave a doorway two blocks high.
- Corner layout: fill two neighbouring sides of the ring, two layers high. Two sides give 9 spots per layer, 18 in total, so 15 shelves are enough. This fits neatly in the corner of a room.
- Library room: cover the walls of the whole room with bookshelves. Only the shelves on the ring around the table count (15 at most), the rest is decoration.
Underground enchanting rooms are a good choice in survival: they are safe from creepers, and you can decorate the outer walls with stone bricks or deepslate and light them with lanterns, as long as nothing ends up in the air gap.
Getting bookshelves without crafting them (Silk Touch)
Crafting 15 bookshelves takes 45 books, which means 45 leather. Silk Touch is a shortcut: a Silk Touch tool picks up bookshelves whole from village libraries and stronghold libraries. Without Silk Touch, a bookshelf breaks into three books.
- Villager trading: librarians can sell a Silk Touch book. If a new librarian does not offer it, break and replace its lectern before you trade with it, and the offers change.
- Enchanting table: Silk Touch is one of the possible offers when you enchant a pickaxe, shovel, axe or book.
- Fishing and chest loot: enchanted books from fishing or from dungeon and mineshaft chests can roll Silk Touch.
A single stronghold library often has enough bookshelves for a complete setup.
Best enchantments for each item
These are finished-gear goals. Some enchantments, such as Mending, Frost Walker, Soul Speed and Swift Sneak, never appear on the enchanting table; you get them from books, trading or loot and add them with an anvil.
| Item | Best enchantments | Notes |
|---|---|---|
| Sword | Sharpness V, Looting III, Unbreaking III, Mending, Fire Aspect II, Sweeping Edge III | Sweeping Edge is Java Edition only. Smite V instead of Sharpness against undead. |
| Bow | Power V, Infinity, Unbreaking III, Flame, Punch II | Infinity and Mending cannot go on the same bow. |
| Crossbow | Quick Charge III, Multishot, Unbreaking III, Mending | Piercing IV instead of Multishot for lines of mobs. |
| Pickaxe | Efficiency V, Unbreaking III, Mending, Fortune III | Keep a second pickaxe with Silk Touch: Fortune and Silk Touch do not combine. |
| Axe | Efficiency V, Unbreaking III, Mending, Sharpness V | You can add Sharpness to an axe with a book on the anvil. |
| Shovel | Efficiency V, Unbreaking III, Mending, Silk Touch | Fortune III if you mine gravel for flint. |
| Helmet | Protection IV, Unbreaking III, Mending, Respiration III, Aqua Affinity | Respiration and Aqua Affinity help underwater. |
| Chestplate | Protection IV, Unbreaking III, Mending | Only one protection type per piece. |
| Leggings | Protection IV, Unbreaking III, Mending, Swift Sneak III | Swift Sneak only comes from ancient city loot. |
| Boots | Protection IV, Unbreaking III, Mending, Feather Falling IV, Depth Strider III | Frost Walker replaces Depth Strider. Soul Speed comes from piglin bartering and bastion chests. |
| Trident | Loyalty III, Channeling, Impaling V, Unbreaking III, Mending | Riptide III instead of Loyalty and Channeling for fast travel in water and rain. |
| Fishing rod | Luck of the Sea III, Lure III, Unbreaking III, Mending | Luck of the Sea raises the chance of treasure such as enchanted books. |
Mending or Infinity on a bow? They do not combine. Infinity means one arrow lasts forever; Mending keeps the bow itself alive. Most survival players choose Infinity because arrows are cheap and a fully enchanted bow is not.
How much XP you need for level 30
Reaching level 30 from zero takes 1,395 experience points. A level 30 enchantment only costs 3 levels and 3 lapis lazuli, so you drop to level 27, and getting back to 30 takes 306 points. That is why it pays to stay close to level 30 and spend 3 levels at a time.
- Mob spawner farm (early game): turn a zombie or skeleton spawner into a simple grinder and kill the mobs yourself.
- Blaze farm (mid game): blazes give good XP and blaze rods for brewing.
- Enderman farm (late game): an Enderman farm in the End is one of the fastest XP sources in the game.
- Guardian farm: a lot of work to build, but steady XP plus prismarine.
- Villager trading: every trade gives XP, and librarians also sell the books you are looking for.
Enchanting tips and tricks
- Reroll the offers: the offers stay the same until you enchant something. Enchant a cheap item (a book or a wooden shovel in the top slot costs 1 level and 1 lapis) and you get a new set.
- Enchant books for control: enchanted books let you save an enchantment and put it on the right item later with an anvil.
- Keep anvil steps low: every anvil use makes the next one on that item more expensive. Combine books with each other first, then add them to the item in as few steps as possible.
- Know the conflicts: the protection types exclude each other, as do Sharpness, Smite and Bane of Arthropods, Fortune and Silk Touch, Infinity and Mending, Riptide and Loyalty or Channeling, Multishot and Piercing, and Depth Strider and Frost Walker.
- Lapis lazuli: Fortune III on a pickaxe gives a lot more lapis per ore, so you rarely run out.
Enchanting on a multiplayer server
On a server with friends you can share one enchanting room, one XP farm and one trading hall. A few things help:
- Protect the room: on servers with land claims (GriefPrevention, WorldGuard, Towny), put the enchanting room inside a claim. One block in the air gap drops the level below 30.
- Keep farms in check: big mob farms with many entities are a common cause of low TPS. Build XP farms away from spawn, for example in the End or the Nether.
- Back up first: make a backup in the panel before a big enchanting session or before you change the room.
If you run your own Minecraft server at HostValues, game servers in Europe and the US run on AMD Ryzen 9 7950X or 9950X processors with fast single-core performance, which matters for busy farms. Choose the region closest to your group: Europe (the Netherlands and France), the US west coast (San Jose), Canada (Montreal) or Singapore. You can compare the ping from each location on the server locations page.
Frequently asked questions
How many bookshelves do you need for a level 30 enchanting table?
You need exactly 15 bookshelves. Each one must be two blocks away from the enchanting table, with one block of air in between, at the same height as the table or one block higher. More than 15 bookshelves does not raise the level any further.
How far away do bookshelves need to be from the enchanting table?
Two blocks. The table sits in the middle of a 5 by 5 square, the eight blocks around it stay empty, and the bookshelves go on the outer ring. A bookshelf right next to the table does not count.
Can bookshelves be higher than the enchanting table?
Yes, one block higher still counts, so you can build the ring two layers high. A bookshelf two or more blocks above the table is ignored.
What can you put between the enchanting table and the bookshelves?
To be safe, nothing: leave the gap empty. In Java Edition (since 1.20) a replaceable block such as a snow layer or short grass is allowed, but torches, carpet, slabs and most other blocks block the shelf. In Bedrock Edition the gap must be air, at table height and one block above it.
Is the enchanting table setup different in Bedrock Edition?
The layout is the same: 15 bookshelves, two blocks away, at table height or one higher. Bedrock is stricter about the gap: both the block at table height and the block above it, between the table and the shelf, must be air.
Why is my enchanting table not showing level 30?
Usually fewer than 15 bookshelves count. Check for torches, carpet, slabs, snow or other blocks in the gap, shelves that sit two or more blocks above the table or right next to it, and chiseled bookshelves, which do not count. To pick the level 30 offer you also need at least 30 levels yourself.
Do chiseled bookshelves work for enchanting?
No. Chiseled bookshelves store books, but they do not increase the power of the enchanting table. Use regular bookshelves for the ring.
How much XP do you need for level 30?
Reaching level 30 from zero takes 1,395 experience points. The level 30 offer itself costs only 3 levels and 3 lapis lazuli, and getting from level 27 back to 30 takes 306 points.
Can you get Mending from the enchanting table?
No. Mending is a treasure enchantment and never appears on the enchanting table. Get it from a librarian villager, from fishing or from chest loot, then add the book to your gear with an anvil.
How do you reset the enchanting table options?
Enchant any cheap item, for example a book or a wooden shovel in the top slot for 1 level and 1 lapis. After every enchantment you get a new set of offers.
Want a shared enchanting room with friends? Set up Minecraft server hosting at HostValues, read our RAM guide to pick the right plan, or see how to reduce server lag when your XP farms get big.
Get your own Minecraft server
From €2.80 per month. Online within minutes, cancel monthly, DDoS protection included.
Which plan fits your group?
- Vanilla or a few plugins, up to 5 players: Redstone (4 GB), €5.60 per month
- Light modpack, 5 to 10 players: Gold (5 GB), €7.00 per month
- Heavy modpack such as All the Mods 10: Barrier (10 GB), €14.00 per month
New to HostValues? Use code WELKOM10 for 10% off your first order.