Home
How to Build Valid NPC Houses in Terraria
Constructing a functional house is one of the earliest and most critical progression milestones in Terraria. Without valid housing, Town NPCs cannot spawn, preventing access to essential shops, healing services, and the teleportation network provided by Pylons. While the game allows for immense creative freedom, every structure must adhere to a rigid set of internal rules to be recognized as a "Home."
Quick Requirements for a Valid Terraria NPC House
To create a basic, functional room that passes the game's validity check, follow these standard specifications:
- Internal Size: A minimum of 60 total tiles (including the frame) and a maximum of 750 tiles. A common and efficient size is 10 blocks wide by 6 blocks high.
- Frame: Fully enclosed by solid blocks, platforms, or doors.
- Background Walls: Must be placed by the player. Naturally occurring walls (like dirt in caves) are invalid.
- Entrance: At least one door, trap door, or platform.
- Furniture: One "Light Source" (Torch), one "Flat Surface" (Table/Workbench), and one "Comfort Item" (Chair).
- The Standing Tile: At least one solid block for the NPC to stand on at night, separate from the walls.
Technical Standards for Housing Frames and Dimensions
Terraria calculates housing validity based on the total area occupied by the structure's frame and its interior air blocks. Understanding the math behind these dimensions helps avoid the "This house is too small" or "This house is too big" errors.
Minimum and Maximum Size
The total tile count of a house includes the floor, ceiling, side walls, and all air space inside. The absolute minimum is 60 tiles. If you are building a standard rectangular room with blocks on all four sides:
- A 6x10 exterior frame results in 60 tiles (valid).
- A 5x12 exterior frame results in 60 tiles (valid).
- A 3x15 interior (5x17 exterior) is often used for "NPC Prisons" to save space.
Structures exceeding 750 tiles are considered "too large" and will not be recognized as a room. This is rarely an issue unless you are building a massive hollowed-out castle hall without dividing it into sub-rooms.
Enclosure and Entrances
The house must be entirely sealed. This doesn't mean it needs four solid walls; platforms are considered "valid door" substitutes and "valid floor" substitutes.
- Doors: The standard entry point. They require 3 vertical tiles of space to open.
- Platforms: These are highly versatile. You can use platforms for the entire floor or ceiling. However, if the entire floor is platforms, the house will fail because of the "Standing Tile" requirement.
- Gates and Trap Doors: These function identically to doors for the purpose of housing validity.
The Necessity of Player-Placed Background Walls
One of the most frequent mistakes made by new players is attempting to use a natural cave or a pre-generated ruin as a home without replacing the background.
Why Natural Walls Fail
Terraria distinguishes between "unsafe" (naturally generated) and "safe" (player-placed) walls. Unsafe walls allow enemies to spawn and do not count toward housing requirements. Even if a ruin looks like it has stone or wood walls, you must break them with a hammer and replace them with walls you have crafted or purchased.
Exceptions and Gaps
A house does not need a 100% solid background. You are permitted to have small "windows" or gaps in the background walls. These gaps cannot be larger than 4 tiles wide or high. If a gap exceeds 4 tiles, the game perceives the room as "open to the elements," and it will be deemed invalid.
Essential Furniture and Interior Assets
A valid house requires three distinct categories of items. While most players default to a Torch, Table, and Chair, the game accepts a wide variety of alternatives.
1. Light Sources
Every room must have at least one functional light source. Valid items include:
- Torches (any variety, including biome-specific).
- Candles and Candelabras.
- Chandeliers and Lanterns.
- Fireplaces and Tiki Torches.
- Jack 'O Lanterns or Star in a Bottle.
- Note: Items that emit light but aren't furniture (like Glowsticks or Lava) do not count.
2. Flat Surface Items
This item represents a place for the NPC to work or store items. Valid choices include:
- Workbenches (the most common early-game choice).
- Tables (Wood, Stone, etc.).
- Dressers.
- Bookcases.
- Pianos.
- Bathtubs (strangely, these are considered flat surfaces).
3. Comfort Items
The comfort item is where the NPC ostensibly rests. Valid choices include:
- Chairs (the standard).
- Beds (also allows the player to set a spawn point).
- Sofas and Benches.
- Thrones.
- Toilets.
The "Home Tile" Logic: Why Your Valid House is "Not Valid"
Sometimes, a room has the right size, walls, and furniture, but the Housing Menu still says: "This is not valid housing." This is almost always due to the Home Tile requirement.
An NPC needs a specific 2x3 space to stand in at night. For this to work:
- Solid Ground: There must be at least one solid block (not a platform) that is not immediately adjacent to the side walls.
- No Obstructions: The space directly above this solid block must be clear of furniture that blocks movement (though some background furniture is fine).
- Distance: If you place a chest or a table directly on the only solid block in a room otherwise made of platforms, the NPC has nowhere to stand.
To fix this, ensure at least two solid blocks are placed in the floor, preferably away from the doors.
Environmental Factors and Biome Interference
Even a perfectly built house can become uninhabitable if the surrounding environment changes.
Corruption and Crimson Influence
NPCs will refuse to live in or near the Corruption or the Crimson. As these biomes spread, they can "corrupt" existing housing.
- The Evil Score: The game calculates an "Evil Score" for the area around a house. If there are too many Corrupted/Crimson blocks within a 50-block radius, the house becomes invalid.
- The Hallow: Interestingly, the Hallow does not invalidate housing. Many players move their NPCs to the Hallow in Hardmode to protect them from the spread of Corruption.
- Sunflowers: Planting Sunflowers can slightly reduce the "Evil Score" of a nearby area, potentially keeping a house valid on the edge of a biome.
True World Edges
Housing cannot be built within 10 tiles of the true edges of the world (the boundaries beyond the ocean). Attempting to build here will result in a failure message.
How to Use the Housing Menu for Troubleshooting
The game provides a built-in tool to identify exactly why a house isn't working.
- Open your Inventory.
- Look to the right side above your armor slots and click the Housing icon (looks like a small house).
- Select the Housing Query (the Question Mark icon).
- Click inside any room.
The game will provide a status message in the bottom-left chat log:
- "This housing is suitable": Everything is perfect.
- "This room is missing a light source": Self-explanatory.
- "This is not valid housing": Usually means a hole in the frame, natural walls, or no "Home Tile" standing space.
- "This housing is corrupted": The Corruption/Crimson is too close.
Unlocking the Residents: NPC Spawn Requirements
Building the house is only half the battle. Each NPC has a specific world-state requirement that must be met before they will move into an empty room.
Pre-Hardmode NPCs
- Guide: Available immediately upon world creation. No requirements other than a house.
- Merchant: You must have at least 50 Silver Coins in your main inventory.
- Nurse: You must have more than 100 maximum health (use a Life Crystal) and the Merchant must already be present.
- Demolitionist: You must have an explosive (Bomb, Dynamite, or Grenade) in your inventory and the Merchant must be present.
- Dye Trader: You must find a dye-making ingredient (like a Blue Berries or a Strange Plant) and defeat at least one pre-hardmode boss.
- Angler: Found sleeping on the surface of the Ocean (at the far left or right of the world). Talk to him to wake him up.
- Zoologist: Requires the Bestiary to be at least 10% complete (53 entries).
- Dryad: Moves in after you defeat a major boss (Eye of Cthulhu, Eater of Worlds, Brain of Cthulhu, or Skeletron).
- Painter: Moves in when you have at least 8 other Town NPCs.
- Golfer: Found in the Underground Desert. Rescue him by talking to him.
- Arms Dealer: You must have a gun or bullets in your inventory.
- Tavernkeep: Found as an "Unconscious Man" anywhere in the world after defeating the Eater of Worlds or Brain of Cthulhu.
- Stylist: Found in a Spider Nest in the Cavern layer. Rescue her from the webs.
- Goblin Tinkerer: Found bound in the Cavern layer after defeating a Goblin Invasion.
- Mechanic: Found bound in the Dungeon after defeating Skeletron.
Hardmode NPCs
- Wizard: Found bound in the Cavern layer after entering Hardmode.
- Tax Collector: In the Underworld, find a "Tortured Soul" (rare spawn) and use Purification Powder on it.
- Steampunker: Moves in after you defeat at least one Mechanical Boss (The Twins, Destroyer, or Skeletron Prime).
- Cyborg: Moves in after defeating Plantera.
- Pirate: Moves in after defeating a Pirate Invasion.
- Truffle: Requires a house in a Surface Mushroom Biome during Hardmode. This biome must be manually created using Mud and Mushroom Grass Seeds.
- Princess: Moves in when all other Town NPCs (excluding Santa Claus and town pets) are present.
Maximizing Efficiency: The "NPC Prison" vs. Aesthetic Villages
There are two primary philosophies when it comes to housing in Terraria: Efficiency and Aesthetics.
The Efficiency Method (NPC Prisons)
Speedrunners and players focused purely on progression often build "NPC Prisons." These are the smallest possible valid rooms stacked on top of each other.
- They typically use Platforms as the floor so the player can run through the building vertically.
- The NPC is restricted to a tiny 3x10 interior.
- This method keeps all shops in one central location, but it severely penalizes NPC Happiness, leading to higher prices.
The Village Method (Happiness Focused)
Since the 1.4 "Journey's End" update, the game rewards players for building smaller, biome-specific villages.
- Happiness Mechanic: NPCs have favorite biomes and favorite neighbors. For example, the Merchant loves the Forest, while the Nurse loves the Hallow and the Arms Dealer.
- Pylons: If an NPC is happy enough and living with at least one other NPC they like, they will sell a Pylon. Placing two Pylons of the same biome type in different parts of the world allows for instant teleportation between them.
- Space: To avoid "crowding" penalties, you should have no more than 3 NPCs within 25 blocks of each other, and no more than 4 NPCs within 120 blocks of each other.
Managing NPC Housing Assignments
You can manually control which NPC lives in which room through the Housing Menu.
- Moving an NPC: Click the NPC's portrait in the Housing Menu, then click a valid room. A flag with the NPC's face will appear.
- Teleporting: NPCs do not walk to their new homes. If you assign them a room and then move far away or wait until nightfall, the NPC will instantly teleport to their assigned location as long as they are off-screen.
- Gold Frames: On the Desktop and Console versions, a flag with a gold border indicates a "Permanent Assignment." If the NPC dies, their replacement will automatically move back into that specific room.
Specialized Housing: The Truffle and King/Queen Statues
Some housing requires specific conditions that go beyond furniture and walls.
The Truffle's Requirements
The Truffle is unique because his house must be in a player-made Glowing Mushroom biome on the Surface.
- Place Mud Blocks above ground.
- Plant Mushroom Grass Seeds (obtained by harvesting glowing mushrooms underground).
- Wait for the grass to spread until the background changes and the music becomes alien-like.
- Build a standard house within this blue-tinted area.
Summoning NPCs with Statues
If you want to move an NPC instantly without waiting for nightfall, you can use a King Statue (for male NPCs) or a Queen Statue (for female NPCs). When wired to a switch or pressure plate, activating the statue will teleport a random NPC of that gender to the statue's location. This is incredibly useful for relocating NPCs to remote biome bases.
Summary: Building for Success
Building a house in Terraria is a blend of geometric requirements and environmental awareness. To ensure your world is always ready for new arrivals, maintain a "Buffer" of 2 or 3 empty, valid rooms at all times. This prevents new NPCs from being stuck in "queue" and allows you to immediately benefit from their services the moment they are unlocked. Remember that while the "Firebox" design is efficient for early gameplay, transitioning into specialized biome villages is the key to mastering the Pylon system and maintaining a low-cost economy with happy NPCs.
FAQ
Why does it say "This room is missing a chair" when there is a chair?
Ensure the chair is placed on a flat, solid surface and isn't obstructed by other items. Sometimes, if the chair is placed on a platform that is part of a "doorway," the game struggles to recognize it as part of the room's interior.
Can I build houses underground?
Yes. Most NPCs are perfectly happy underground. In fact, some NPCs like the Goblin Tinkerer and the Clothier prefer the Underground/Cavern layers. The housing requirements remain identical.
Do Town Pets (Cat, Dog, Bunny) need their own house?
Town pets do require a valid house to move in, but they can "share" a house with a human NPC. They do not count toward the crowding limit, making them excellent for boosting the happiness of nearby NPCs to unlock Pylons.
How do I get rid of an NPC I don't want?
You cannot "delete" an NPC, but you can move their flag to a different house. If you wish to change an NPC's stats (like the Angler's quest rewards or a traveling merchant's inventory), you must wait for them to leave or be defeated in combat so a new one can spawn.
Can NPCs move into Floating Islands?
Yes. The pre-built structures on Floating Islands often only need a light source and player-placed background walls to become valid housing. They are excellent early-game bases to keep NPCs away from surface-level enemies.
What is the "Home Tile" and why is it important?
The Home Tile is the specific solid block where the NPC stands at night. If you use only platforms for your floor, there is no Home Tile, and the house will be invalid. You must have at least one solid block in the floor layout.
-
Topic: House - Official Terraria Wikihttps://terraria.wiki.gg/wiki/Home_tile
-
Topic: Steams gemenskap :: Guide :: Full House: How to Get Every NPC in Terrariahttps://steamcommunity.com/sharedfiles/filedetails/?id=580190190&l=swedish
-
Topic: Komunitas Steam :: Panduan :: NPC HAPPINESS GUIDEhttps://steamcommunity.com/sharedfiles/filedetails/?id=2744433305&l=indonesian&searchtext=Begone%2C+Evil%21