Happiness is a price multiplier. Every factor below stacks (multiplies), then the final buy price is clamped between 75% (best) and 150% (worst). Selling is the inverse. Only one biome counts: the one you are standing in when you talk to them (in two at once, the one they like best). Happiness also sets the Tax Collector's payout and the Angler's reward quality.
| Factor | Effect on buy price |
| Loved biome / loved neighbor | ×0.88 each |
| Liked biome / liked neighbor | ×0.94 each |
| Disliked biome / disliked neighbor | ×1.06 each |
| Hated biome / hated neighbor | ×1.12 each |
| Solitude bonus | ×0.95 — ≤2 NPCs within 25 tiles & ≤3 within 25–120 |
| Crowding penalty | ×1.05 — per NPC beyond the 3rd within 25 tiles |
| Homeless / >120 tiles from home / in Corruption-Crimson-Dungeon | forced to 150% |
The simple recipe: put an NPC in a biome they like, next to one or two neighbors they like, in a small group of 2–3. That hits the solitude bonus, dodges crowding, and lands prices near the 75% floor. The Princess is the cheat code — every NPC likes her and she hates no one, so she's perfect filler.
If you read an older guide, ignore the "get happiness above 90% to unlock the Pylon" rule — that requirement was removed in 1.4.5.
Since 1.4.5, happiness no longer gates Pylons. Any NPC with a shop sells the Pylon for the biome you're standing in, once two villagers live near you (the seller counts; town pets and the Old Man count too). The Guide, Nurse, Angler, Tax Collector and Old Man have no shop, and the Tavernkeep, Traveling Merchant and Skeleton Merchant never sell one. Nothing is sold in the Corruption or Crimson. Placing a Pylon needs no NPCs; teleporting needs two living near the Pylon at each end, and the Universal Pylon needs none. So chase happiness for the discount, not the Pylon.
Terraria NPC Happiness FAQ
How does NPC happiness work?
Each NPC has a liked and a disliked biome plus loved, liked, disliked and hated neighbors. House them in their liked biome next to neighbors they like, keep the crowd small, and their prices drop toward the 75% floor; a disliked biome and hated neighbors push them toward the 150% ceiling. Happiness also sets the Tax Collector's payout and the quality of the Angler's quest rewards. It used to gate Pylons too; 1.4.5 removed that.
Do you still need happiness for Pylons?
No. Since 1.4.5.0 Pylons sell whatever the seller's happiness. Any NPC with a shop offers the Pylon for the biome you're standing in, once two villagers live near you (the seller counts). The Guide, Nurse, Angler, Tax Collector and Old Man have no shop, and the Tavernkeep, Traveling Merchant and Skeleton Merchant never sell one. Nothing is sold while you stand in the Corruption or Crimson. Placing a Pylon needs no NPCs; teleporting needs two living near the Pylon at each end, and the Universal Pylon needs none.
What's the best happiness setup?
Pair NPCs who like each other in a biome they like, in groups of two or three, so you get the solitude bonus and dodge the crowding penalty. Pairs that work: Arms Dealer + Nurse in the Desert (they love each other and he likes the Desert), Witch Doctor + Dryad in the Jungle (they like each other and both like the Jungle), and Goblin Tinkerer + Mechanic underground in the Snow biome (they love each other, and down there each gets a liked biome). Keep the Truffle and the Witch Doctor apart: they hate each other. The Princess is liked by every NPC and dislikes no one, so she's filler anywhere.
Which biome does each NPC like?
It varies per NPC: the Guide, Merchant, Zoologist and Golfer like the Forest; the Arms Dealer, Dye Trader and Steampunker the Desert; the Demolitionist, Goblin Tinkerer and Clothier the Underground; the Nurse, Tavernkeep, Party Girl and Wizard the Hallow. Only Santa Claus loves a biome (Snow). Only one biome counts at a time: the one you're standing in when you talk to them. Tap an NPC in the picker for theirs.
Why is the Princess special?
She has no biome preference, every other NPC likes her, and she dislikes and hates no one. She loves up to three of her neighbors, picked at random. Her one hate is being lonely: with fewer than two neighbors, near or across town, her prices go to the maximum. A crowd doesn't raise her prices. That makes her the most flexible happiness booster in the game.