
If you’ve ever spent hours building a row of cozy empty houses just to wait for a new merchant to move in, you’ve probably wondered how many NPC are in Terraria. These characters aren’t just random vendors—they sell rare crafting materials, give out quests for exclusive loot, and even help you fight off boss invasions if you keep them happy. This guide breaks down every vanilla NPC, their unlock requirements, and common mistakes that might be keeping rare characters from moving into your base.
How Many NPC Are In Terraria, Base Game vs Modded?
First, let’s clear up the most common question. As of the latest vanilla Terraria update, there are 28 permanent, houseable town NPCs available across all game modes. This number doesn’t include temporary spawns like the Traveling Merchant, event-only characters like Santa Claus, or NPCs that only appear during specific quest lines like the Old Man at the Dungeon entrance. If you count every temporary and event NPC, the total jumps to 39 unique characters you can encounter in a standard unmodded playthrough.
Modded playthroughs can add far more NPCs, of course. Popular mods like Calamity add over 40 new custom NPCs with unique items, quests, and lore, while smaller content mods might add one or two new vendors for specific crafting recipes. For this guide, we’re sticking to vanilla Terraria content so the numbers and requirements work for every player no matter what platform they’re playing on.
You don’t have to unlock every single NPC to beat the game, but getting all 28 permanent characters gives you access to every fast travel pylon, exclusive crafting recipe, and discounted item in the game. It also unlocks a secret achievement for completionists, which is a fun bonus if you’re going for 100% game completion.
Key Requirements to Unlock Every Terraria NPC
Building an empty room isn’t enough to get most NPCs to move in. Every character has specific unlock conditions you have to meet first, plus universal housing rules that apply to all permanent NPCs. The core requirements you’ll need to hit for every unlock are:
You don't have to complete unlock conditions in any specific order, but progression-locked NPCs won't appear until you beat the required boss first. For example, the Mechanic will never spawn if you haven’t beaten Skeletron and explored the Dungeon first, no matter how many empty houses you have sitting around. I made that mistake on my first playthrough, and spent 10 in-game days waiting for her to show up before I realized I hadn’t touched the Dungeon yet.
If an NPC won’t move in even if you think you’ve met all requirements, use the housing query tool in your inventory to check if your room is valid. Most of the time, the issue is a small mistake like a missing torch or a block of corruption hidden just outside the 125 block range.
Rare NPCs You’re Probably Missing In Your World
Most players unlock the first 15 or so NPCs without trying, but there are a handful of rare characters that even experienced players miss on multiple playthroughs. The Truffle is one of the most common ones to miss, since he has a very specific unlock requirement most players don’t know about. The Truffle is one of the most missed permanent NPCs because most players only build glowing mushroom farms below the surface, and he only spawns if you have an above-ground glowing mushroom biome with at least 100 mushroom blocks.
The Angler is another easy one to miss. He spawns randomly on the edge of ocean biomes, and you have to physically walk up and talk to him to get him to move into your base. He won’t just show up to an empty house on his own, even if you’ve spent hours exploring the ocean. The Tax Collector is even more obscure: you have to find a Tortured Soul enemy in the Underworld and hit it with Purification Powder to turn him into the Tax Collector, who gives you passive gold every in-game day based on how many NPCs you have.
The Party Girl is the rarest of the standard permanent NPCs. She only has a 1/40 chance to spawn each in-game day once you have 14 other NPCs living in your base, so it’s not unusual to wait weeks of in-game time for her to appear. You can speed up the Party Girl's spawn rate by throwing frequent in-game parties using the Party Center item, which doubles her daily spawn chance while the party is active.
How to Keep Your NPCs Happy and Functional
Unlocking all your NPCs is only half the battle. You also need to keep them happy to get discounted prices, higher sell rates for your loot, and access to fast travel pylons that let you jump across the map in seconds. Every NPC has preferred biomes and preferred neighbors, so grouping them correctly makes a huge difference in their happiness levels. For example, the Zoologist loves living in the Forest biome with the Golfer and the Witch Doctor, so putting those three together in a small forest base will make all three of them very happy.
Happy NPCs sell items for up to 30% less, and buy your loot for 30% more, so it's worth taking the time to arrange their housing properly. That discount adds up fast when you’re buying expensive items like the Clentaminator or summoning items for hardmode bosses. Unhappy NPCs, on the other hand, will charge you more for items, and might even move out of your base entirely if their happiness drops too low.
Avoid putting more than 3 NPCs within 25 blocks of each other, because overcrowding is one of the fastest ways to drop their happiness. You also don’t want to put NPCs that hate each other next to each other—for example, the Arms Dealer hates the Nurse, so putting those two in adjacent houses will make both of them miserable even if they’re in their preferred biome. You can check any NPC’s happiness level by talking to them and selecting the happiness option, so it’s easy to fix issues before they get too bad.
Now that you know how many NPC are in Terraria, you can start crossing off each unlock condition to fill your base with every available character. Even if you’re not a completionist, unlocking all NPCs gives you access to every item, crafting recipe, and fast travel pylon in the game, making even hardmode boss fights feel far less stressful. If you’re struggling to get a specific NPC to spawn, double check that you’ve met all progression requirements and that your housing is fully valid, and you’ll have them moved in before you know it. I always keep a small empty house spare in every playthrough just in case a rare NPC decides to spawn randomly, and it’s saved me tons of time building last-minute housing when a character pops up unexpectedly.