A duplex may be one of several different dwelling unit configurations:
A duplex house is a dwelling having apartments with separate entrances for two households. This includes two-story houses having a complete apartment on each floor and also side-by-side apartments on a single lot that share a common wall. By contrast, a building comprising two attached units on two distinct properties is typically considered semi-detached or twin homes but may also be referred to as a duplex.
The term "duplex" can also be extended to three-unit and four-unit buildings, or they can be referred to with specific terms such as triplex and fourplex or quadplex/quadruplex. Because of the flexibility of the term, the line between an apartment building and a duplex is somewhat blurred, with apartment buildings tending to be bigger, while duplexes are usually the size of a normal house.
In dense areas like Manhattan and downtown Chicago, a duplex or duplex apartment refers to a maisonette, a single dwelling unit spread over two floors connected by an indoor staircase. Similarly, a triplex apartment refers to an apartment spread out over three floors. These properties can be quite expensive, and include the most expensive property in Manhattan as of 2006 (according to Forbes Magazine), a triplex atop The Pierre Hotel.
Urban planning 
In urban planning, the term duplex is used more specifically. Major Canadian cities sometimes use the term duplex to refer specifically to a building with one unit built above another. Edmonton defines Duplex Housing as "development consisting of a building containing only two Dwellings, with one Dwelling placed over the other in whole or in part with individual and separate access to each Dwelling". Calgary defines Duplex Dwelling as "a building which contains two Dwelling Units, one located above the other, with each having a separate entrance". Toronto proposes in their new Zoning Bylaw to define Duplex Building as a building that has only two dwelling units, and one dwelling unit is entirely or partially on top of the other dwelling unit. Halifax defines Duplex Dwelling as "the whole of a dwelling that is divided horizontally into two separate dwelling units, each of which has an independent entrance".
Other major cities use the term duplex, but dwelling units. Dallas defines the term duplex as "two dwelling units located on a lot". Philadelphia defines a duplex dwelling as "a dwelling occupied as the home or residence of two (2) families, under one (1) roof, each family occupying a single unit".
Other major cities do not use the term duplex in their zoning or Land Use bylaws. San Francisco and Vancouver use the term Two-family dwelling. Winnipeg uses the term Dwelling, two-family. The definitions of these terms do not specify the physical relationship between the two dwelling units in the building. In cities such as Buffalo, Detroit and Chicago the term Two-flat is used and defines it as a "residential building that contains 2 dwelling units located on a single lot. The dwelling units must share a common wall or common floor/ceiling."
Where cities do not define the relationship of the dwelling units to one another, units may be built one on top of the other, or one beside the other. The latter arrangement is more specifically referred to as a semi-detached building.
See also 
- Polish flat
- Split-level home
- Triple decker
- Tyneside flat
- List of house types
- "Duplex House". Dictionary.com. Ask.com. 2010. Retrieved 1 July 2010.
- Merriam Webster Online: definition of fourplex
- Most Expensive Homes In The U.S. 2006. Forbes.com (2006-06-23). Retrieved on 2011-06-07.
- Edmonton Zoning Bylaw
- Calgary Land Use Bylaw
- Proposed Toronto Zoning Bylaw
- Halifax Mainland Land Use Bylaw
- Dallas Zoning Code
- Philadelphia Code
- Vancouver Zoning and Development Bylaw
- San Francisco Planning Code
- Winnipeg Zoning Bylaw
- Chicago Zoning Ordinance