You can legally sell a house the same day you buy it — no federal or state law sets a minimum holding period. What actually decides how soon you can sell a house after buying it are your mortgage’s occupancy clause, the capital gains tax rules, FHA resale restrictions that affect your buyer pool, and whether your equity covers the transaction costs. In most cases, selling within the first year is legal but expensive; waiting past the two-year mark is where the math usually turns in your favor.
What Your Mortgage Requires
If you financed the purchase, your loan documents almost certainly include an occupancy clause. FHA loans require at least one borrower to move in within 60 days of closing and to intend to live in the home for at least one year.1Department of Housing and Urban Development. FHA Single Family Housing Policy Handbook VA loans carry the same 60-day occupancy trigger and 12-month primary-residence requirement.2Veterans Affairs. Eligibility for VA Home Loan Programs USDA guaranteed loans require the home to be your permanent residence and specifically prohibit buying a property with the intention to flip it.3USDA Rural Development. FAQ Single Family Housing Guaranteed Loan Program Origination Conventional loans backed by Fannie Mae and Freddie Mac generally include a similar one-year occupancy clause.
Selling before that year is up doesn’t automatically violate the clause. Lenders generally recognize legitimate life changes — a job transfer, divorce, or serious illness — as valid reasons to move on early. The real risk is if the lender concludes you never intended to live in the home at all. That’s occupancy fraud, and the lender can accelerate the loan, demanding immediate repayment of the full balance and initiating foreclosure even if you’ve never missed a payment. Occupancy fraud is also a federal crime under 18 U.S.C. § 1014. If you have a genuine reason to sell inside the first year, document it and tell your lender before you list.
How the Tax Bill Changes With Time
For most sellers, taxes are the biggest financial factor in an early sale. Two thresholds matter: one year and two years.
The One-Year Line: Short-Term vs. Long-Term Rates
Sell a home you’ve owned for one year or less and any profit is a short-term capital gain, taxed at your ordinary income rate — as high as 37% for 2026 depending on your total taxable income.4Internal Revenue Service. Topic No. 409, Capital Gains and Losses5Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 Hold the property for more than one year and the profit qualifies for long-term capital gains rates of 0%, 15%, or 20%. On a $100,000 gain, selling at 11 months rather than 13 could cost an extra $22,000 in taxes from the rate difference alone.
The Two-Year Line: The Section 121 Exclusion
Internal Revenue Code Section 121 lets you exclude up to $250,000 of profit from the sale of your primary residence, or $500,000 for married couples filing jointly.6Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence To claim the full exclusion, you must have owned the home for at least two of the five years before the sale and used it as your primary residence for at least two of those five years. Sell earlier and you can’t claim the full exclusion, which leaves the entire profit exposed to tax.
Partial Exclusion for Qualifying Reasons
If you sell before hitting two years, you may still qualify for a partial exclusion when the move is driven by work, health, or an unforeseeable event. For a work-related move, the new job location must be at least 50 miles farther from the home than your previous workplace was.7Internal Revenue Service. Publication 523, Selling Your Home For a health-related move, you must have relocated to obtain or provide medical care for yourself or a qualifying family member, or have a doctor’s recommendation for a change of residence.
Qualifying unforeseeable events include the home being destroyed or condemned, a natural disaster, divorce or legal separation, the death of a spouse or co-owner, loss of employment making you eligible for unemployment benefits, and giving birth to multiple children from the same pregnancy.7Internal Revenue Service. Publication 523, Selling Your Home The partial exclusion is prorated based on the fraction of the two-year requirement you met. Live in the home one year (365 of the required 730 days) and you can exclude up to half the maximum — $125,000 single, $250,000 married filing jointly.
The FHA 90- and 180-Day Rules
Even when you’re free to sell, HUD’s anti-flipping regulation at 24 CFR 203.37a limits which buyers can use FHA financing based on how long you’ve owned the home.8eCFR. 24 CFR 203.37a – Sale of Property
- Within 90 days of your acquisition, the property is not eligible for an FHA-insured mortgage at all. Any buyer who needs FHA financing cannot purchase your home during this window.
- Between 91 and 180 days, FHA financing is generally available, but if your sale price is more than double what you originally paid, the lender must obtain a second independent appraisal.
- After 180 days, no special FHA restrictions apply.
These rules do not stop you from selling to cash buyers or to buyers using conventional, VA, or USDA loans. They only shrink the FHA buyer pool for the first six months. In first-time buyer markets where FHA offers are common, losing them for 90 days can noticeably reduce competition.
Several sellers are exempt from the 90-day restriction entirely: property acquired by inheritance, homes bought by an employer or relocation agency in connection with a job transfer, state and local government agencies, HUD and other federal agencies, federally chartered financial institutions, and approved nonprofit organizations. HUD can also waive the rule temporarily for properties in presidentially declared disaster areas.
Check for a Prepayment Penalty
When your sale closes, the mortgage gets paid off. If your loan agreement includes a prepayment penalty, it comes out of your proceeds. The good news: since January 2014, federal law has sharply limited these penalties. Under the Dodd-Frank Act, codified at 15 U.S.C. § 1639c, non-qualified mortgages cannot include prepayment penalties at all, and qualified mortgages face strict limits during the first three years of the loan.9Office of the Law Revision Counsel. 15 USC 1639c – Minimum Standards for Residential Mortgage Transactions10Consumer Financial Protection Bureau. Ability to Repay and Qualified Mortgage Standards Under Truth in Lending Act Most standard fixed-rate and adjustable-rate conforming mortgages originated after 2014 carry no penalty.
Penalties are still possible on non-conforming, jumbo, or portfolio loans, and any mortgage originated before 2014 may include one. To check, review your Closing Disclosure or the Truth in Lending statement from your original closing. Those documents state whether a penalty exists and how it’s calculated.
Will the Numbers Actually Work?
Selling costs typically run 6% to 10% of the sale price — listing agent commission, transfer taxes, title insurance, escrow fees, and prorated property taxes. Since mid-2024, changes in industry practice mean buyers more often negotiate their own agent’s compensation separately, though sellers still commonly contribute through negotiated concessions.
Your sale proceeds have to cover the outstanding mortgage principal, interest accrued since your last payment, and all transaction fees before you see anything. If you have a home equity line of credit, you generally have to pay it off in full at closing, and some HELOCs charge an early termination fee if closed within the first few years.11Consumer Financial Protection Bureau. What You Should Know About Home Equity Lines of Credit
Early in a mortgage, most of each payment goes to interest rather than principal, so your equity is small. If you bought with a low down payment and sell within a year or two, transaction costs alone can exceed your equity, and you’d need to bring cash to closing to complete the sale.
If You’re Underwater
If the sale won’t cover the mortgage payoff and closing costs, you have negative equity. You can bring cash to closing to cover the shortfall and complete a standard sale, or you can try to negotiate a short sale — selling for less than the loan balance with the lender’s approval. A short sale requires you to document financial hardship, and the lender, not you, decides whether to accept a buyer’s offer.
One tax point to know: if the lender forgives part of your remaining balance, that canceled debt is generally treated as taxable ordinary income. The federal exclusion for canceled mortgage debt on a primary residence expired after December 31, 2025, so for sales closing in 2026 or later, the forgiven amount is taxable unless you qualify for the bankruptcy or insolvency exclusion.12Internal Revenue Service. Publication 4681, Canceled Debts, Foreclosures, Repossessions, and Abandonments The insolvency exclusion lets you reduce taxable canceled debt to the extent your total liabilities exceeded your total assets immediately before the cancellation. Homeowners who are underwater are often technically insolvent, so some or all of the forgiven debt may be excluded under that rule.