Reviewed 31 October 2026. The database uses a Terraria 1.4.5.8 snapshot, confirmed by its effect records. Re-Logic's 29 October update describes 1.4.6 and crossplay as still in testing, not released. Check your platform version before applying newer mechanics. Vanilla advice assumes a standard world; special seeds, world difficulty, and mods can change encounters and progression. Equipment lists are options, not fixed character classes or required loadouts. Boss and progression sections name later encounters and unlocks. tModLoader has its own supported versions and mod requirements.
How NPC Housing Works
Terraria NPCs need valid housing before they can move in. Early on, simple wooden rooms are enough. As your world grows, housing becomes more important because NPC placement affects shops, happiness, pylons, travel, and progression.
You can start with a basic town near spawn, then later split NPCs into smaller biome towns so you can place pylons and travel across your world faster.
Happiness Is Useful, Not Mandatory
You do not need perfect NPC happiness to enjoy Terraria. Focus on simple valid housing first, then improve happiness later for useful NPCs, better prices. Check pylon requirements separately for your version.
Valid Housing Basics
These are the most important housing rules new players should understand before building NPC rooms.
Build Valid Rooms
A basic NPC house needs suitable enclosed space, safe background walls, a light, comfort and flat-surface furniture, an entrance, and valid solid floor space. Use Housing Query to check it.
Use the Housing Menu
Open the housing menu and use the query tool to check if a room is valid. If something is missing, the game will usually tell you what the issue is.
Background Walls Matter
New players often forget that housing needs placed background walls, not just outer blocks. Crafted wooden walls are enough for early houses.
Build Extra Rooms Early
NPCs move in as you unlock them. Building extra empty rooms early prevents you from scrambling when useful NPCs become available.
Why Happiness and Pylons Matter
Happiness affects prices. In 1.4.5, pylon sales instead depend on an eligible vendor, another nearby NPC, and biome requirements.
Biome Preference
Many NPCs prefer certain biomes. Placing them in a liked biome can improve happiness, while disliked biomes can make them less happy.
Neighbor Preference
NPCs also care about nearby neighbors. Pairing liked neighbors can improve prices. In 1.4.5, pylon sales no longer require a happiness discount.
Avoid Crowding
Putting too many NPCs close together can reduce happiness. Smaller towns spread across different biomes usually work better than one giant apartment block.
Pylons have version-specific rules
In 1.4.5, happiness is no longer required for pylon sales. An eligible vendor, another nearby NPC, and the relevant biome still matter. Older versions and tModLoader branches may use the earlier happiness rule.
How NPC Happiness Works
NPC happiness is based on population, nearby neighbors, and biome location. You do not need to min-max everything, but understanding the basics helps with shop prices.
Happiness Affects Prices
Happy NPCs can give better shop prices, while unhappy NPCs can make items more expensive. This matters most for NPCs you buy from often, like the Goblin Tinkerer, Mechanic, Painter, Nurse, Demolitionist, and Steampunker.
Population Matters
NPCs do not like being overcrowded. Instead of putting everyone in one giant apartment forever, spread them into smaller towns once you have more NPCs unlocked.
Neighbors Matter
NPCs have relationship preferences. Some NPCs like or love each other, while others dislike or hate each other. Pairing the right neighbors improves happiness and helps with discounts.
Location Matters
Many NPCs prefer certain biomes. Moving NPCs into a liked biome can improve prices. Pylon biome and nearby-NPC requirements are separate from happiness in 1.4.5.
Helpful NPC Details Most Players Miss
These small housing details make town planning easier once you start building pylon networks.
Pets and Town Slimes Are Safe
Town pets and town slimes do not count against NPC happiness or overcrowding. You can place them near NPCs without hurting discounts.
Pets and Slimes Can Help Pylons
Even though pets and town slimes do not hurt happiness, they can still help count as town NPCs for pylons. This is useful when one NPC is living alone.
Biome Overlap Can Work
Some towns can sit in overlapping biomes, like Hallow plus Snow. If an NPC likes one part of the biome combination, that can still help the setup.
Princess Is Flexible
The Princess is easy to place because she likes all town NPCs and does not care about biome location. She can help improve happiness in many town setups.
Recommended Town Setups
You do not need perfect NPC happiness, but these town ideas give you useful pylons, better shop access, and practical progression value.
Forest Starter Town
- Good early home for the Guide, Merchant, Nurse, Zoologist, or Golfer.
- Keep your first crafting area, storage, and basic shops here.
- Later, spread towns out for useful travel routes and better prices.
- A town pet or town slime can help keep a pylon active without overcrowding.
Underground Utility Town
- Great for Goblin Tinkerer, Mechanic, and Demolitionist style setups.
- Useful because reforging, wiring, explosives, and accessory upgrades are all high-value services.
- Goblin Tinkerer discounts are useful if you spend heavily on reforging.
- Protect the area so enemies do not interrupt shopping or reforging.
Jungle Town
- Good for Dryad, Witch Doctor, and Painter setups.
- Useful if you want Jungle access, summoner items, paints, and building materials nearby.
- Make the town safe because Jungle enemies can be rough.
- A Jungle pylon is very useful for boss prep, exploration, and later progression.
Desert Utility Town
- Useful for Arms Dealer, Nurse, Steampunker, Dye Trader, or Golfer depending on your setup.
- The Steampunker becomes very important after a Mechanical Boss because of the Clentaminator.
- A Desert pylon gives fast access to a large biome that can otherwise be annoying to cross.
- This town is especially useful if you care about ranged items, biome control, or utility shops.
Ocean Town
- Useful for Angler, Pirate, and other Ocean-friendly pairings.
- Makes fishing quests and Ocean travel much easier.
- An Ocean pylon saves a lot of time on large worlds.
- This is more convenience-focused than progression-critical.
Mushroom Town
- Needed for moving in the Truffle during Hardmode.
- The house must be in a surface Glowing Mushroom biome.
- Important for certain late-game items and ranger progression.
- Build this before you need it so the Truffle can move in smoothly.
Most Important NPCs for Progression
Some NPCs are much more important than others because they affect crafting, healing, reforging, biome control, or class progression.
Guide
The Guide shows crafting recipes and progression hints. Use him whenever you find an unfamiliar material.
Merchant
The Merchant is one of the first useful NPCs because he sells basic supplies like arrows, torches, rope, and other early utility items.
Nurse
The Nurse can heal you for coins. She is especially useful near boss arenas or difficult events, but do not rely on her instead of preparing properly.
Goblin Tinkerer
The Goblin Tinkerer is one of the most important NPCs because reforging and accessory combining can massively improve your build.
Early Game NPCs
These NPCs help you get started with crafting, supplies, healing, fishing, decoration, and basic world progression.

Guide
EssentialProvides crafting help and progression hints
Unlock
Spawns automatically
Tip
Use him to check recipes for any material you do not recognize.

Merchant
EssentialSells basic supplies like arrows, torches, rope, and potions
Unlock
Have 50+ silver coins
Useful Biome
Forest

Nurse
EssentialHeals the player for coins
Unlock
Have more than 100 maximum health and the Merchant present
Useful Biome
Forest
Tip
Useful near boss arenas, but healing costs can add up.

Demolitionist
UsefulSells bombs, grenades, and explosive items
Unlock
Carry a qualifying explosive, such as Bombs or Dynamite, with the Merchant present
Tip
Useful for mining, evil biome orbs/hearts, and early boss prep.

Zoologist
UsefulSells mounts, pets, vanity, and animal-related items
Unlock
Fill Bestiary to 10%

Painter
OptionalSells paints and decoration items
Unlock
Have eight other qualifying town NPCs in the world

Dye Trader
OptionalSells dyes and dye-related items
Unlock
Carry a dye, dye plant, Strange Plant, or Dye Vat, with at least four other qualifying town NPCs in the world

Angler
UsefulGives fishing quests and fishing rewards
Unlock
Found sleeping at the Ocean
Useful Biome
Ocean
Tip
Worth housing if you care about fishing quests, accessories, or completion.

Party Girl
OptionalSells party items and decorations
Unlock
Rare chance after enough NPCs are present
Progression NPCs
These NPCs are tied more directly to bosses, events, exploration, class builds, reforging, wiring, and important utility.

Dryad
UsefulSells purification items and gives world evil status
Unlock
Defeat a qualifying boss, such as Eye of Cthulhu, Eater of Worlds, Brain of Cthulhu, Skeletron, or Queen Bee
Useful Biome
Forest

Arms Dealer
UsefulSells ammo and ranged weapons
Unlock
Have a gun or bullets
Useful Biome
Desert

Goblin Tinkerer
EssentialReforging and accessory combining
Unlock
Rescue after defeating the Goblin Army
Useful Biome
Underground
Tip
One of the most important NPCs in the game. Unlock him as soon as you can.

Mechanic
UsefulSells wires, wrenches, pressure plates, and traps
Unlock
Found in the Dungeon
Useful Biome
Underground

Tavernkeep
UsefulOld One's Army gear, sentries, and Defender Medals
Unlock
Rescue the Unconscious Man after defeating Eater of Worlds or Brain of Cthulhu

Golfer
OptionalSells golf items and golf rewards
Unlock
Found in the Underground Desert
Useful Biome
Desert

Witch Doctor
UsefulSells summoner items and later Jungle wings
Unlock
Defeat Queen Bee
Useful Biome
Jungle
Tip
Important for summoner progression and certain Jungle shop items.

Clothier
UsefulSells vanity items and is tied to Skeletron-related progression
Unlock
Defeat Skeletron
Hardmode NPCs
These NPCs appear after Hardmode progression, special events, biome setup, or later boss milestones.

Wizard
UsefulSells magic items and utility items
Unlock
Found in the Cavern layer during Hardmode

Steampunker
EssentialSells Clentaminator, teleporters, and mechanical-themed items
Unlock
Defeat a Mechanical Boss
Useful Biome
Desert
Tip
The Clentaminator is very useful for managing biome spread.

Tax Collector
UsefulGenerates passive coin income
Unlock
Purify a Tortured Soul in the Underworld

Truffle
EssentialSells mushroom-themed gear and important ranger progression items
Unlock
Build a valid house in a surface Glowing Mushroom biome
Useful Biome
Mushroom
Tip
You need a surface Mushroom biome, not just an underground Mushroom area.

Pirate
UsefulSells pirate weapons and pirate-themed items
Unlock
Defeat the Pirate Invasion

Santa Claus
OptionalSells holiday items
Unlock
Defeat Frost Legion during the Christmas season

Princess
Late GameSells royal items and can fit into many happiness setups
Unlock
Have the other required town NPCs present; Santa Claus and town pets are excluded
Quick NPC Housing Rules
Simple habits that make Terraria NPC housing and town management much easier.
Useful NPC Resources
These resources can help with detailed NPC unlocks, happiness pairings, and housing setup.
Official Terraria NPC Guide
The official wiki.gg reference for NPC unlocks, housing, shops, happiness, and town NPC behavior.
Open ResourceNPC Happiness Guide
A useful wiki.gg reference for NPC biome preferences, neighbor preferences, and happiness setup details.
Open ResourceTerraria Beginner Guide
Use the beginner guide alongside this page if you are still learning shelter, crafting, early progression, and Hardmode prep.
What to Learn Next
Once your towns are set up, these Terraria guides are the best next steps.
Beginner Guide
Learn what to do first, how to build shelter, explore caves, and prepare before Hardmode.
Boss Guide
Use boss progression to understand when major NPCs and utility unlocks become available.
Class Guide
Pair NPC unlocks with class progression so you know which shops and utility NPCs matter most.
Best Overall NPC Housing Advice
Do not overthink NPC housing at the start. Build simple valid rooms, unlock useful NPCs, and keep your main base functional. Once you have more NPCs, start spreading them into smaller biome towns so you can improve happiness, unlock pylons, and travel faster. The most important early priorities are having enough housing, keeping the Guide available for crafting help, unlocking the Merchant and Nurse, and getting the Goblin Tinkerer as soon as possible.

