The short answer is that yes, it is often legal in principle to convert all or part of a building into an apartment for a family member, but almost never automatically. Whether you can actually do it depends on the property's zoning, the building's current legal use and occupancy status, state and local housing codes, and whether the building is in a condition that will pass inspection for residential occupancy. The family relationship helps in a few specific ways—some codes create special exceptions for "accessory" or "in-law" apartments meant for relatives—but it does not override zoning, building safety, or fire codes. A homeowner who converts a garage into an apartment for an aging parent without permits can be ordered to undo the work, fined, and, if the unit is occupied, forced to vacate. Doing it lawfully means working through the same permitting process any other conversion would require, with a few family-specific pathways that may simplify things.
The rest of this article explains what "legal" means in this context, the specific approvals that typically apply, how family-member occupancy changes the analysis, and the practical sequence for getting from an idea to a lawful, occupied unit.
First, identify what kind of "building" and "apartment" you mean
The question can describe at least four different situations, and they have different legal answers.
Converting a single-family house into two units, one for a relative. This is the most common version of the question and the one most likely to have a dedicated legal pathway, often called an accessory dwelling unit (ADU) or accessory apartment. Many zoning codes allow one additional dwelling unit on a lot zoned for single-family homes, sometimes only when occupied by a family member.
Converting a commercial or industrial building into residential use. This is a "change of use," and it triggers a much heavier review: zoning must permit residential use at that location, and the building must be brought up to residential code standards, including egress, fire separation, light and ventilation, and energy requirements.
Converting a portion of a house—a basement, garage, or attic—into a separate unit. This is a smaller-scale version of the first scenario, but it still counts as creating a dwelling unit if it has cooking, sleeping, and sanitary facilities. Many jurisdictions treat it exactly like an ADU.
Converting a building you own into an apartment for a relative to rent or occupy. If the relative will pay rent or the unit will later be rented to someone else, additional landlord-tenant and rental registration rules usually apply.
The family-member angle matters most in the first and third scenarios, where codes sometimes relax standards or create special permits for relatives. In the commercial-conversion scenario, the family relationship generally changes very little: the building must still be made safe and legal for residential occupancy.
The layered approval system
Residential conversions are governed by overlapping legal layers, and a project must satisfy all of them. Understanding the layers prevents the common mistake of getting one approval and assuming the project is cleared.
Zoning. Zoning governs what uses are allowed on a property and how many dwelling units a lot may contain. A single-family zone may permit only one unit, or it may permit a second unit as an accessory use subject to standards like minimum lot size, maximum unit size, parking, and setbacks. Some codes allow the second unit by right; others require a special use permit or variance from the zoning board. The Enfield, Connecticut zoning regulations illustrate the discretionary model: in certain residential districts, the commission "may allow by Special Use Permit the temporary conversion of a single-family dwelling to incorporate one accessory apartment in order to provide for the temporary housing needs of members of an extended family," according to the town's zoning document. Note the words "may," "temporary," and "extended family"—the permit is discretionary, tied to family occupancy, and not necessarily permanent.
Building codes. Once zoning allows the unit, the physical construction must comply with the residential building code adopted in your jurisdiction. That typically includes minimum room sizes, ceiling heights, egress windows in bedrooms, smoke and carbon monoxide alarms, fire separation between units, and safe stairways. Converting a basement or garage usually means adding insulation, proper ventilation, and a compliant exit. These requirements are not waived because the occupant is a relative.
Fire and life-safety codes. Two-family and multi-family occupancies face stricter fire separation and alarm requirements than single-family homes. Adding a second kitchen or a second sleeping area can change how the building is classified, which changes what the fire code requires.
Health, sanitation, and utility codes. A new unit generally needs its own or clearly adequate plumbing, water supply, and sewage capacity. Adding a kitchen and bathroom can exceed the capacity of an existing septic system, which is a common and expensive obstacle in rural areas.
Rental and occupancy registration. Many cities require rental units to be registered and inspected, even when occupied by family. Some require a rental license before any tenant moves in.
Historic district or architectural review. If the building is in a historic district or subject to design review, exterior changes such as new doors, windows, or stairways may need separate approval.
A project that clears zoning but fails the building code is not legal. A project that passes inspection but was never zoning-approved can still be shut down. The approvals are cumulative.
How the family relationship actually changes the rules
Family-member occupancy is legally relevant in three main ways.
Some codes create a specific family-related accessory apartment. The clearest example comes from Yarmouth, Massachusetts, whose accessory apartment bylaw states that its purpose for family-related apartments is "to provide an opportunity for family members who choose to live in a close proximity, but separate from other family members, to remain within that family environment," and it authorizes such apartments only by special permit, with standards including a minimum lot size of 10,000 square feet, one apartment per lot, and design requirements so the building's appearance remains that of a single-family home, according to the town's accessory zoning bylaw. The lesson is that the family connection can be the reason a special permit exists, but the permit and its standards still apply.
Some codes define a distinct "in-law apartment" with its own limits. Rochester, New Hampshire's handout defines an in-law apartment as "a semi-independent living area (not to exceed 400 square feet) that is part of a larger dwelling unit," which may have its own bedroom, bathroom, and cooking facilities but "has no separate walkable entrance to the outside," so that access is exclusively from within the larger dwelling unit and the resident remains part of the household, according to the city's building licensing materials. This is a meaningful distinction: an attached, internally accessed in-law suite is often treated more leniently than a fully separate unit with its own exterior entrance, because it is less like a second dwelling and more like an expanded single household.
Some codes impose occupancy conditions tied to family. A permit may be conditioned on occupancy by a family member, may expire when the family member moves out, or may require the owner to live on site. Enfield's "temporary" conversion language is an example of this conditional approach. If you sell the house or the relative leaves, the legal basis for the unit may disappear, and you may be required to remove the kitchen or restore the building.
What the family relationship generally does not do is excuse you from permits, inspections, or safety standards. A common and costly misconception is that "it's for my mother, so it's not really a second unit." Regulators evaluate the physical unit—its kitchen, entrance, and sleeping facilities—not the occupant's surname. If the space functions as a separate dwelling, it will usually be treated as one.
The family-member question overlaps with the "second kitchen" problem
Many disputes begin with a kitchen. A basement with a bedroom and bathroom is often treated as living space within the single-family home. Add a full kitchen and a separate entrance, and the space starts to look like a second dwelling unit—which may violate the single-family zoning that made the house legal in the first place.
This is why some codes distinguish a "wet bar" or kitchenette from a full cooking facility, and why some in-law apartment definitions allow cooking facilities only in an internally accessed suite. The design choice matters legally. If your goal is a place for a relative to live somewhat independently while remaining part of the household, an internal suite may fit within single-family rules in your area without any special permit. If your goal is a fully separate apartment with its own address and entrance, expect to go through the full ADU or conversion process.
The correct approach is to ask your local planning or zoning office a specific question: "Does a unit with [describe the kitchen, bathroom, entrance, and sleeping area] count as a second dwelling unit under our code, and what approval does it need?" The answer will be far more useful than a general inquiry.
What a lawful conversion typically involves
While procedures vary by jurisdiction, a lawful conversion generally follows a recognizable sequence.
1: Check zoning first, before designing or spending. Confirm the property's zoning district, whether a second unit is allowed, and whether it is allowed by right or by special permit. Ask about lot size, unit size caps, parking, and owner-occupancy requirements. 2: Review the property's legal status. Pull the certificate of occupancy or prior permits. An existing finished basement or converted garage may already be unpermitted, which complicates the new application and may require legalizing or removing prior work. 3: Hire qualified help for anything structural or code-sensitive. An architect or designer familiar with local residential code, and a licensed contractor, will save money relative to failed inspections and rework. 4: Apply for zoning approval or the special permit. This may involve a public hearing and neighbor notice. Family-related permits often require documentation of the relationship and intended occupancy. 5: Apply for building permits and any separate fire, plumbing, electrical, and mechanical permits. Submit plans showing egress, alarms, fire separation, ventilation, and utility connections. 6: Complete the work with inspections at required stages. Do not cover walls before rough inspections. Do not move a relative in before final inspection and certificate of occupancy. 7: Obtain the certificate of occupancy or completion approval. This is the document that makes occupancy lawful. Keep it with the property records. 8: Register the unit if required. Rental registration, inspections, and landlord obligations may apply even to family tenancies.
Skipping steps creates real exposure: stop-work orders, fines, required demolition of unpermitted work, difficulty selling the property because the unit is not on record, insurance complications if a fire originates in an unpermitted unit, and, in serious cases, orders that the occupants vacate.
Where conversions commonly go wrong
The same failure points recur across jurisdictions.
Assuming family occupancy is exempt. It usually is not. The unit's physical characteristics, not the tenant's identity, drive the analysis.
Underestimating septic and utility capacity. A second kitchen and bathroom can push a septic system over its permitted capacity, and upgrading it may be the largest cost in the project.
Ignoring parking and access requirements. Many codes require an additional parking space for an accessory unit, and some require a separate safe pedestrian path or address.
Creating a unit that cannot meet egress. Basement bedrooms without compliant egress windows or a second exit often cannot be legal sleeping rooms.
Building first and asking later. Retroactive approval is possible in some places but is discretionary, expensive, and sometimes unavailable.
Forgetting the conditions attached to a family permit. If the permit requires owner occupancy or family occupancy, renting the unit to a stranger later can violate the approval.
The practical bottom line
For most readers asking whether they can legally turn a building into an apartment for a family member, the realistic answer is: probably yes, if the zoning allows a second unit or a special family-related permit, and if the construction meets residential code. The family relationship can unlock a specific permit pathway or a more lenient in-law-suite standard in some communities, and it may impose conditions such as owner occupancy or temporary duration. It does not substitute for zoning approval, building permits, inspections, or a certificate of occupancy.
The single most useful step is an early, specific conversation with the local planning or zoning department, followed by the building department. Describe the exact physical configuration you have in mind and ask which approvals apply. Confirm the property's zoning and permit history before committing money. Then build to code, get the final inspection, and keep the paperwork. That sequence is what turns a well-intentioned family arrangement into a lawful one.
Because zoning, building, fire, and rental rules differ substantially by state, county, and city—and change over time—the general framework above cannot determine the outcome for a particular property. For a specific conversion, consult your local planning and building departments and, where the project is significant, a licensed attorney or design professional familiar with your jurisdiction.