In the vast, procedurally generated world of Terraria, NPCs (Non-Player Characters) are the backbone of a player's progression. These automated characters provide essential services ranging from selling rare ores and weapons to offering healing and gear reforging. While the game features hundreds of entities classified as NPCs—including hostile monsters and passive critters—the term most commonly refers to the Town NPCs who can move into houses built by the player.

As of the latest 1.4.4 Labor of Love update, there are 26 primary Town NPCs, several Town Pets, and a variety of special NPCs who roam the world without requiring a permanent residence. Understanding how to attract these residents and manage their happiness is crucial for unlocking the Pylon system and streamlining the journey from the first day to the final battle with the Moon Lord.

What Are the Basic Requirements for Town NPCs to Spawn?

Before any character can move into a world, they require "Suitable Housing." A house in Terraria is not merely a collection of blocks; it must meet specific technical criteria defined by the game’s engine.

Essential Housing Metrics

For a room to be flagged as valid by the housing query tool, it must contain:

  • Size: A minimum of 60 total tiles (including walls, floor, and ceiling). The most common efficient configuration is a 10x6 or 12x5 rectangle.
  • Enclosure: The room must be fully enclosed by solid blocks, platforms, or doors.
  • Background Walls: Every tile must be covered by player-placed background walls. Natural dirt or stone walls found in caves do not count.
  • Light Source: At least one functioning light source, such as a torch, candle, or chandelier.
  • Comfort Item: At least one "comfort item," typically a Chair, Bed, or Sofa.
  • Flat Surface Item: At least one "flat surface item," such as a Table, Work Bench, or Bathtub.
  • Entrance: At least one door or wooden platform acting as a point of entry.

Once a house is built, NPCs will only move in during the daytime. If an NPC dies, they will respawn the following morning as long as their specific unlock conditions are still met and a vacant house remains available.

Pre-Hardmode Town NPCs and Unlock Conditions

In the early stages of the game, players can recruit up to 18 different characters. Each has a unique trigger, often tied to inventory items or boss progression.

1. The Guide

The Guide is the first NPC every player encounters. He spawns immediately upon world creation. His primary role is providing crafting recipes and basic survival tips. Unlike other NPCs, he is required for the Wall of Flesh boss fight; sacrificing his life via the Guide Voodoo Doll in the Underworld is the only way to trigger Hardmode.

2. The Merchant

The Merchant arrives once all players in the world have more than 50 Silver Coins in their combined inventories. He sells basic survival gear like the Iron Pickaxe, Torches, and the Bug Net. In our experience, rushing the Merchant is the first priority for any new world to gain access to the Piggy Bank, which offers vital early-game storage.

3. The Nurse

The Nurse moves in once a player has found and used a Life Crystal, increasing their max health beyond 100 HP. She provides instant healing and debuff removal for a fee. Positioning the Nurse near your main boss arena is a veteran strategy that can save a failing run.

4. The Demolitionist

To attract the Demolitionist, you must have an explosive (like a Bomb, Grenade, or Dynamite) in your inventory and an empty house. He sells a variety of explosives, which are essential for quickly mining difficult ores or clearing large sections of the underground.

5. The Dye Trader

The Dye Trader appears if you have a dye ingredient (like a Blue Berries or a Strange Plant) in your inventory. He sells the Dye Vat, allowing for cosmetic customization of armor and accessories.

6. The Angler

The Angler does not move in based on inventory. Instead, he must be found sleeping on the surface of the Ocean biome (at either edge of the map). Waking him up allows him to move in. He provides daily fishing quests which are the only way to obtain the Cell Phone components and the Golden Bug Net.

7. The Zoologist

Introduced in version 1.4, the Zoologist moves in once your Bestiary is at least 10% complete (53 entries). She sells animal-themed vanity items and the Leather Whip, making her a key NPC for players using the Summoner class early on.

8. The Dryad

The Dryad is a nature-themed vendor who arrives after you defeat a major boss: the Eye of Cthulhu, Eater of Worlds, Brain of Cthulhu, or Skeletron. She can report the percentage of Corruption/Crimson and Hallow in your world and sells various seeds and the Grass Wall.

9. The Painter

The Painter moves in once there are at least 8 other Town NPCs in the world. He sells paints, wallpapers, and paintings, which vary based on the biome he is currently living in.

10. The Golfer

The Golfer is found in the Underground Desert. Rescuing him allows him to move into a house. He sells golf clubs, balls, and the Lawn Mower, which prevents tall grass from growing and reduces enemy spawn rates in the area.

11. The Arms Dealer

The Arms Dealer spawns when you have a gun or bullets in your inventory. He is the primary source of Minishark, Musket Balls, and Flintlock Pistols. For players focusing on Ranged damage, he is arguably the most important early-game NPC.

12. The Tavernkeep

Found unconscious anywhere in the world after defeating either the Eater of Worlds or the Brain of Cthulhu. He is part of the Dungeon Defenders 2 crossover and sells items related to the Old One's Army event.

13. The Stylist

The Stylist is hidden within Spider Nests in the cavern layer. She is found "webbed up" and must be freed from the spider webs. She offers hair customization and sells unique hair dyes.

14. The Goblin Tinkerer

The Goblin Tinkerer is a game-changer found in the Cavern layer after defeating a Goblin Army. He allows players to "Reforge" their gear, changing modifiers (like "Legendary" or "Warding") for a gold cost. He also sells the Rocket Boots and the Tinkerer's Workshop.

15. The Witch Doctor

The Witch Doctor moves in after the Queen Bee is defeated. If he is housed in the Jungle biome, he sells the Leaf Wings (in Hardmode) and various summoner-focused items like the Blowgun.

16. The Clothier

The Clothier appears after Skeletron is defeated. He sells vanity clothing and was once the "Old Man" cursed at the Dungeon entrance.

17. The Mechanic

Found bound in the Dungeon after Skeletron's defeat. She sells Wires, Actuators, and various logic gates, enabling complex automation and trap systems.

18. The Party Girl

The Party Girl has a 1/40 (2.5%) chance to spawn every morning once there are at least 14 other Town NPCs present. She sells celebratory items like Fireworks and the Bubble block.

Hardmode Town NPCs: The Advanced Roster

Defeating the Wall of Flesh and entering Hardmode unlocks 8 additional NPCs, many of whom offer high-tier equipment and endgame materials.

1. The Wizard

The Wizard is found bound in the Cavern layer after Hardmode begins. He sells high-level magic items like the Crystal Ball and Greater Mana Potions.

2. The Tax Collector

To get the Tax Collector, players must travel to the Underworld and find a "Tortured Soul" enemy. Using Purification Powder on this enemy transforms him into the NPC. He generates passive income (up to 10 Gold) by collecting taxes from other residents.

3. The Truffle

The Truffle is unique because he requires a house in a Surface Mushroom Biome. You must create this biome manually by planting Mushroom Grass Seeds on mud blocks above ground. He sells the Autohammer and the Mushroom Spear.

4. The Pirate

The Pirate moves in after a Pirate Invasion has been successfully repelled. He sells cannons, cannonballs, and vanity pirate gear.

5. The Steampunker

She arrives once you have defeated at least one Mechanical Boss (The Twins, The Destroyer, or Skeletron Prime). Her most important item is the Clentaminator, used to purify or spread biomes on a massive scale.

6. The Cyborg

The Cyborg moves in after Plantera is defeated. He sells Proximity Mine Launchers and various high-tech rockets.

7. Santa Claus

Santa Claus only arrives after the Frost Legion event is defeated, and he only stays during the Christmas season (December 15–31). Outside of this window, he will leave the world.

8. The Princess

The Princess is the final Town NPC. She will only move in if all other Town NPCs (excluding Santa and Town Pets) are currently living in the world. She sells various royal vanity items and the Resonance Scepter.

Special NPCs and Traveling Vendors

Not all friendly characters in Terraria need a bedroom. Some are transient or found in specific environmental niches.

The Traveling Merchant

He has a 22% chance to spawn every morning between 4:30 AM and 12:00 PM if at least two other Town NPCs are present. He leaves at 6:00 PM. His inventory is randomized and contains rare items like the Celestial Magnet or exotic vanity sets. In our testing, checking the Traveling Merchant every day is the best way to secure late-game building materials.

The Skeleton Merchant

The Skeleton Merchant is found randomly in the Cavern layer. He does not move into houses. His inventory changes based on the moon phase; for example, he only sells the Magic Lantern during a Full Moon. He is a primary source for Yoyo accessories like the Counterweight.

The Old Man

Found at the Dungeon entrance. While technically an NPC, he doesn't provide services. He is the vessel for Skeletron and will transform into the boss when spoken to at night.

How to Get Town Pets and Town Slimes

In recent updates, "Town Pets" and "Town Slimes" were added to provide more life to player bases. They count toward the NPC total for spawning the Princess but do not provide shops (except for the Zoologist’s pets).

Town Pets

  • Cat, Dog, and Bunny: Obtained by purchasing "Licenses" from the Zoologist. Once the license is used, the pet will move into a house with a resident NPC.

Town Slimes

There are 8 Town Slimes introduced in 1.4.4, each with a unique requirement:

  • Cool Slime: Moves in during a Party.
  • Clumsy Slime: Found floating in the Space layer via a balloon.
  • Elder Slime: Found in a "Shaking Chest" in the Cavern layer after defeating Skeletron.
  • Nerdy Slime: Moves in after defeating King Slime.
  • Squire Slime: Throw a Copper Helmet or Copper Shortsword at a standard slime.
  • Diva Slime: Throw a Sparkle Slime Balloon (dropped by Queen Slime) into Shimmer.
  • Mystic Slime: Use Purification Powder on a Mystic Frog in the Jungle.
  • Surly Slime: Fished up during a Blood Moon.

Understanding the NPC Happiness and Pylon System

Introduced in the 1.4 update, the Happiness system changed how players build bases. Previously, many players built "NPC Prisons"—tiny boxes stacked on top of each other. Now, the game rewards players for building smaller, specialized houses in different biomes.

Factors Affecting Happiness

NPC happiness is influenced by three main factors:

  1. Biome Preference: Each NPC has a favorite biome (e.g., the Painter loves the Jungle).
  2. Neighbors: NPCs have specific feelings about other characters. For example, the Arms Dealer loves being near the Nurse but hates the Demolitionist.
  3. Crowding: If more than two NPCs are living within 25 tiles of each other, or more than four NPCs are within 120 tiles, they will feel "crowded," which significantly lowers their happiness.

The Pylon System

If an NPC is sufficiently happy, they will sell a Pylon corresponding to their current biome. Pylons allow players to teleport instantly between locations, provided there are at least two NPCs living near each Pylon. This system effectively replaces the need for massive skybridges or asphalt roads for world traversal.

Happiness Strategy Table:

NPC Favorite Biome Loves Neighbor Hates Neighbor
Merchant Forest Golfer Angler
Nurse Hallow Arms Dealer Zoologist
Arms Dealer Desert Nurse Golfer
Dryad Jungle Witch Doctor Angler

Can NPCs Fight Back? NPC Combat Mechanics

Town NPCs are not entirely defenseless. While they cannot be attacked directly by the player (except with specific items like Rotten Eggs or the Flymeal), they can take damage from monsters and environmental hazards.

Self-Defense Attacks

Each NPC has a unique attack pattern:

  • Guide: Uses a Wooden Bow and Arrows.
  • Merchant: Throws Throwing Knives.
  • Demolitionist: Throws Grenades (watch out for collateral damage in early versions).
  • Nurse: Throws Syringes that poison enemies and heals herself and nearby NPCs.
  • Dryad: Creates a "Dryad's Blessing" circle that grants players defense and damages enemies over time.

As the player progresses and defeats bosses, all Town NPCs gain permanent boosts to their Defense and Attack power. This ensures that even in Hardmode, your residents aren't instantly killed by a stray Wraith.

Conclusion and Summary of All NPCs

Managing NPCs in Terraria is a deep and rewarding system. By fulfilling specific requirements—whether it's holding 50 silver coins for the Merchant or purifying a soul in the depths of hell for the Tax Collector—players unlock the true potential of their world. From the early-game utility of the Guide to the endgame splendor of the Princess, each character adds a layer of strategy and personality to the sandbox experience.

To maximize your efficiency:

  1. Build houses early and often.
  2. Pay attention to biome preferences to unlock Pylons.
  3. Protect your NPCs with traps and solid blocks to ensure they remain available for trading.

FAQ: Common Questions About Terraria NPCs

How many NPCs are there in Terraria 1.4? There are 26 Town NPCs that can live in houses, plus 3 special wandering NPCs and various pets and slimes.

Why is my house not suitable? Common reasons include missing a single background wall tile, being too close to the Corruption or Crimson, or lacking a flat surface item (Table/Work Bench).

Do NPCs respawn? Yes. If an NPC dies, they will respawn the next day as long as there is an empty house and their spawn conditions are still met.

Who is the hardest NPC to get? The Princess is generally considered the hardest to obtain, as she requires every other Town NPC to be currently housed in your world.

What is the best biome for NPCs? There is no single "best" biome. You should distribute NPCs across all biomes (Forest, Desert, Snow, Jungle, Ocean, Hallow, and Underground) to utilize the Pylon network.