How to House Hack Legally in the United States
The first time most people hear about house hacking, they assume there’s a catch. There usually isn’t — but there are enough legal, financial, and practical details that doing it wrong can create serious problems. Renting out part of your primary residence without understanding landlord-tenant law, zoning restrictions, or mortgage terms is where things start to unravel.
House hacking, at its core, is buying a property you live in and offsetting your housing costs by renting out part of it. That could be a duplex where you live in one unit and rent the other. It could be a single-family home where you rent out spare bedrooms. It could also be an accessory dwelling unit on the same lot. The concept is simple. The math is attractive. But the execution usually requires more attention than most first-time investors expect.
What House Hacking Actually Looks Like in Practice
The most common version involves a two-to-four unit multifamily property.You live in one unit and rent out the others, using the rental income to offset your mortgage. A four-unit property is typically the largest that qualifies for a conventional owner-occupant loan. Anything above that is usually treated as a commercial property with stricter lending requirements.
The second version is renting out rooms in a single-family home. This works in college towns, high-cost cities, and markets with strong demand from young professionals. The margins can be strong, but the management intensity is higher. You’re sharing common spaces with tenants, which is a different dynamic than having separate units.
The third version involves an ADU — a basement apartment, garage conversion, or detached guest house. In states like California, Oregon, and Washington, ADU laws have been significantly relaxed over the past several years, making this a more accessible option than it was before. Some municipalities still have restrictions, so this requires local verification before you buy.
The Legal Framework You Cannot Ignore
This is where most people either skip steps or rely on assumptions that turn out to be wrong.
Zoning and local ordinances — Before you rent anything, confirm that the property is zoned for the type of rental you’re planning. Single-family zoning in some municipalities prohibits renting to unrelated individuals. Others allow it with no restrictions. Some cities require a rental license or a certificate of occupancy for any rented unit, including rooms within an owner-occupied home. Check with your local planning or zoning department directly. The listing agent’s opinion on this is not a substitute for written confirmation.
Mortgage terms —If you finance with an Federal Housing Administration loan, a conventional owner-occupant loan, or a U.S. Department of Veterans Affairs loan, you are required to live in the property as your primary residence. This is not optional. Owner-occupancy rules usually require you to move in within about 60 days of closing.
Most programs also require you to stay in the property for at least 12 months, sometimes longer depending on the loan type.Renting out the entire property immediately after purchase while living elsewhere is mortgage fraud. Renting out part of it while living there is generally permitted and is exactly what these loan programs anticipate.
Landlord-tenant law — Once you accept rent from someone, even a roommate, you have a landlord-tenant relationship in most states. That means you may need a written lease, you are subject to habitability standards, and eviction — if it ever comes to that — follows a legal process. You cannot simply ask someone to leave and change the locks. States like California, New York, and Oregon have particularly tenant-protective laws. Even in more landlord-friendly states, skipping the lease or failing to follow proper notice procedures can create expensive legal problems.
Fair housing law —The Fair Housing Act prohibits discrimination based on race. It also prohibits discrimination based on color, national origin, religion, sex, familial status, and disability. There is a limited exemption for owner-occupants renting rooms in their own home. This is often called the “Mrs. Murphy exemption.” However, this exemption only applies in specific situations. It does not override state or local housing laws. These laws may include broader protections. If you’re advertising and selecting tenants, you need to apply consistent, documented criteria.
Financing a House Hack: What Actually Works
FHA loans are one of the most commonly used financing tools for house hacking because of the low down payment requirement. They typically allow 3.5% down for borrowers with a credit score of 580 or higher. On a duplex, the same down payment applies, and the lender may count a portion of the projected rental income from the non-owner unit to help you qualify. This is one of the legitimate advantages of FHA financing for this strategy.
Conventional loans with owner-occupant terms are also viable. Fannie Mae and Freddie Mac guidelines allow for rental income from accessory units to be considered in qualifying, with documentation. The down payment on a two-to-four unit owner-occupied property is higher than on a single-family — typically 5% to 15% depending on the lender and borrower profile.
VA loans, for eligible veterans and service members, allow purchase of up to four units with no down payment, provided the borrower occupies one unit. This is one of the most favorable financing structures available for this strategy and is significantly underused.
One thing worth flagging: lenders vary considerably in how they treat rental income from house hacking scenarios. Some are conservative and won’t count projected rents at all. Others follow agency guidelines and will consider documented or market rents. It’s worth speaking with multiple lenders before assuming what you’ll qualify for.
The Numbers Have to Work Without the Rental Income
This is a point most enthusiastic first-timers miss. If the property only pencils out because the rental income covers the mortgage, you’re carrying substantial risk. Tenants leave. Units sit vacant. A roommate situation ends badly and the room sits empty for two months while you sort it out.
The test I’d apply: can you afford the full mortgage payment on your own income, even if the rental unit sits vacant for three months? If the answer is no, you’re not house hacking — you’re depending on a tenant to make your housing payment, which puts you in a precarious position from day one.
This doesn’t mean the strategy doesn’t work. It means your purchase price, down payment, and cash reserves need to be calibrated to the actual risk, not the best-case scenario.
When House Hacking Underperforms or Fails
The strategy works best in markets with strong rental demand, reasonable purchase prices, and landlord-friendly legal environments. It underperforms or creates problems in several specific situations.
Buying in a market with low rental demand because prices are cheap is a common mistake. If the local economy is weak and population is declining, keeping units occupied at rent levels that justify the purchase is harder than it looks. Cheap property doesn’t automatically mean a good house hack.
Renting to friends or family without a formal lease and documented expectations is another common failure point. The relationship makes it harder to enforce lease terms, collect rent consistently, or handle a departure professionally. This isn’t a reason to never rent to someone you know — it’s a reason to treat it exactly like any other tenancy.
High-maintenance properties in older housing stock also create problems. The appeal of a lower purchase price on an older duplex can evaporate quickly when the roof, plumbing, and electrical all need attention in the first two years. An inspection and a realistic reserve estimate are not optional steps.
Managing the Tax Side Correctly
When you rent out part of your primary residence, the IRS expects you to report that rental income. You can deduct expenses proportional to the rented portion of the property — a share of mortgage interest, property taxes, insurance, repairs, and depreciation. The calculation is based on the percentage of the home’s square footage that is rented.
The tax treatment becomes more complex if you later sell the property. The primary residence capital gains exclusion — up to $250,000 for single filers, $500,000 for married couples — applies only to the portion of the home used as your primary residence. The rented portion may be subject to capital gains tax and depreciation recapture. This is not a reason to avoid the strategy, but it is a reason to track your rental expenses and basis carefully from the beginning and consult a tax professional before you sell.
The IRS Publication 527 covers residential rental property in detail and is the authoritative reference for how rental income and expenses are treated for owner-occupants.
What to Verify Before You Close
Confirm zoning permits the rental configuration you’re planning — in writing, from the municipality. Verify that the property meets local habitability and safety codes for rental use, including egress requirements for basement units. Review your loan terms and confirm owner-occupancy requirements. Get a written lease in place before the first tenant moves in, drafted or reviewed by a local real estate attorney familiar with landlord-tenant law in your state. Set up a separate account for rental income and expenses from day one — it makes tax filing and financial tracking significantly cleaner.
A common mistake is buying a property where the house hack only works at full occupancy. Another risk is underwriting deals with zero vacancy assumptions. One more issue is relying on verbal agreements with tenants, even in close relationships. It is also important not to assume that strategies from other states or cities will work in your local market without verifying the rules.
The decision you need to make next is whether the market you’re buying in has the rental demand to support consistent occupancy, whether the property structure fits the legal rental configuration you’re planning, and whether your personal finances can absorb a period of vacancy without creating a cash flow crisis. If all three answers are yes, the legal framework for doing this right is accessible and well-established. The investors who run into problems are almost always the ones who skipped the verification steps, not the ones who followed them.
Frequently Asked Questions
Do I need a landlord license to house hack?
It depends entirely on your city or county. Some jurisdictions require a rental license or registration for any rented unit, including rooms within an owner-occupied home. Others have no such requirement. Check with your local housing or planning department before you advertise or accept rent. Operating without a required license can result in fines and, in some cases, orders to stop renting.
Can I use an FHA loan to buy a duplex and rent the other unit?
Yes. FHA loans can be used on properties up to four units, provided you occupy one as your primary residence. The lender may count a portion of the projected rental income from the other unit to help with qualification. The down payment is 3.5% for borrowers meeting the credit score threshold, which is one of the main advantages of this approach for first-time buyers.
What happens if I stop living in the property after a year?
Most owner-occupant loan programs require you to live in the property for a minimum period — typically 12 months for FHA and conventional loans. After that period, you generally have the option to move out and convert the property to a full rental. You should review your specific loan agreement and confirm the terms with your lender before making that move.
Is renting rooms in a single-family home legal everywhere?
No. Some municipalities with single-family zoning restrict renting to unrelated individuals or limit the number of unrelated occupants. Before buying a single-family home with the intent to rent rooms, confirm local zoning allows it. Some cities also require a rental license or inspections for this type of arrangement.
How do I handle a tenant who won’t leave?
Even in an owner-occupied situation, eviction follows a legal process. You need to provide proper written notice under your state’s landlord-tenant law, and if the tenant doesn’t vacate, you file in court. Self-help eviction — changing locks, removing belongings, shutting off utilities — is illegal in every U.S. state and exposes you to significant liability. A local real estate attorney can walk you through the specific process for your state.
Does house hacking affect my homeowner’s insurance?
Yes. Standard homeowner’s insurance typically does not cover rental activity. If you’re renting out a unit or rooms, you need to notify your insurer and either update your policy or switch to a landlord or owner-occupant rental policy. Failing to disclose rental activity can result in a denied claim if something goes wrong.