House



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).

The Goblin Tinkerer, Mechanic, and Wizard will each make their initial appearances regardless of available Homes. Once initially found, each will require a Home in order to re-spawn subsequently.

You can check if a Home's construction is suitable with the Housing Menu, though that feature does not check for the Furniture or empty floor space requirements.

Requirements
A structure must meet numerous requirements in order for the game to recognize it as a proper Home suitable for spawning NPCs.

Size
A Home needs to be at least 6 blocks tall and 10 blocks wide (or 4 blocks tall and 8 blocks wide not including walls, floor or ceiling).

Including the floor, side walls and ceiling, a Home must have at least 60 total tiles, but less than 1900.

Framework


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.

Empty floor space
A House requires at least three tiles of empty floor space.


 * Furniture must be placed so that at least three 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.

Entrance
A house must have at least one entrance, which can be a door in a wall or a wood platform in the ceiling or floor.

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.

Furniture
A Home must have at least one Comfort item and one Flat Surface item.

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, and the Flat Surface item can not be entirely placed on wooden platforms. 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, Glowstick and lava will not work for this purpose.

Location
If a Home is located near Corruption, 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. 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
Materials required:
 * 24 Dirt Block for floor, wall and ceiling.
 * 32 Dirt Wall (8 Dirt Block) for background wall.
 * Wood Platform (2 Wood).
 * Wooden Chair (4 Wood).
 * Wooden Table (8 Wood).
 * Torch (1 Wood, 1 Gel, results 3).

Summary raw materials:
 * 34 Dirt Block
 * 15 Wood
 * 1 Gel