How Many NPC Are There in Terraria? Complete Guide to All Town & Event NPCs

Anyone who’s spent dozens of hours building out a cozy Terraria town knows half the fun is filling it with quirky, useful characters that sell rare items, give quests, and make your world feel lived-in. If you’ve ever stopped mid-build to ask how many npc are there in terraria, you’re not alone. Most players only unlock a handful of the full roster in their first playthrough, missing out on tons of exclusive gear, quality of life perks, and even hidden story beats. I’ve spent over 300 hours testing spawn conditions across both pre-Hardmode and Hardmode worlds, so I’m breaking down every single NPC, how to get them, and what makes each one worth unlocking.

How Many NPC Are There in Terraria, Broken Down by Game Mode

Vanilla Terraria (no mods, latest 1.4.4 patch) has a total of 58 unique friendly NPCs, if you count both permanent town residents and temporary event-exclusive characters. If you only count permanent, move-in town NPCs that stay in your world long-term, the total drops to 28. That number jumps significantly if you use popular content mods like Calamity, which add 40+ additional NPCs with unique quests and items. We’re focusing exclusively on vanilla content here, so modded counts will vary based on the mod packs you use.

Pre-Hardmode (the phase before you defeat the Wall of Flesh boss) has 21 permanent town NPCs you can unlock, plus 8 temporary event or random spawn NPCs. Hardmode adds 7 more permanent town NPCs, plus 22 more temporary event-specific characters that only appear during certain in-game or real-world events. We’re only counting friendly, interactive NPCs here – enemies, critters, and passive background characters don’t count towards the official total most players reference.

It’s easy to miss a huge chunk of these NPCs if you only stick to the main story path. For example, many players never unlock the Tax Collector or Truffle in their first run, because their spawn requirements are less obvious than core NPCs like the Guide or Nurse. You don’t have to unlock every single NPC to beat the game, but each one adds unique perks that make your playthrough far easier.

Key Requirements to Unlock Every Permanent Town NPC

All permanent town NPCs have two base requirements to move in: a valid, empty house, and meeting their specific spawn trigger. A valid house needs to be at least 6 blocks wide and 3 blocks tall, have full background walls, a light source, a flat surface item like a table or workbench, a comfort item like a chair, and a door to enter and exit. If your house is near corrupted, crimson, or hallowed blocks, it won’t count as valid, so make sure you clear out any dangerous biomes within 30 blocks of your town.

Some NPC triggers are as simple as beating a specific boss, while others require you to find them in hidden biomes or complete specific tasks. These are the most commonly missed NPCs and their exact spawn requirements:

  • The Tax Collector: You need to throw Purification Powder on a Tortured Soul enemy found in the Underworld during Hardmode. Most players skip this NPC because they mistake the Tortured Soul for a regular hostile mob and kill it immediately. He will collect taxes from all other NPCs in your town, giving you free passive gold every in-game day.
  • The Truffle: You need a house built in a surface Glowing Mushroom biome, not an underground one. Many players spend hours building elaborate underground mushroom bases only to find the Truffle won’t move in. He sells the Autohammer, which lets you craft powerful Shroomite armor for late-game ranged builds.
  • The Golfer: You can find him wandering the Underground Desert biome, even in pre-Hardmode. You just need to talk to him once to unlock him for your town, no extra items required. He sells golf gear, decorative items, and the Pylon for the Desert biome.
  • The Angler: He spawns on either of the world’s Ocean beaches at dawn, and will only move in if you have an empty house available the same day you talk to him. If you leave the beach before talking to him, he’ll despawn by noon. He gives daily fishing quests that reward rare accessories, furniture, and fishing gear.

NPC happiness directly impacts the prices of items they sell, so placing them with preferred neighbors and in their favorite biomes will get you better discounts and even access to exclusive pylons that let you fast travel across the map. For example, the Guide loves living in the Forest biome with the Nurse and Clothier as neighbors, and will sell you the Forest Pylon if his happiness is high enough. If you place him next to hated neighbors like the Painter, his prices will jump by up to 50%.

Rare Event-Exclusive NPCs You Might Have Missed

Not all friendly NPCs move into your town permanently. Around 70% of the total NPC count is made up of temporary characters that only appear during specific events, or spawn randomly as you explore. These NPCs often sell rare, limited-time items you can’t get anywhere else, so it’s worth keeping an eye out for them as you play.

The Traveling Merchant is one of the most useful temporary NPCs, with a 22% chance to spawn at your town every morning. He stays for one in-game day before leaving, and sells a rotating stock of rare items like the Cloud in a Balloon, Magic Mirror upgrades, and decorative blocks. I always keep an empty spot near my town entrance for him, so I don’t miss his stock when he spawns.

The Skeleton Merchant is another easy-to-miss temporary NPC that only spawns in the Underground and Cavern layers, far from your town. He sells mining-related items like glowsticks, mining potions, and rare pickaxe upgrades, which can be a lifesaver when you’re early in pre-Hardmode and struggling to get better gear. He won’t move into your town, so you’ll have to hunt for him every time you need his items.

The Princess is the hardest permanent NPC to unlock, because she only spawns once every other permanent town NPC is already living in your world, including the Tax Collector and Truffle that most players miss. She sells exclusive decorative items, and boosts the happiness of all nearby NPCs by 10%, making her well worth the effort to unlock if you’re trying to max out your town’s pylon network.

Common Mistakes That Stop NPCs From Spawning

Even if you think you’ve met all the requirements for an NPC, there are a few common issues that can prevent them from moving in. The most frequent mistake I see new players make is building houses too close to corrupted or crimson biomes. Houses built within 30 blocks of corrupted, crimson, or hallowed blocks won’t be considered valid for NPCs, even if the rest of the structure meets all requirements. You can fix this by purifying the nearby area with Purification Powder, or building your town far away from dangerous biomes from the start.

NPCs also won’t move in if there’s an active invasion event happening, like a Goblin Invasion, Pirate Invasion, or Solar Eclipse. Wait until the event is fully over, and any remaining enemies are defeated, before checking if your NPC has spawned. If you’re playing on Master Mode, NPCs also have higher happiness requirements, so they might refuse to move in if their potential neighbors are people they hate.

Another easy mistake is forgetting to keep the required trigger item in your inventory for NPCs that need it. For example, the Dye Trader won’t spawn unless you have a dye or dye ingredient in your personal inventory, not just stored in a chest. The Arms Dealer won’t spawn unless you have a gun and matching ammo in your inventory, not just stored in a box in your base. I spent three days waiting for the Arms Dealer to spawn in my first playthrough, only to realize I’d left my musket in a chest 100 blocks away from my character.

If you’ve checked all these boxes and your NPC still won’t spawn, try sleeping through a few day and night cycles to reset the spawn system. Sometimes the game gets backlogged with spawn requests, and skipping a couple of days will kick it back into gear. You can also use the housing menu to manually assign a house to an NPC you’ve already unlocked, which will force them to move in immediately if the house is valid.

Whether you’re playing through your first pre-Hardmode run or trying to 100% your Hardmode world, knowing how many npc are there in terraria is the first step to unlocking every perk, item, and fast travel pylon the game has to offer. You don’t have to unlock every single NPC in one playthrough, but even adding a few overlooked ones like the Tax Collector or Golfer can make your playthrough far smoother. If you’re still struggling to find a specific NPC, try swapping between day and night cycles, double checking your house validity, and exploring biomes you haven’t visited yet – you might stumble across the character you’re missing when you least expect it.