A spite house is a building constructed or substantially modified to irritate neighbors or any party with land stakes. Spite houses may create obstructions, such as blocking out light or blocking access to neighboring buildings, or can be flagrant symbols of defiance. Because long-term occupation is at best a secondary consideration, spite houses frequently sport strange and impractical structures.
Spite houses are considerably more rare than spite fences. This is partially attributable to the fact that modern building codes often prevent the construction of houses likely to impinge on neighbors' views or privacy, but mostly because fence construction is far cheaper than home construction. There are also similar structures known as Spite wall or Blinder wall.
Examples
Source: Spite House