Skip to main content

LIBRARIAN

Workstation: Lectern|15 trades across 5 levelsBiome-specific

The most important villager for enchantments. Sells enchanted books from the full enchantment pool, plus bookshelves, lanterns, name tags, and clocks. Buys paper and books.

Last checked
26 September 2026
Java Edition
26.3, 15 of 15 rows found
Bedrock Edition
1.26.50.4, 10 of 15 matching
Edition differences
1 row differs, 4 rolled, not comparable

What is the Librarian?

Place a Lectern next to an unemployed villager and it takes the Librarian job on the spot. That single block is also why this is the profession every enchanting run in the game eventually leads back to: no other villager sells enchanted books, and the librarian's book offer is drawn from the entire enchantment pool rather than a curated shortlist. Anvil combining and a full enchanting table setup become optional once a librarian with the right book is standing in front of you.

Because the Librarian is biome-specific, the one you meet in a desert village is not dressed the same as one from a taiga, though what it has for sale runs off the same trade table either way. It buys paper, book, ink sac, and book and quill off you for emeralds, and on top of enchanted books it sells bookshelf, lantern, glass, clock, compass, yellow candle, and red candle as it climbs its 5 career tiers.

The book trade itself is not a fixed line item. It first becomes available at Novice, priced at 5 to 64 emeralds depending on which enchantment the game rolls, and the same offer resurfaces at every tier through Expert. But a fresh novice librarian only carries 2 of its 3 possible offers, so there is roughly 67% odds the book slot is even present the moment it takes the job. That single fact drives most of how people actually work this villager, covered below.

Librarian trades at Novice level
InputOutputEmeraldsUsesVillager XPJava 26.3Bedrock 1.26.50.4Notes
1x Emerald
1x Emerald162same in Bedrockverifiedverified
9x Emerald
9x Emerald121same in Bedrockverifiedverified
5x Emerald
5 to 64 Emerald121same in Bedrockverified, rolled priceprice computed in gameRandom enchantment from full pool
3 trades at Novice level

The game draws 2 of the 3 offers this tier can hold, so any one of them is on 67% of novice librarians, and a specific one takes about 1.5 rolls to turn up. Bedrock builds this tier out of 2 groups and draws 1 of 1 and 1 of 2, so there the same offer is on 100% or 50% of them. Counted from the game's own draw sizes. How that check works.

Curing a zombie villager is worth 125 reputation, taken off the first thing you hand over. The discount is capped by the price, so here it runs from 4 on the enchanted book (5 to 1) up to 6 on the bookshelf (9 to 3). No cost ever drops below one.

The paper offer pays the villager 2 XP a use and the enchanted book offer pays 1, so the 10 XP from Novice to Apprentice is 5 trades one way and 10 the other. That fits inside the 16 uses the offer holds, so one stock run covers it. Read out of each trade's own file. How that check works.

All 3 trades on this page were read out of the trade files Minecraft Java 26.3 ships in its own data, checked on against the item, both amounts and the use limit. 1 of them has a price the game rolls per villager, so the range is what it can roll rather than a fixed number. Bedrock 1.26.50.4 is read as well, and where it disagrees the row says how. Which files, and what is not checked.

Novice to Master: what the climb costs

A Librarian does not level up on time served, it levels up on trading XP, and each of its offers pays a fixed amount of it. That makes the climb a countable thing rather than a chore: 19 trades take one from Novice to Master if you use the offer that pays most at every tier, and the tiers below say which offer that is.

The fewest trades that take a Librarian from Novice to Master, tier by tier
ClimbXPOffer that pays mostTradesYou hand overYou get back
Novice to Apprentice10The paper offer, 2 XP a useon 67% of librarians at this tier5120 paper5 emeralds
Apprentice to Journeyman60The book offer, 10 XP a useon 67% of librarians at this tier624 books6 emeralds
Journeyman to Expert80The ink sac offer, 20 XP a useon 67% of librarians at this tier420 ink sacs4 emeralds
Expert to Master100The book and quill offer, 30 XP a useon 50% of librarians at this tier48 book and quills4 emeralds
Novice to Master250no restock needed19120 paper, 24 books, 20 ink sacs and 8 book and quills19 emeralds

The bill for the whole climb is 120 paper, 24 books, 20 ink sacs and 8 book and quills. It pays for itself: 19 emeralds more than you started with by the time it is Master. No offer in the route runs past what its slot holds, so a Librarian with full stock can be walked all the way up in one sitting.

Counted, not timed. The XP each offer pays is the xp field of its own trade file, the 10, 60, 80, 100 XP between the tiers is VillagerData.NEXT_LEVEL_XP_THRESHOLDS, and the prices and use counts are the table above. Where a tier has more than one offer paying the top rate, the route takes the one any villager can hold, then the one that pays rather than costs, then the cheapest. XP over the line is not lost, it counts toward the next tier, so no trade in the route is wasted. How that check works.

Odds, groups and price rules for every Librarian trade

TradeJava oddsBedrock oddsBedrock groupPrice multiplierOne cure takes off
24Paperfor1EmeraldLibrarian, Novice67%100%10.056 items
9Emeraldfor1BookshelfLibrarian, Novice67%50%20.056 items
5Emeraldfor1Enchanted BookLibrarian, Novice67%50%20.225 items
4Bookfor1EmeraldLibrarian, Apprentice67%100%10.056 items
1Emeraldfor1LanternLibrarian, Apprentice67%50%20.056 items
5Emeraldfor1Enchanted BookLibrarian, Apprentice67%50%20.225 items
5Ink Sacfor1EmeraldLibrarian, Journeyman67%100%10.056 items
1Emeraldfor4GlassLibrarian, Journeyman67%50%20.056 items
5Emeraldfor1Enchanted BookLibrarian, Journeyman67%50%20.225 items
2Book and Quillfor1EmeraldLibrarian, Expert50%100%10.056 items
5Emeraldfor1ClockLibrarian, Expert50%33%20.056 items
4Emeraldfor1CompassLibrarian, Expert50%33%20.056 items
5Emeraldfor1Enchanted BookLibrarian, Expert50%33%20.225 items
3Emeraldfor1Yellow CandleLibrarian, Master100%25%10.056 items
3Emeraldfor1Red CandleLibrarian, Master100%25%10.056 items

Enchanted Book Price Formula

The Librarian's enchanted book trade is randomly selected from the full enchantment pool, including treasure enchantments like Mending, Frost Walker, Soul Speed, and Swift Sneak.

base_price = 2 * enchant_level + floor(random * 5 * enchant_level + random * 5)

Treasure enchantments: price is doubled

To get a specific enchantment, place a lectern, check the trade, then break and re-place the lectern to re-roll. See our Villager Rolling Guide for details. Check all available enchantments at enchantments.astroworldmc.com.

Librarian trades by tier (Novice to Master)

A Librarian climbs five career ranks, and each rank it reaches adds a fresh batch of offers on top of the ones below it. The experience gates are fixed: the Novice tier opens immediately with 3 offers, 10 more trade-XP points unlock Apprentice (3 offers), 60 more trade-XP points unlock Journeyman (3 offers), 80 more trade-XP points unlock Expert (4 offers), and 100 more trade-XP points unlock Master (2 offers). The full price list for every rank is laid out below; emerald costs marked as a range roll randomly within that band each time the trade is generated or restocked.

Tier 1 · Novice

3 trades · available from the start

Sell to villager: 24 papers for 1 emerald.

Buy from villager: bookshelf for 9 emeralds and enchanted book for 5-64 emeralds plus 1 book.

Tier 2 · Apprentice

3 trades · 10 cumulative XP

Sell to villager: 4 books for 1 emerald.

Buy from villager: lantern for 1 emerald and enchanted book for 5-64 emeralds plus 1 book.

Tier 3 · Journeyman

3 trades · 70 cumulative XP

Sell to villager: 5 ink sacs for 1 emerald.

Buy from villager: 4 glass for 1 emerald and enchanted book for 5-64 emeralds plus 1 book.

Tier 4 · Expert

4 trades · 150 cumulative XP

Sell to villager: 2 book and quills for 1 emerald.

Buy from villager: clock for 5 emeralds, compass for 4 emeralds, and enchanted book for 5-64 emeralds plus 1 book.

Tier 5 · Master

2 trades · 250 cumulative XP

Buy from villager: yellow candle for 3 emeralds and red candle for 3 emeralds.

Librarian trading tips

Reset before you trade, not after: a librarian's offers lock in the moment you complete a single trade with it. If the book slot rolled the wrong enchantment, or did not roll at all, breaking the lectern and giving it back generates a brand new list, worth doing since even at Novice only 67% of fresh librarians show the enchanted book offer at all. Full walkthrough in our villager rolling guide.

Farm villagers, not one villager: since the enchantment on offer is random and the slot itself is not guaranteed at any tier below Master, a row of several jobless villagers next to their own lecterns beats waiting on one to reroll into the enchantment you actually want. Check the full spread of what can come up at enchantments.astroworldmc.com before you commit a stack of books to the attempt.

Funding it: the cheapest way to keep a librarian stocked with the paper it needs to sell books back to it is buying in bulk. It takes 24 paper for a single emerald, and that Novice-tier slot alone can be used 16 times before it needs to restock at its lectern.

Cure it once you have a keeper: once a librarian is finally holding the enchantment you want, do not trade with it yet. Let a zombie infect it, cure it with a Splash Potion of Weakness and a Golden Apple, and the price on that exact book drops hard, often to the lowest end of its band. Only then complete the trade. Full method in our zombie-villager discount guide.

Rolling and locking a Librarian

Rerolling a Librarian until Mending shows up is covered in How to Reset Villager Trades in Minecraft, and How to Lock Villager Trades in Minecraft keeps the book once you have it. For the lowest Mending price, see How to Get Mending Books Cheap in Minecraft.