NPCs
Terraria NPCs and housing: valid houses, who moves in and happiness
Terraria's villagers sell you gear, heal you and unlock whole systems, but only if they have a home they like. Here's what a valid house needs and how to keep them happy.

The short version
- A house needs: a frame of blocks, background walls you placed, a door or platform, a light, a table and a chair, and at least 60 tiles in all.
- Villagers arrive when you meet their condition and have a free house. Since 1.4.5 they can also turn up without one, but they leave at nightfall if they're still homeless.
- Happiness sets their prices: house them in a biome they like, near neighbours they like, and not too crowded.
- Pylons let you teleport between towns. A villager sells one when at least two others live nearby.
What makes a valid house
A house is an enclosed room with a frame of solid blocks (platforms and doors count as part of the frame), filled with background walls that you placed yourself; natural cave walls don't count. Inside you need a light source, such as a torch, something with a flat surface, such as a table or work bench, and something to sit on, such as a chair. There has to be a way in: a door, a trap door or a platform. The room must be at least 60 tiles including its frame, and smaller than 750.
Open the housing menu (the house icon next to your equipment) and use the question mark to check a room. Since 1.4.5 the check shows which part is missing on screen, not just in text. A house also can't sit too close to the Corruption or the Crimson.
Who moves in, and when
| Villager | Moves in when |
|---|---|
| Guide | He's there from the start |
| Merchant | Your party carries more than 50 silver |
| Nurse | Someone has more than 100 health and the Merchant lives in your world |
| Demolitionist | Someone has an explosive and the Merchant lives in your world |
| Arms Dealer | Someone carries a gun or bullets |
| Dryad | You've beaten the Eye of Cthulhu, your world's evil boss or Skeletron |
| Goblin Tinkerer | You find him tied up in the caverns after beating a Goblin Army |
| Witch Doctor | You've beaten the Queen Bee |
| Zoologist | 10% of the Bestiary is filled in |
| Party Girl | A small chance each day once 20 other villagers live in your world (up from 14 before 1.4.5) |
| Steampunker | You've beaten a mechanical boss |
| Cyborg | You've beaten Plantera |
Some villagers (the Angler, Golfer, Stylist, Mechanic, Tavernkeep and Wizard) are found somewhere in the world first: talk to them and they'll move in.
Happiness
Every villager loves, likes, dislikes or hates certain biomes and certain other villagers. Talk to one and choose Happiness to hear what they think. A happy villager sells for less, down to three quarters of the normal price, and pays more for what you sell; an unhappy one charges up to half as much again. Since 1.4.5 each shop shows an icon with how happiness is changing its prices.
Three things matter. Put each villager in a biome they like. Pair them with neighbours they like and keep them away from ones they don't. And don't crowd them: they're happiest with no more than two other villagers within 25 tiles. Small towns of two or three spread across your world usually work better than one big tower.
Pylons
A Pylon lets you teleport to any other Pylon from your map. Each biome has its own, and villagers sell the one for the biome they live in. Since 1.4.5 they sell it however happy they are, as long as at least two other villagers live nearby. Since 1.4.5 you can also use Pylons during boss fights and invasions. A ring of small towns, each with its Pylon, turns a huge world into a short walk.