The enchanted book stores a single enchantment that an anvil applies to gear, found as loot, from fishing, or via librarians. It lets players stack precise enchantments onto equipment.
Modern namespaced IDs are recommended. This numerical form is only for old Java releases.
/give @p 403 1
Give command syntax by version
Java 1.13+
/give @p minecraft:enchanted_book 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 403 1 0
Numerical ID + data value
Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.
How to Get Enchanted Book
Finding Enchanted Book
Enchanted Book cannot be crafted at a crafting table. It must be obtained through normal gameplay.
Enchanted Book in Minecraft: Best Sources and How to Use Them
Quick answer: Use minecraft:enchanted_book in Java Edition commands. Enchanted books store single enchantments: find them as loot, fish them up, buy them from librarians, or make your own at an enchanting table, then apply them to gear with an anvil.
Getting the enchantments you actually want
Random sources include treasure-tier fishing, chests in structures such as stronghold libraries and ancient cities, and bartering-style loot. These are fine early, but the enchantment you get is luck, so treat them as bonuses rather than a plan.
The controlled route is villager trading: reroll a librarian's first trade by breaking and replacing its lectern until it offers the book you want, then lock it in. Treasure enchantments like Mending, Frost Walker, or the curses only come from books, loot, or trades, never from the enchanting table.
Librarian lectern reroll: the standard way to farm Mending or other top books.
Fishing: slow but passive; Luck of the Sea improves treasure odds.
Enchanting table: put a book in the slot to create a book from your available levels.
Applying books without wasting levels
Combine the book with your tool, weapon, or armor on an anvil. Each anvil use raises the item's prior-work penalty, so merge books together first or plan the order: expensive enchantments applied late can push an item past the too-expensive limit.
Books also stack storage efficiency: one chest of sorted books beats a chest of random enchanted gear. Keep a labeled library near your anvil and combine matching books into higher levels before applying them.
Enchanted Book Command Examples
Give 1 to nearest player: /give @p minecraft:enchanted_book 1
Give 1 to yourself: /give @s minecraft:enchanted_book 1
Give to a specific player: /give PlayerName minecraft:enchanted_book 1
Clear from inventory: /clear @p minecraft:enchanted_book
Enchanted Book FAQ
What is the item ID for Enchanted Book?
The item ID for Enchanted Book is minecraft:enchanted_book. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.
What is the numerical ID for Enchanted Book?
Enchanted Book has the historical numerical ID 403, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:enchanted_book instead.
How do I give myself Enchanted Book in Minecraft?
Open the chat window and run /give @p minecraft:enchanted_book 1 to give the nearest player one Enchanted Book. Replace @p with a player name to target someone else.
How many Enchanted Book can stack in one slot?
Enchanted Book stacks up to 1 per inventory slot.
How do you use an enchanted book?
Place the item you want to enchant and the enchanted book into an anvil, then pay the experience cost. The book is consumed and its enchantment moves onto the item, replacing or stacking with compatible existing enchantments.
Can you get Mending from an enchanting table?
No. Mending is a treasure enchantment in Java Edition, so it only appears on enchanted books from chest loot, fishing, raids, or librarian trades. Rerolling librarian trades with a lectern is the usual farming method.
Why does my anvil say too expensive?
Every anvil operation raises a hidden prior-work cost on the item. Once the total cost exceeds 39 levels, survival anvils refuse the job. Combine books with each other first and apply the priciest enchantments early to stay under the cap.
Sources and Data Review
Item facts were reviewed for Java Edition 1.21.11 on .