Enchanting in Minecraft: table, bookshelves, lapis

Contents
  1. How many bookshelves you need
  2. How to arrange the bookshelves correctly
  3. The role of lapis lazuli
  4. What enchanting actually costs
  5. What’s officially not said
  6. What to do next

The facts in this piece come from two pages on the community-run Minecraft WikiEnchanting Table and Enchanting. These are two separate wiki articles: the first is about the table block itself, the second is about the enchanting mechanic overall.

How many bookshelves you need

There’s one key number here: to access level 30 enchantments — the highest level available in the game — you need 15 bookshelves arranged around the enchanting table. Fewer bookshelves unlock lower enchantment levels, but 15 is what gives you the full list of possible effects.

How to arrange the bookshelves correctly

Simply placing 15 bookshelves near the table isn’t enough — the geometry of the arrangement matters:

  • Distance. Bookshelves need to stand exactly one empty (or passable) block away from the enchanting table, not flush against it.
  • What breaks the connection. Nearly any solid block between a bookshelf and the table breaks the link — the bookshelf simply stops counting. Even passable blocks like torches can break the connection if placed in the wrong spot.
  • Practical takeaway. The most reliable layout is the classic 5×5 “box” with empty space around the table, where the bookshelves form the outer ring rather than being placed at random.

The role of lapis lazuli

Besides experience levels, enchanting at the table requires lapis lazuli — it’s spent as a secondary cost. Without a supply of lapis, you can’t enchant an item, even with enough levels. This sets the enchanting table apart from other ways to get an enchantment (for example, books from trading with villagers), which don’t require lapis at all.

What enchanting actually costs

There are two separate numbers to keep straight here:

  • Experience to level up your character. Building up to level 30 from zero requires 825 units of experience in total.
  • The cost of the enchantment itself. This is a separate number — fixed at 1, 2, or 3 levels depending on the specific enchantment option in the table’s list. So having level 30 doesn’t mean losing all 30 for a single enchantment — you only lose the amount shown in the list.

What’s officially not said

  • The exact odds of getting a specific enchantment (for example, the probability of getting Sharpness V instead of Sharpness III) aren’t compiled into a simple percentage table on the checked pages — the mechanic depends on level, item type, and randomness at once, so no specific percentage is given here.
  • “Optimal” tricks for better enchantments (rearranging books in the library, renaming the item before enchanting, and so on) are community-developed advice, not an officially documented mechanic.

What to do next

After 15 bookshelves and a stock of lapis, the logical next step is sending enchanted gear toward an upgrade: diamond tools can be upgraded to netherite at a smithing table while keeping the enchantments already applied. Experience for a new level 30 then builds up again afterward — upgrading an item doesn’t spend character levels, it only changes the item’s stats.

Frequently asked questions

How many bookshelves do you need for the highest enchantments?

15 bookshelves around the enchanting table — that's exactly how many you need to unlock level 30 enchantments, the highest level available in the game.

Why aren't my bookshelves affecting the table?

The most likely cause is the wrong distance or a block in the way. Bookshelves need to stand exactly one empty (or passable) block away from the table; nearly any solid block between them breaks the connection.

Why does enchanting need lapis lazuli?

Lapis lazuli is spent as a secondary cost of enchanting, alongside experience levels. Without a supply of lapis, you can't enchant an item at the table, even if you have enough levels.

How much experience do you need to reach level 30?

825 units of experience. That's the total amount needed to build up from zero for a character to reach level 30.

How much does the enchantment itself cost in levels?

The cost of the enchantment itself is fixed — 1, 2, or 3 levels depending on the option in the table's list, not on the character's level at the time of enchanting.

Sources