In real estate, a unit is a single, self-contained space within a larger building or lot that one person or household can occupy independently. For a residential space to qualify, building codes generally require permanent facilities for living, sleeping, eating, cooking, and sanitation, plus its own means of entry and exit. That definition is what separates a true second unit from a spare room, a finished basement, or a converted attic, and it drives how the property is financed, taxed, insured, and zoned.
What Makes a Space Legally Count as a Unit
The International Residential Code defines a dwelling unit as “a single unit providing complete, independent living facilities for one or more persons, including permanent provisions for living, sleeping, eating, cooking and sanitation.”1UpCodes. Dwelling Unit Miss any one of those elements and the space is classified as a room, not a unit. A finished basement with a bathroom but no kitchen doesn’t qualify. Neither does a backyard studio with a sink and bed but no toilet.
Each unit also needs its own way in and out. The International Building Code requires at least two means of egress from occupied spaces, so occupants can leave safely without crossing another household’s private area.2International Code Council. Accessible Means of Egress Local building departments confirm compliance through inspections and issue occupancy permits before anyone moves in.
Habitable rooms inside the unit carry their own minimums. Under the 2024 IRC, each must offer at least 70 square feet of floor area, measure no less than 7 feet in any horizontal direction, and have a 7-foot ceiling.3International Code Council. 2024 IRC Study Companion – Study Session 3 A low-ceilinged attic or a windowless storage room can’t legally count as a bedroom even if someone sleeps there.
Residential Unit Types
The word “unit” covers several ownership and occupancy arrangements. The legal structure, not the physical space, determines what a buyer or renter actually gets.
Apartments
An apartment unit is leasable space inside a building owned by a single landlord or entity. Tenants rent their individual units and own no part of the building. Each unit carries a number or letter, and the landlord handles property taxes, insurance, and structural upkeep. Utilities are billed individually when units have separate meters, or divided proportionally (by unit size or occupant count) when a single master meter serves the building.
Condominiums
A condominium unit is actual ownership of a defined interior space within a shared building. The boundaries are recorded in a condominium declaration along with plats showing exactly where one unit ends and common areas begin. Finished interior surfaces (flooring, drywall, paint) typically belong to the unit owner; the structural elements behind them (studs, joists, exterior walls) are common elements shared by all owners. Each owner pays property tax on their individual unit and contributes to a homeowner association for upkeep of hallways, lobbies, and grounds.
Cooperatives
A cooperative unit works differently. The buyer purchases shares in a corporation that owns the entire building, and those shares come with a proprietary lease granting the right to occupy a specific unit. Because the buyer owns stock rather than real estate, co-op purchases are treated as personal property transactions in most jurisdictions. The co-op board usually controls who can buy in, what renovations owners can make, and whether units can be sublet.
Accessory Dwelling Units
An accessory dwelling unit, or ADU, is a smaller secondary living space on the same lot as a primary home. A converted garage, a basement apartment, and a detached backyard cottage are all common forms. The same rule applies: without permanent facilities for sleeping, cooking, eating, and sanitation, it isn’t legally a unit.
ADUs have become easier to build. As of mid-2025, at least 18 states had passed laws broadly allowing homeowners to add them, though local requirements for size, setbacks, and owner occupancy still vary.4Mercatus Center. A Taxonomy of State Accessory Dwelling Unit Laws 2025 They also help with financing. FHA guidelines allow lenders to count up to 75 percent of estimated rental income from an existing ADU when qualifying a borrower, and up to 50 percent of projected rent from a new ADU added through FHA’s 203(k) rehabilitation loan program.
Commercial Units
Commercial real estate uses the same concept with different terminology. Office buildings call units suites, industrial warehouses call them bays, and retail centers call them storefronts. Each is separated from its neighbors by demising walls built to code for fire resistance and sound control, and those walls mark the legal boundary of the leased area.
Commercial units are priced on rentable square feet, which includes the usable area inside the tenant’s walls plus a proportional share of common spaces like lobbies, hallways, and restrooms. The ratio between usable and rentable space, often called the load factor, varies by building. A tenant leasing 1,000 usable square feet in a building with a 15 percent load factor would pay rent on 1,150 rentable square feet.
How Unit Count Changes Financing and Zoning
The number of units in a property changes how it’s treated by lenders and local governments. A single-family home has one unit. Add a second independent living space and the property becomes multi-family.
One to Four Units
Duplexes, triplexes, and fourplexes are classified as residential for both lending and zoning. Buyers can finance them with conventional or government-backed residential mortgages, including FHA loans, as long as the borrower occupies one of the units as a primary residence. FHA loan limits increase with each added unit and vary by county.
Three- and four-unit properties face an additional FHA hurdle called the self-sufficiency test. The property’s net rental income, calculated as 75 percent of appraised market rent across all units, must equal or exceed the total monthly housing payment (principal, interest, taxes, insurance, and any mortgage insurance or association dues). A property that fails this test can’t get FHA approval regardless of the borrower’s personal income.
Five or More Units
At five units a property crosses into commercial territory for lending purposes.5HUD Exchange. Is a Duplex an Eligible Multifamily Property Lenders then evaluate the building on its income-generating potential using metrics like net operating income and capitalization rates. Commercial loans typically require larger down payments, carry higher interest rates, and have shorter repayment terms than residential mortgages. Zoning often restricts high-density buildings to areas with the water, sewer, parking, and road capacity to support them.
Unpermitted Units: What Doesn’t Count
A space only functions as a unit in the legal sense if it was permitted and inspected as one. A basement apartment, converted garage, or informal in-law suite built without approval is an unpermitted unit, and that status carries real exposure.
Most states require sellers to disclose known material facts about a property, including unpermitted modifications, zoning violations, and building code issues. A seller who knows about an illegal unit and conceals it can be held liable for the buyer’s actual damages, including the cost of legalizing or removing the space.
Renting out an unpermitted unit adds landlord exposure. A space that lacks proper egress, fire separation, or structural integrity can be declared uninhabitable, forcing relocation of tenants and triggering fines. If a tenant is injured in a unit that was never inspected or approved, liability rises sharply, and insurance may not cover claims arising from an illegal conversion.
A certificate of occupancy is the document that confirms the opposite: that a building or unit has been inspected and meets applicable building codes, zoning requirements, and safety standards. New construction, major renovations, and changes of use typically require a new certificate before anyone can legally move in. Fees generally run from about $100 to $300 depending on the jurisdiction. Without one, an owner may be unable to legally rent the space, secure proper insurance, or close a sale.