Non-Player Characters (NPCs) are the heartbeat of any Terraria world. They transform a lonely survival sandbox into a thriving hub of commerce, healing, and strategic progression. Currently, in the latest version of Terraria, there are 26 primary Town NPCs, several Town Pets, unique Town Slimes, and a handful of wandering traders who provide essential gear to help you conquer everything from the Eye of Cthulhu to the Moon Lord.

Successfully managing your town requires more than just building wooden boxes. It involves understanding complex housing requirements, biome preferences, and specific game milestones. This comprehensive breakdown covers every NPC available and the exact steps needed to bring them to your base.

The Fundamentals of NPC Housing and Spawning

Before any NPC can move in, you must provide suitable housing. Many players mistake a simple enclosure for a house, but Terraria’s engine checks for very specific criteria every morning at dawn.

Standard Housing Requirements

A valid house must meet the following metrics:

  1. Size: The total internal area (including frame) must be between 60 and 749 tiles. Most players find a 10x6 or 9x7 structure efficient.
  2. Enclosure: The house must be fully enclosed with solid blocks, platforms, or doors.
  3. Background Walls: Natural dirt walls do not count. You must craft and place player-made background walls (like wood, stone, or glass). A small gap is allowed, but it shouldn't exceed 4x4 tiles.
  4. Furniture: Every room requires at least one "Flat Surface" item (Table, Workbench, Bathtub) and one "Comfort" item (Chair, Bed, Sofa).
  5. Light Source: A torch, candle, chandelier, or lantern must be present.
  6. Entrance: At least one door or a set of platforms that the NPC can use to "enter."
  7. Location: Houses cannot be located near the Corruption or Crimson. If the "Evil" biomes are too close, the house becomes "invalid," and the NPC will move out.

Defensive Scaling

NPCs are not just vendors; they are survivors. As you defeat bosses, your NPCs gain increased defense and attack power. For example, after defeating a mechanical boss, all Town NPCs gain a significant boost to their survivability. They also have a natural health regeneration rate, which is why the Nurse is often used as a tactical "healer" during difficult encounters.

Pre-Hardmode Town NPCs

These are the 16 characters you can encounter before defeating the Wall of Flesh. Securing them early provides a massive advantage in gear and utility.

1. The Guide

  • Requirement: None. He spawns the moment you create your world.
  • Function: Provides crafting recipes. If you show him any item with the "Material" tag, he will list everything you can make with it. He also offers hints on what to do next in your progression.
  • Combat: Fires wooden arrows at nearby enemies. In Hardmode, he switches to flaming arrows.

2. The Merchant

  • Requirement: All players in the world must collectively have more than 50 Silver Coins in their inventories.
  • Function: Sells basic survival gear, including the Bug Net, Piggy Bank, Torches, and the Iron Anvil (if you haven't crafted one).
  • Experience Tip: Buy the Piggy Bank as soon as possible. It is the most reliable way to save your money from being lost upon death.

3. The Nurse

  • Requirement: You must have at least one Heart Crystal used (more than 100 Max HP) and the Merchant must already be present.
  • Function: Heals your health and removes all debuffs for a fee. The cost scales based on how much health you are missing and your current progression.
  • Strategic Insight: Placing the Nurse near your boss arena is a classic "pro-strat." By opening her dialogue and clicking "Heal" quickly, you can survive hits that would otherwise end your run.

4. The Demolitionist

  • Requirement: You must have an explosive (Bomb, Dynamite, or Grenade) in your inventory and the Merchant must be present.
  • Function: Sells Grenades, Bombs, and Hellfire Arrows. He is essential for players who prefer "mining" with explosives rather than pickaxes.

5. The Dye Trader

  • Requirement: You must have a dye-related item (like a Strange Plant or a Dye Material like Blueberry) in your inventory and have defeated at least one pre-hardmode boss (except King Slime).
  • Function: Exchanges Strange Plants for rare, animated dyes and sells the Dye Vat crafting station.

6. The Angler

  • Requirement: Found sleeping on the surface of the Ocean biome (at the far left or right edges of the map). Talk to him to wake him up.
  • Function: Provides daily fishing quests. Completing these is the only way to obtain the Golden Fishing Rod and the components for the Cell Phone.

7. The Zoologist

  • Requirement: You must complete at least 10% of your Bestiary (53 entries).
  • Function: Sells animal-themed vanity items, the Leather Whip, and the Critter Companionship book (which prevents you from accidentally killing innocent critters).

8. The Painter

  • Requirement: At least 8 other Town NPCs must be living in your world.
  • Function: Sells various paints, wallpapers, and paintings. His inventory changes based on the biome he is currently living in.

9. The Golfer

  • Requirement: Found in the Underground Desert biome. He is often trapped in a pit; simply talk to him to rescue him.
  • Function: Sells golf clubs, balls, and the Golf Cart mount.

10. The Arms Dealer

  • Requirement: You must have a firearm or ammunition (bullets) in your inventory.
  • Function: Sells the Minishark, Flintlock Pistol, and Musket Balls. He is the backbone of any Ranged class build.

11. The Tavernkeep

  • Requirement: Found lying unconscious anywhere in the world after you have defeated either the Eater of Worlds or the Brain of Cthulhu.
  • Function: Sells items related to the "Old One's Army" crossover event using Defender Medals.

12. The Stylist

  • Requirement: Found in a Spider Nest (Underground). She is webbed up and must be rescued by killing the spiders around her.
  • Function: Changes your character's hair style and color. She also sells rare hair dyes that react to your mana or health levels.

13. The Goblin Tinkerer

  • Requirement: Defeat a Goblin Army, then find him bound in the Cavern layer.
  • Function: The most important NPC for many. He provides the "Reforge" service, allowing you to change the modifiers on your weapons and accessories. He also sells Rocket Boots and the Tinkerer's Workshop.

14. The Witch Doctor

  • Requirement: Defeat the Queen Bee.
  • Function: Sells summoner-related items, including the Blowgun and the Imbuing Station. If he lives in the Jungle during Hardmode, he sells the powerful Leaf Wings.

15. The Clothier

  • Requirement: Defeat Skeletron.
  • Function: Sells vanity clothing. He is actually the "Old Man" from the Dungeon entrance, finally freed from his curse.

16. The Mechanic

  • Requirement: Found bound in the Dungeon after defeating Skeletron.
  • Function: Sells Wires, Actuators, and various logic gates. If you want to build automated traps or teleporters, she is indispensable.

Hardmode Town NPCs

Entering Hardmode by defeating the Wall of Flesh unlocks a new tier of characters. These NPCs often sell high-end technological or magical items.

17. The Wizard

  • Requirement: Found bound in the Cavern layer after entering Hardmode.
  • Function: Sells magic-focused items like the Crystal Ball, Spell Tomes, and the Ice Rod.

18. The Tax Collector

  • Requirement: In the Underworld, you will occasionally find a "Tortured Soul" enemy. Use Purification Powder (purchased from the Dryad) on him to transform him into the Tax Collector.
  • Function: Automatically collects taxes from other NPCs. You can visit him periodically to collect a sum of gold (up to 10 Gold or more depending on how many NPCs you have).

19. The Truffle

  • Requirement: You must build a house in an Above-ground Glowing Mushroom Biome. You must manually create this biome using Mushroom Grass Seeds on Mud Blocks at the surface level.
  • Function: Sells the Autohammer (used to craft Shroomite) and the Mushroom Spear.

20. The Pirate

  • Requirement: Defeat a Pirate Invasion in Hardmode.
  • Function: Sells the Bunny Cannon, Cannonballs, and various pirate-themed vanity items.

21. The Steampunker

  • Requirement: Defeat at least one of the three Mechanical Bosses (The Destroyer, Skeletron Prime, or the Twins).
  • Function: Sells the Clentaminator (used for mass biome conversion), the Jetpack, and Teleporters.

22. The Cyborg

  • Requirement: Defeat Plantera.
  • Function: Sells Rockets, the Nanites, and the Proximity Mine Launcher.

23. The Princess

  • Requirement: She will only move in once all other Town NPCs (excluding Santa Claus and Town Pets) are present in the world.
  • Function: Sells unique "royal" vanity items and weapons like the Resonance Scepter. She is unique because she has no "hated" neighbors or biomes; she loves everyone.

24. Santa Claus

  • Requirement: Defeat the Frost Legion (summoned by a Snow Globe). He only appears during the Christmas season (December 15th to December 31st).
  • Function: Sells Santa-themed vanity items and Christmas lights.

Town Pets: The Non-Vendor Residents

Town Pets do not sell items or provide services like the Nurse, but they contribute to the total NPC count for the Princess and can be petted to increase player "happiness" (emotionally, if not mechanically).

The Cat, Dog, and Bunny

To get these, you must buy a "License" from the Zoologist. Once the license is used, a random breed of that pet will move into an available house the next day.

  • Cat License: Available after 10% Bestiary completion.
  • Dog License: Available after 25% Bestiary completion.
  • Bunny License: Available after 45% Bestiary completion.

The Town Slimes (1.4.4 "Labor of Love" Update)

There are 8 distinct Town Slimes, each with a unique unlock condition:

  1. Cool Slime: Moves in during a Party.
  2. Clumsy Slime: Found floating on a balloon in the Space layer; pop the balloon to rescue it.
  3. Elder Slime: Found in a "Shaking Chest" in the Cavern layer (requires a Golden Key).
  4. Nerdy Slime: Moves in after you defeat King Slime.
  5. Surly Slime: Caught while fishing during a Blood Moon.
  6. Mystic Slime: Throw Purification Powder on a Mystic Frog in the Jungle.
  7. Diva Slime: Throw a Sparkle Slime Balloon (dropped by Queen Slime) into a pool of Shimmer.
  8. Squire Slime: Drop a Copper Helmet or Copper Shortsword near a standard Slime.

Special and Non-Settling NPCs

These characters do not require a house and will not stay in your town permanently. However, they are vital for rare item collection.

The Traveling Merchant

He has a 22% chance to spawn every morning once you have at least 2 Town NPCs in your world. He stays for the day and leaves at 6:00 PM. His inventory is completely randomized, often selling exotic items like the Companion Cube or the Katana.

The Skeleton Merchant

Found randomly in the Cavern layer. He does not move into a house. His inventory changes based on the phases of the moon. He is the only source for the Magic Lantern and various yoyo-related accessories.

The Old Man

Found at the entrance of the Dungeon. He is the gatekeeper for Skeletron. While he occupies the Dungeon as his "home," he does not count toward the Town NPC limit until he is cured and becomes the Clothier.

The Science of NPC Happiness and Pylons

In modern Terraria (1.4+), where you place your NPCs matters. Each NPC has a "Happiness" value determined by two factors:

  1. Biome Preference: Do they like the Forest, Desert, Jungle, Snow, Ocean, or Hallow?
  2. Neighbor Preference: Who are they living near?

Why Happiness Matters

  • Discounts: Happy NPCs sell items for up to 25% less and buy your loot for more gold.
  • Pylons: If an NPC is sufficiently happy and lives with at least one other NPC, they will sell a Pylon.

Pylons are large crystals that allow for instantaneous teleportation between biomes. To set up a Pylon network, you must have two NPCs living in a biome they like. For example:

  • Forest Pylon: Place the Guide and the Merchant in the Forest.
  • Desert Pylon: Place the Arms Dealer and the Nurse in the Desert (they love each other).
  • Jungle Pylon: Place the Dryad and the Painter in the Jungle.

Shimmer and NPC Transmutation

Introduced in the 1.4.4 update, Shimmer is a pearlescent liquid found in the Aether biome (located in the cavern layer on the same side of the world as the Jungle). If you submerge a Town NPC in Shimmer, they will transform into their "Shimmered" form. This is purely a cosmetic change that gives them a new, often more detailed or mystical appearance, but it does not change their functions or happiness preferences.

Conclusion

Mastering the NPC system is the difference between struggling in the dirt and ruling a high-tech civilization. By prioritizing the Goblin Tinkerer for reforging, the Nurse for combat support, and the Steampunker for world management, you can tackle the game's toughest challenges with ease. Always remember to check your Housing Menu (the house icon above your armor slots) to see which NPCs are available and if your rooms are considered "suitable."

Summary Table: Key Milestones

Milestone NPC Unlocked
Start of Game Guide
50 Silver Coins Merchant
First Boss Defeated Dryad, Dye Trader
Goblin Army Defeated Goblin Tinkerer
Skeletron Defeated Clothier, Mechanic
Queen Bee Defeated Witch Doctor
Wall of Flesh Defeated Wizard, Tax Collector (via Soul)
Mechanical Boss Defeated Steampunker
Plantera Defeated Cyborg
All NPCs Present Princess

FAQ

How many NPCs are in Terraria total? As of the 1.4.4 "Labor of Love" update, there are 26 Town NPCs (including the seasonal Santa Claus and the late-game Princess), 3 Town Pets (Cat, Dog, Bunny), and 8 Town Slimes.

Why won't my NPC move back in after dying? An NPC will only respawn if there is an empty, valid house available. Additionally, they usually only spawn during the daytime and when there is no active event like a Goblin Invasion or Blood Moon.

Can I move an NPC to a different house? Yes. Open your inventory and click the housing icon on the right. You can then click an NPC's flag and place it in the room you want them to occupy. They will teleport to their new home at night once they are off-screen.

What is the best biome for the Merchant? The Merchant prefers the Forest. He likes living near the Nurse and the Golfer but dislikes the Desert biome. Keeping him in the Forest will ensure his prices remain low.

How do I get the Truffle to move in? The Truffle is unique because he requires an artificial biome. You must place Mud Blocks above ground and plant Mushroom Grass Seeds. Once the background turns dark and the music changes to the Mushroom theme, build a standard house within that area.