A Home (or House) is a structure built by the player that can serve as a spawn point for NPCs. NPCs require an unoccupied Home before they can appear (with the exception of the Guide and Travelling Merchant).
You can check if a Home's construction is suitable with the Housing Menu.
A structure of home must meet numerous requirements in order for the game to recognize it as a proper home suitable for spawning NPCs.
Including the floor, side walls and ceiling, a Home must have at least 60 total tiles but less than 750.
The minimum rectangular regions which count as a Home are:
|Excluding ceiling, floor and walls||Including ceiling, floor and walls|
|6 tiles wide x 6 tiles high||8 tiles wide x 8 tiles high|
|7 tiles wide x 5 tiles high||9 tiles wide x 7 tiles high|
|8 tiles wide x 4 tiles high||10 tiles wide x 6 tiles high|
|10 tiles wide x 3 tiles high||12 tiles wide x 5 tiles high|
A house must be fully enclosed:
- The side walls (vertical blocks) can be made of blocks, doors or wood platforms.
- The floor and ceiling (horizontal blocks) can be made of blocks or wood platforms.
- The NPC needs at least one solid (non-platform) block to stand on at night. This block may not be directly adjacent to either of the walls of the house.
 Empty floor space
A House requires at least four tiles of empty floor space.
- Furniture must be placed so that at least four tiles of space exists that is clear of any furniture or blocks. This includes the Comfort and Flat Surface items (see below), which in a minimum-sized house must be placed off-center in order to make the House suitable. This space can be left between two furniture items, or between an item and the House's framework wall.
- Some decorative items do not affect this requirement, such as Statues, which can be placed in the empty area without invalidating the house.
- One of these empty floor tiles must be a solid (non-platform) block, which the NPC needs in order to stand at night.
A house must have at least one entrance, which can be a door in a wall or a wood platform in the ceiling, floor, or walls. There was a bug that when a door was opened inwards, the housing would no longer be considered a suitable housing, however this was patched in the 1.2 Update
 Background Wall
A house must have a background wall in order to be suitable. Any walls crafted or mined by the player are valid, when placed.
- Walls not placed by a player (such as naturally-occurring dirt walls) do not count, with the exception of those generated in Floating Island structures, or the planked walls found in Underground Cabins.
- Background walls may contain holes if the holes are no taller or wider than four tiles. (e.g. 4 background tiles across or tall, so the maximum size is 4x4, 16 in total. The hole cannot exceed 4x4 or 16 tiles.).
- Walls may have multiple holes as long as they are separated by at least a single tile of background walls.
- Having background holes will sometimes allow monsters to spawn within the Home.
 Comfort items
At least one Comfort item must be placed in a Home. Currently the following items may function as Comfort items:
 Flat Surface items
At least one Flat Surface item must be placed in a Home. Currently the following items may function as Flat Surface items:
 Light Source
A Home must have at least one light source. A Furnace, Lamp Post, Disco Ball, Campfire, Glowstick and lava will not work for this purpose. Currently the following items may function as a Light Source:
- Torch (any)
- Tiki Torch
- Candle (any)
- Skull Lantern
- Jack 'O Lantern
- Hanging Jack 'O Lantern
- Water Candle
- Christmas lights
- Star in a Bottle
- Chandelier (any)
If a Home is located near Corruption (or Crimson), it may become uninhabitable. A Home is corrupted based on its "Corruption Rating," which calculates all tiles in a 45-block "radius" around the house; a house's Corruption Rating must be 250 or less. This is about half the blocks in the radius. Each block of ebonstone, ebonsand and corrupted vines & plants increases a Home's Corruption Rating by 1. Conversely, each sunflower reduces a Home's Corruption Rating by 5; and each block of hallowed grass, pearlsand and hallowed plants reduces the rating by 1.
 Simplest valid option
- 25 Dirt Block for floor, wall and ceiling.
- 32 Dirt Wall (8 Dirt Block) for background wall.
- Wooden Door (6 Wood). Can be replaced with one Wood Platform.
- Wooden Chair (4 Wood).
- Wooden Table (8 Wood).
- Torch (1 Wood, 1 Gel, results 3).
Summary raw materials:
This works, but if you don't want house to be occupied by vines it's recommended to replace dirt by wood, stone or mud, or just clear the walls from grass. While this is the simplest option, it's very susceptible to corruption.
Wood might be considered simpler than dirt for wall, ceiling, and background wall, since many pieces are acquired from cutting down a single tree.
- Homes may be attached together and share common walls, floors, ceilings, and doors.
- If you wish to prevent NPCs from wandering around, place a torch on the ground on each side of the door. It will not only count as a light source but also prevent the NPC from leaving. Keep in mind this will also complicate opening the door for the player, as you will need to face away from the door to open it or right-click the torch and re-place it when you want to enter. (Hint: Wooden Beams can work just as well, and don't have to sit on the floor; the same goes for Wood Platforms)
- If an NPC arrives and there is a house you may simply quit and restart in single-player and the NPC will "teleport" to a house they claim. Altitude isn't a factor, even if an available house is in the air as long as it qualifies as a house and NPC claimed/was set to it. Depending on the time of day, a simpler way to force them to appear in their Home is to wait until night time, and walk 2-3 screen-lengths (so you can't see the house or the NPC) away from the NPC/Home and they will immediately despawn and respawn in their room.
- In single player you can end up with 18 NPCs (and one more during the holiday season). It is suggested to build at least 18 rooms that meet the requirements for NPCs when planning a headquarters. Note that the Truffle must be in a surface mushroom biome, though.
- The side, top, and bottom of the world does NOT count as a wall.
- Placing a light source in a Living Tree room will cause it to become suitable housing unless you remove the furniture.
- Same goes for the Floating Island houses.
- If an NPC moves into a home, and then the chosen home is destroyed, the NPC will not disappear, although it is much more likely for them to be killed, or you could have a hard time finding them.
- 1.1: There is now a built in interface for checking if a house is valid for being moved into and designation the specific house for the specific NPC.
- 1.0.6: Requirements modified; may now use a bed, toilet, throne or bench instead of a chair, and may use a dresser, bathtub or bookcase instead of a table or workbench.