House



A Home is a structure built by the player from Blocks, Walls, Furniture, and other items, that can serve as a spawn point for NPCs. An NPC requires an unoccupied Home in order to appear (with the exception of the Guide), and will not appear otherwise. A structure must meet specific Requirements in order for the game to recognize it as a proper Home and spawn NPCs.

Requirements
'''Housing Requirements have changed with the 1.1 update. The requirements listed below are not necessarily correct, though they still provide a rough guideline.'''

A structure must meet the following requirements in order to function as a Home:
 * Is completely enclosed in Blocks (aside from the entrance) to serve as side walls, a floor, and a ceiling. You may also use Wood Platforms as part of the floor, walls or ceiling, so long as there is one non-platform block for the NPC to stand on at night. That block must be within two spaces of the Comfort item or Flat Surface item.
 * Has background Walls. Walls not placed by a player (such as naturally-occurring dirt) do not count, with the exception of those behind Floating Island structures or the Planked Walls found in naturally occurring structures in caverns.
 * Has at least 1 placed Comfort item.
 * Has at least 1 placed Flat Surface item.
 * Has at least 1 entrance, which can be a Wooden Door in a wall or a Wood Platform in the ceiling or floor.
 * Has at least 1 light source. A Furnace, Lamp Post, or Disco Ball will not work for this purpose.
 * Is at least 5 blocks tall and 10 blocks wide (or 4 blocks tall and 8 blocks wide, not including walls, floor or ceiling)An easy way to check this is to put a bed in the room where you want the NPC to move in and try to set your spawn with it, if you can set it then the room is inhabitable. This is obsolete since the 1.1 patch where you can use the housing query instead

If in doubt or when NPCs refuse to live there, make it wider. Don't focus too much on minimum requirements but start with a walled up 8x4 inside space (structural- and back-wall and door), A chair with either table or workbench and you should get NPCs quickly.

Comfort items
At least 1 Comfort item must be placed in a Home. Currently the following items may function as Comfort items:
 * Chair
 * Throne
 * Bench
 * Bed
 * Toilet

Flat Surface items
At least 1 Flat Surface item must be placed in a Home. Currently the following items may function as Flat Surface items:
 * Table
 * Dresser
 * Workbench
 * Bathtub
 * Bookcase
 * Piano