Want to know how to unlock Terraria NPCs and keep them happy? Don't worry, we've got everything you need to know right here. It might seem like a simple task, but working out how to unlock these NPCs and then subsequently keeping them happy can seem like a pretty large task, even if you're several hours deep into your latest sandbox adventure.
We've got all the info you need, plus we run through Terraria NPC house sizes and explain the Terraria NPC happiness chart so you know exactly what's going on at all times with your pixelated pals.
Here's everything you need to know about Terraria NPCs.
What are the Terraria NPC living requirements?
If you complete the criteria required for an NPC to move in and they don't, it means you don't have enough rooms - your friend needs somewhere to put their stuff and sleep. Therefore, they won't live with you until you make room for them. However, there are numerous things to consider when creating the perfect space:
- Terraria NPCs are happiest when they have a living space consisting of 60 blocks or more, though anything too large is liable to upset them
- Add an entrance to their room, such as an easily-accessible door
- Build walls to turn it into a proper living space
- Be sure to add at least one source of light
- Terraria NPCs also appreciate a bit of furniture, including a chair and table

How do I get all normal Terraria NPCs?
There are dozens of Terraria NPCs to add to your town over the course of the game. Some are easy to unlock and appear in the early game, while others show up later and take considerably more effort to unlock, requiring specific items or even the defeat of a boss. Below is a list of all the Terraria NPCs you can unlock before hardmode.
| Name | How to get | Benefits/perks | Biome | Neighbor |
| Guide | start of new world | explains game mechanics, how to unlock NPCs and what items do | Likes: Forest Dislikes: Ocean |
Likes: Clothier, Princess, Zoologist Dislikes: Steampunker, Painter (hate) |
| Merchant | get 50 silver coins | sells basic items | Likes: Forest Dislikes: Desert |
Likes: Golfer, Princess, Nurse Dislikes: Tax Collector, Angler (hate) |
| Zoologist | fill ten percent of beastiary | sells varied items including vanity, pet, and mount cosmetics | Likes: Forest Dislikes: Desert |
Likes: Witch Doctor (love), Golfer, Princess Dislikes: Angler, Arms Dealer (hate) |
| Golfer | find him in underground desert | sells golfing equipment, like balls and clubs | Likes: Forest Dislikes: Underground |
Likes: Angler (love), Painter, Princess, Zoologist Dislikes: Pirate, Merchant (hate) |
| Nurse | acquire more than 100 health points | can be paid to get rid of debuffs and heal you | Likes: Hallow Dislikes: Snow |
Likes: Arms Dealer (love), Princess, Wizard Dislikes: Dryad, Party Girl, Zoologist (hate) |
| Tavernkeep | defeat Brain of Cthulhu or Eater of Worlds | sells items that will aid your battle against the Old One's army, which can be purchased with defender medals | Likes: Hallow Dislikes: Snow |
Likes: Demolitionist (love), Goblin Tinkerer, Princess Dislikes: Guide, Dye Trader (hate) |
| Demolitionist | carry an explosive item | sells explosives | Likes: Underground Dislikes: Ocean |
Likes: Tavernkeep (love), Mechanic, Princess Dislikes: Arms Dealer, Goblin Tinkerer |
| Goblin Tinkerer | beat goblin invasion and talk to them in cavern layer | reforge and sell items | Likes: Underground Dislikes: Jungle |
Likes: Mechanic (love), Dye Trader, Princess Dislikes: Clothier, Stylist (hate) |
| Clothier | defeat Skeletron | sells special cosmetic items | Likes: Underground Dislikes: Hallow |
Likes: Truffle (love), Princess, Tax Collector Dislikes: Nurse, Mechanic (hate) |
| Dye Trader | dye item in inventory | trades special dyes and sells dye vat crafting station | Likes: Desert Dislikes: Forest |
Likes: Arms Dealer, Painter, Princess Dislikes: Steampunker, Pirate (hate) |
| Arms Dealer | gun or bullets in inventory | sells guns and ammo | Likes: Desert Dislikes: Snow |
Likes: Nurse (love), Steampunker, Princess Dislikes: Golfer, Demolitionist (hate) |
| Dryad | killed a boss other than Wall of Flesh or Slime King | sells nature and corruption, or crimson items, can tell you current level of corruption, crimson, hallow in world | Likes: Jungle Dislikes: Desert |
Likes: Truffle, Princess, Witch Doctor Dislikes: Angler, Golfer (hate) |
| Painter | unlock eight Terraria NPCs | sells paints, paintings, painting tools and more | Likes: Jungle Dislikes: Forest |
Likes: Dryad (love), Party Girl, Princess Dislikes: Cyborg, Truffle |
| Witch Doctor | defeat Queen Bee | sells variety of items, including fountains, summoner items, imbuing station, blowgun | Likes: Jungle Dislikes: Hallow |
Likes: Guide, Princess, Dryad Dislikes: Nurse, Truffle (hate) |
| Stylist | find in spider cave | sells hair dyes and can change hairdo | Likes: Ocean Dislikes: Snow |
Likes: Dye Trader (love), Pirate, Princess Dislikes: Tavernkeep, Goblin Tinkerer (hate) |
| Angler | find in ocean biome | offers fishing missions for rewards | Likes: Ocean Dislikes: Desert |
Likes: Princess, Party Girl, Demolitionist, Tax Collector Dislikes: Tavernkeep (hate) |
| Mechanic | found in dungeon area | sells wire, the wrench and other items | Likes: Snow Dislikes: Underground |
Likes: Goblin Tinkerer (love), Cyborg, Princess Dislikes: Arms Dealer, Clothier (hate) |
| Party Girl | 1/40 chance to appear after 14 Terraria NPCs acquired | sells colorful novelty items with flashy effects | Likes: Hallow Dislikes: Underground |
Likes: Wizard (love), Zoologist (love), Stylist, Princess Dislikes: Merchant, Tax Collector (hate) |
How do you get all Hardmode Terraria NPCs?
NPCs that appear in hardmode cannot be accessed until you unlock that game mode by defeating the Wall of Flesh boss.
| Name | How to get | Benefits/perks | Biome | Neighbor |
| Wizard | found in cavern layer | sells magical items | Likes: Hallow Dislikes: Ocean |
Likes: Golfer (love), Merchant, Princess Dislikes: Witch Doctor, Cyborg (hate) |
| Princess | acquiring every other Terraria NPC (except pets and Santa Claus) | sells regal cosmetic items | Likes: none Dislikes: none |
Likes: all (love) Dislikes: none |
| Cyborg | defeat Plantera | sells futuristic items and weapons, including rockets and nanites | Likes: Snow Dislikes: Jungle |
Likes: Pirate, Stylist, Princess, Steampunker Dislikes: Zoologist, Wizard (hate) |
| Santa Claus | defeat Frost Legion in winter (December 15 to 31) | sells festive items, including decorations and Santa outfit | Likes: Snow Dislikes: Desert |
Likes: Princess Dislikes: Tax Collector (hate) |
| Tax Collector | transform tortured soul with Dryad's purification power | collect 50 copper coins from all NPCs in town, gives them all to you | Likes: Snow Dislikes: Hallow |
Likes: Merchant (love), Princess, Party Girl Dislikes: Demolitionist, Mechanic, Santa Claus (hate) |
| Truffle | build a house in glowing mushroom biome | sells mushroom-themed items, including mushroom spear | Likes: mushroom Dislikes: none |
Likes: Guide (love), Dryad, Princess Dislikes: Clothier, Witch Doctor (hate) |
| Steampunker | defeat Skeletron Prime, The Destroyer, or the Twins | sells teleporter, jetpack and other useful items | Likes: Desert Dislikes: Jungle |
Likes: Cyborg (love), Painter, Princess Dislikes: Dryad, Wizard, Party Girl |
| Pirate | defeat pirate invasion | sells pirate-themed items, including a cannon | Likes: Ocean Dislikes: Underground |
Likes: Angler (love), Tavernkeep, Princess Dislikes: Stylist, Guide (hate) |
How do you get all town pet Terraria NPCs?
There are three town pet Terraria NPCs for you to collect in total. They do not have biome or neighbor preferences, though they do count as town NPCs, therefore reducing the spawn rate of enemies in the area. Plus, who doesn't want pixelated pets?
Town cat
Town Cat will appear when you purchase the cat license from the Zoologist, which only becomes available once you've filled out ten percent of the Bestiary. There are six breeds of cat in Terraria, including Siamese, Black, Russian Blue, Orange Tabby, Silver, and White.
Town dog
Town Dog will appear when you purchase the dog license from the Zoologist, which only becomes available once you've filled out 25% of the Bestiary. There are six dog breeds in Terraria, including Corgi, Dalmatian, Pit Bull, Labrador, Beagle, and Husky.
Town bunny
Town Bunny will appear when you purchase the bunny license from the Zoologist, which only becomes available once you've filled out 45% of the Bestiary. Like the other two pets, there are six species of Rabbit in Terraria, and they are White, Flemish, Angora, Dutch, Silver, and Lop.
What is the NPC Happiness chart?
Listen, you can't please everyone. As much as we'd love to keep everyone on our side, keeping all of the Terraria NPCs happy is no mean feat. It's a precarious balancing act that is sure to test your patience at times. NPCs in Terraria tend to like people who don't like the same biomes as them, and this means certain NPCs will end up with neighbors they don't particularly like. We've all been there. Pylons can also put NPCs in a bad mood, which can make it difficult to set up a network.
Below is a table suggesting one close-to-optimal solution for most of your NPC needs, that should help you maximize average happiness across the board. Be sure that there are, at most, two other NPCs within 25 tiles of NPC A, and at most three other NPCs between 25 and 120 tiles away, and be wary of how close you place your pylons to their humble homes.
| NPC A | NPC B | Biome | Price modifier for NPC A |
| Zoologist | Golfer | Forest | 84% |
| Golfer | Zoologist | Forest | 84% |
| Merchant | - | Forest | 89% |
| Nurse | Arms Dealer | Desert | 84% |
| Arms Dealer | Nurse | Desert | 79% |
| Tavernkeep | Demolitionist | Underground/The Underworld/Cavern | 84% |
| Demolitionist | Tavernkeep | Underground/The Underworld/Cavern | 79% |
| Tax Collector | Clothier | Underground/The Underworld/Cavern | 95% |
| Clothier | Tax Collector | Underground/The Underworld/Cavern | 84% |
| Party Girl | Wizard | The Hallow | 79% |
| Wizard | Party Girl | The Hallow | 89% |
| Mechanic | Goblin Tinkerer | Snow Biome | 79% |
| Goblin Tinkerer | Mechanic | Snow Biome | 84% |
| Steampunker | Cyborg | Snow Biome | 84% |
| Santa Claus | - | Snow Biome | 84% |
| Dryad | Witch Doctor | Jungle | 84% |
| Witch Doctor | Dryad | Jungle | 84% |
| Painter | - | Jungle | 89% |
| Angler | Pirate | Ocean | 89% |
| Pirate | Angler | Ocean | 79% |
| Dye Trader | Stylist | Ocean | 95% |
| Stylist | Dye Trader | Ocean | 70% |
| Guide | Truffle | Glowing Mushroom Biome | 95% |
| Truffle | Guide | Glowing Mushroom Biome | 79% |
And that's it for our Terraria NPCs guide. Now that your pals have somewhere to go, and they're happy about it, you should find everything a lot easier.

