In short
- Terraria NPC happiness sets shop prices between 75% and 150% of base, and sell values between 133% and 67%.
- Liked biomes and neighbors cut the price, and three or fewer neighbors within 25 tiles is the safe count.
- Since 1.4.5.0, pylons are sold regardless of happiness.
Checked against: Terraria Wiki Happiness and Pylons pages and the 1.4.5.0 patch notes.
A June 2026 guide from XGamingServer still says happiness decides whether an NPC will sell you a biome pylon. It stopped doing that in patch 1.4.5.0 (27 January 2026): the wiki’s patch notes say pylons are sold “regardless of how happy they are,” as long as at least two other NPCs are nearby. What happiness still controls is money. Every NPC’s shop prices run from 75% to 150% of base, and what they pay for your loot from 67% to 133%, so a well-placed Goblin Tinkerer is a real discount on every reforge.
This is a spoke of our Terraria progression guide: how a price is actually built, which biome and neighbors each NPC wants, and the layouts that reach the floor. Numbers come from the Terraria Wiki (Desktop 1.4.5.8, released 23 August 2026, checked 15 November 2026). We rebuilt the wiki’s recommended town layouts from the per-NPC data and our arithmetic reproduced all 23 values we could test. We did not test any of it in game.
What happiness changes (and what it no longer does)
Happiness changes prices and a few payouts, not what you can access. The table lists everything the wiki ties to it, so you can spend effort on the NPCs where it matters.
| What | Effect of happiness | Detail |
|---|---|---|
| Shop prices | 75% to 150% of base | Selling to an NPC runs 133% down to 67% of normal value |
| Nurse | Her price moves within 75% to 150% | Happiness changes what she charges, not whether she heals |
| Goblin Tinkerer | Changes the reforge cost | The base cost is one third of the item’s value |
| Tax Collector | Income and storage are divided by his price factor | 33 to 66 copper per minute; storage limit 16g 66s 66c up to 33g 33s 33c |
| Angler quests | Chances of the main, decoration and bait rewards | Not coins. A bait reward is guaranteed after 34 quests at best happiness, 58 at worst |
| Pylons | Nothing, since 1.4.5.0 | Each vendor still needs other NPCs nearby (the 1.4.5.0 notes say at least two; the Pylons page says another NPC) |
| The Guide | Nothing | The wiki: “no downsides” to him being unhappy |
The one that surprises people is the Tax Collector: his storage limit doubles between the worst and best case, so an unhappy Tax Collector can hold only half as much as a happy one. The wiki also lists a Remix-seed exception: there happiness is disabled and every modifier is 100%.
Quick start: a cheap town in six steps
- Give every NPC a house first. A homeless NPC, one more than 120 tiles from its house, or one standing in the Dungeon, Corruption or Crimson is forced to the worst modifier: 150% buying, 67% selling.
- Open an NPC’s dialogue and pick Happiness. It names what makes them happy or unhappy but not the fix, so use the tables below. Shops also show an icon and the exact modifier (the 1.4.5.0 indicator; thresholds at 82%, 100% and 110%).
- Put the house in a biome the NPC likes, and stand in that biome when you shop: the wiki says the biome that counts is the player’s, not the house’s (we did not test this).
- Pair NPCs that love each other: Nurse with Arms Dealer, Demolitionist with Tavernkeep, Goblin Tinkerer with Mechanic. Those three pairs are the only mutual loves in the data.
- Keep each house to two other NPCs within 25 tiles for the solitude bonus, and avoid placing a disliked or hated NPC inside that radius.
- Reopen the dialogue after any change. The wiki says happiness is computed when the chat window opens.
How a price is built: the multipliers
Every factor multiplies, and the total is clamped to 75% to 150% when buying and 67% to 133% when selling. These are the wiki’s values; each NPC applies one per neighbor within 25 tiles and one for the biome.
| Factor | You pay | You are paid |
|---|---|---|
| Loved biome or neighbor | 88% | 114% |
| Liked biome or neighbor | 94% | 106% |
| Disliked biome or neighbor | 106% | 94% |
| Hated biome or neighbor | 112% | 89% |
| Solitude bonus | 95% | 105% |
| Each crowding penalty | 105% | 95% |
| Lovestruck (Love Potion) | 90% | 111% |
The takeaway: two loved factors plus solitude already reach the 75% floor, so chasing a third is wasted work. Here is the arithmetic on four NPCs, with the wiki’s own guide figure beside it. The final value rounds to the nearest 1%.
| NPC and setup | Our arithmetic | Price (wiki guide) |
|---|---|---|
| Goblin Tinkerer, Underground Snow, with Mechanic and Princess | 0.88 love × 0.94 cave × 0.94 Princess × 0.95 solitude = 0.739, below the floor | 75% (75%) |
| Pirate, Ocean, with Angler and Stylist | 0.88 love × 0.94 biome × 1.06 Stylist × 0.95 = 0.833 | 83% (83%) |
| Truffle, Glowing Mushroom, with Guide and Clothier | 0.88 love × 0.94 biome × 1.06 Clothier × 0.95 = 0.833 | 83% (83%) |
| Tax Collector, Snow, alone | 0.94 biome × 0.95 solitude = 0.893 | 89% (89%) |
We ran every NPC in the wiki guide’s Desert, Snow, Hallow, Underground Hallow, Jungle, Ocean, Mushroom and Underground Snow groups through this method and got the same modifier to the percent in all 23 cases. The one number we could not recompute is the Princess’s 0.77, because her page publishes no preference table. The wiki’s own preferences page warns that its source data is old and may contain errors, so this match is the strongest check we have on the per-NPC data below.
Biomes: stand where they like it
Forest is the safe default; Desert and the caves have more critics than fans, and Snow has as many as it has fans once Santa Claus is counted. The wiki’s Happiness page says biome preferences use the biome the player is in, not the one the NPC’s house is in, and that in a hybrid biome a loved or liked biome beats a disliked or hated one. The Oasis counts as Desert, and a Graveyard does not affect happiness. We did not test the player-biome rule: if you can, open the same shop at the door and again 50 tiles away and compare the price icon.
That hybrid rule is why Underground Snow works for the Mechanic, who likes Snow and dislikes caves: the liked biome wins. Our biomes guide covers the biomes themselves. Of the 25 NPCs with a preference table, 23 both like one biome and dislike another, so the chart below is worth a glance before you place a house.

Counting the chart: Forest has four fans (Guide, Merchant, Zoologist, Golfer) and two critics (Dye Trader, Painter). Counting Santa Claus, who loves Snow and hates Desert: Desert has three fans against five critics, Snow four against four, and the caves three against four. Only Forest and the Hallow (four fans, three critics) come out ahead.
Neighbors: the 25-tile rule
Distance is measured in a straight line from each NPC’s home tile, and “nearby” means within 25 tiles. The solitude bonus needs no more than two other NPCs within 25 tiles and no more than three others between 25 and 120 tiles. A homeless NPC is measured from where it stands. Town pets count as NPCs for pylons but not for happiness.
| Other NPCs within 25 tiles | Factor (buy) | Why |
|---|---|---|
| 0 to 2 | × 0.95 | Solitude bonus, if no more than three others sit 25 to 120 tiles away |
| 3 | × 1.00 | Neither bonus nor penalty |
| More than 3 | × 1.05 each | Crowding penalty from the fourth NPC onward |
Treat the exact count as “three is the last free number.” The wiki’s rules text says “fourth, fifth, etc. NPC within 25 tiles,” its history says the threshold rose from 4 to 5 in 1.4.3.3, and its guide says “more than three”; we could not settle the counting from the pages alone.
Where sources disagree: the distances. The wiki’s history lists 1.4.1 as doubling them to 50 and 240 tiles, but its 1.4.1.2 notes say that increase was “returned to 1.4 levels.” The rules text and the guide still use 25 and 120, so we used those. If you build near the edge of a ring, leave a margin.
The Princess is liked by every NPC, so she is worth 0.94 to anyone nearby, but she also counts as a neighbor. Pirate with Angler alone is 0.786; add the Princess as a second neighbor and it is 0.739, which the floor lifts to 75%. Add her as a third neighbor, though, and she trades the 0.95 solitude bonus for 0.94: Merchant in Forest with Golfer and Nurse goes from 79% to 78%, a single point.
The table gives each NPC’s neighbors. Every NPC likes the Princess, so she is left out. Names in bold are loved.
| NPC | Loves and likes | Dislikes and hates |
|---|---|---|
| Guide | Clothier, Zoologist | Steampunker, Painter (hates) |
| Merchant | Golfer, Nurse | Tax Collector, Angler (hates) |
| Nurse | Arms Dealer, Wizard | Party Girl, Dryad, Zoologist (hates) |
| Demolitionist | Tavernkeep, Mechanic | Goblin Tinkerer, Arms Dealer |
| Dye Trader | Arms Dealer, Painter | Steampunker, Pirate (hates) |
| Angler | Party Girl, Demolitionist, Tax Collector | Tavernkeep (hates) |
| Zoologist | Witch Doctor, Golfer | Angler, Arms Dealer (hates) |
| Dryad | Witch Doctor, Truffle | Angler, Golfer (hates) |
| Painter | Dryad, Party Girl | Cyborg, Truffle |
| Golfer | Angler, Painter, Zoologist | Pirate, Merchant (hates) |
| Arms Dealer | Nurse, Steampunker | Golfer, Demolitionist (hates) |
| Tavernkeep | Demolitionist, Goblin Tinkerer | Guide, Dye Trader (hates) |
| Stylist | Dye Trader, Pirate | Tavernkeep, Goblin Tinkerer (hates) |
| Goblin Tinkerer | Mechanic, Dye Trader | Clothier, Stylist (hates) |
| Witch Doctor | Dryad, Guide | Nurse, Truffle (hates) |
| Clothier | Truffle, Tax Collector | Nurse, Mechanic (hates) |
| Mechanic | Goblin Tinkerer, Cyborg | Arms Dealer, Clothier (hates) |
| Party Girl | Wizard, Zoologist, Stylist | Merchant, Tax Collector (hates) |
| Wizard | Golfer, Merchant | Witch Doctor, Cyborg (hates) |
| Tax Collector | Merchant, Party Girl | Demolitionist, Mechanic, Santa Claus (hates) |
| Truffle | Guide, Dryad | Clothier, Witch Doctor (hates) |
| Pirate | Angler, Tavernkeep | Stylist, Guide (hates) |
| Steampunker | Cyborg, Painter | Party Girl, Wizard, Dryad |
| Cyborg | Stylist, Pirate, Steampunker | Zoologist, Wizard (hates) |
| Santa Claus | only the Princess | Tax Collector (hates) |
Each row comes from that NPC’s own wiki page, fetched on 15 November 2026.
Layouts that reach the floor
Build the groups below and you get the wiki guide’s prices, which our arithmetic reproduced (we left out its Forest groups, and prices assume you shop while standing in the listed biome). The guide says its calculator maximized the Goblin Tinkerer’s importance first and then minimized the average modifier, which is why he gets the floor. Keep two groups that share a biome at least 120 tiles apart, per the guide. It is labelled 1.4.4.9 and says it predates the 1.4.5 Aether and Underworld pylons. It also picks some groups to reach a given biome’s pylon; with happiness no longer gating pylons, only the two-NPC rule applies to that choice.
| Where | Who lives together | Price |
|---|---|---|
| Underground Snow | Goblin Tinkerer, Mechanic, Princess | 75%, 75%, 77% |
| Desert | Nurse, Dye Trader, Arms Dealer | 84%, 84%, 79% |
| Desert or Snow | Steampunker, Cyborg | Desert 79%, 89%; Snow 84%, 84% |
| Hallow | Party Girl, Wizard | 79%, 89% |
| Underground Hallow | Tavernkeep, Demolitionist | 79%, 79% |
| Jungle | Dryad, Painter, Witch Doctor | 84%, 79%, 84% |
| Ocean | Stylist, Angler, Pirate | 84%, 89%, 83% |
| Glowing Mushroom | Guide, Clothier, Truffle | 89%, 84%, 83% |
| Snow, alone | Tax Collector | 89% |
Most of these NPCs arrive late: the wiki’s NPC list puts the Wizard, Tax Collector, Truffle, Pirate, Steampunker, Cyborg, Santa Claus and Princess in its Hardmode group. The Princess only moves in once every other NPC except Santa Claus is present, and the Cyborg only spawns after Plantera. So the finished layout above is a Hardmode project; the Hardmode guide covers what to do first, and the order of bosses that unlock these NPCs is in all Terraria bosses in order.
What the swing is worth
The same Merchant and the same item look very different depending on where he lives and who is next door. The chart uses the multipliers above, with an item that costs 10 gold at 100%.

An unhappy Merchant (Desert, with a disliked Tax Collector and a hated Angler) charges 12 gold for the item, a happy one (Forest, with Golfer and Nurse) 7 gold 90 silver, and the forced maximum is 15. The Golfer hates the Merchant, so check the Golfer’s own modifier before you copy this layout. On the selling side that same happy Merchant pays 125% of the normal value. The gap between unhappy and happy buying is 4 gold 10 silver on a 10-gold item, 41 points. That is why a homeless or evil-biome NPC, which sits at the 150% maximum, is the first thing to fix, ahead of a missing 6% neighbor bonus.
Which fix, in what order
| If you are… | Do this |
|---|---|
| New to town building | House everyone, cluster the Forest-liking NPCs (Guide, Zoologist, Golfer), keep the Merchant 25 or more tiles from the Golfer, who hates him, and ignore the Guide’s mood. Do not move anyone for a few percentage points. |
| Casual, pre-Hardmode | Pair the three mutual loves, and move any NPC whose Happiness dialogue complains about the biome. Stop at roughly 79% to 89%. |
| Optimizer | Goblin Tinkerer and Mechanic in Underground Snow with the Princess for the 75% floor, two neighbors per house, and a 120-tile gap between groups that share a biome. |
| Completionist | Read each NPC’s Happiness dialogue and match it against the tables above. Santa Claus hates Desert and the Tax Collector, so keep him away from both. |
Your next step
Open the Happiness dialogue for the Goblin Tinkerer and the Nurse today and fix whichever one is furthest from its floor, then work down the table. When the town is settled, return to the progression guide for the next boss checkpoint.
FAQ
Do I need happy NPCs to buy pylons in 1.4.5?
No. The 1.4.5.0 notes removed the minimum happiness for pylons, a threshold that stood at 0.9 after 1.4.3.3. The main condition left is that the vendor has other NPCs nearby (the notes say at least two), plus the usual vendor and evil-biome limits, so spend your effort on prices and not on access.
Is it worth chasing the 75% floor for everyone?
No. The gap between 84% and 75% is nine points, and it only matters for NPCs you spend real money with: the Goblin Tinkerer for reforging, the Nurse, and the Tax Collector, whose storage limit doubles between the worst and best case. Everyone else can sit at 89% or better and cost you nothing noticeable.
Why is an NPC stuck at 150%?
Check the forced-maximum cases first: homeless, more than 120 tiles from the house, or in the Dungeon, Corruption or Crimson. Those override every like and love, so no amount of neighbor tuning fixes them.
Does the Guide’s happiness matter?
No. The wiki says there are no downsides to leaving him unhappy, so house him wherever there is room. Other NPCs do have opinions about him (the Truffle loves him, the Pirate hates him), so check who is next door.
Sources
- Terraria Wiki. Happiness. Wiki.gg (Desktop 1.4.5.8 data; checked 15 November 2026)
- Terraria Wiki. 1.4.5.0 patch notes, released 27 January 2026. Wiki.gg
- Terraria Wiki. 1.4.1.2 patch notes. Wiki.gg
- Terraria Wiki. Pylons. Wiki.gg
- Terraria Wiki. Guide: NPC Happiness (layouts labelled 1.4.4.9). Wiki.gg
- Terraria Wiki. NPCs/preferences. Wiki.gg
- Terraria Wiki. NPCs. Wiki.gg
- Terraria Wiki. Desktop version history. Wiki.gg
- Terraria Wiki. Tax Collector. Wiki.gg
- Terraria Wiki. Angler. Wiki.gg
- Terraria Wiki. Nurse. Wiki.gg
- Terraria Wiki. Goblin Tinkerer. Wiki.gg
- Terraria Wiki. Princess. Wiki.gg
- Terraria Wiki. Guide (NPC). Wiki.gg
- XGamingServer. Terraria NPC Happiness Guide: Best Biomes, Pairings & Pylons. 10 June 2026
- Terraria Wiki. Living preferences on each town NPC page: Guide, Merchant, Nurse, Demolitionist, Dye Trader, Angler, Zoologist, Dryad, Painter, Golfer, Arms Dealer, Tavernkeep, Stylist, Goblin Tinkerer, Witch Doctor, Clothier, Mechanic, Party Girl, Wizard, Tax Collector, Truffle, Pirate, Steampunker, Cyborg, Santa Claus. Wiki.gg
I've been playing video games for over 20 years, spanning everything from early PC titles to modern open-world games. I started Switchblade Gaming to publish the kind of accurate, well-researched guides I always wanted to find — built on primary sources, tested in-game, and kept up to date after patches. I currently focus on Minecraft and Pokémon GO.
