There is no legal minimum on how long after buying a house you can sell it — you can list the day after closing if you want to. The real question is what it will cost you. Sell within the first two years and you almost certainly lose the federal capital gains exclusion worth up to $250,000 for a single filer or $500,000 for a married couple, and agent commissions plus closing costs of 6% to 10% of the sale price often erase whatever profit is left. For most owners, the financially meaningful waiting period is two years, not zero.
No Law Says You Have to Wait
Once your deed is recorded with the county, you hold full ownership and the right to sell to any willing buyer at any agreed price. No federal or state statute imposes a minimum holding period on residential real estate. The “waiting periods” people hear about all come from somewhere else: mortgage contracts, tax rules that penalize short ownership, FHA insurance restrictions on the buyer’s side, and repayment terms in down payment assistance programs. The question is never whether you can sell. It is whether you can afford to.
What Selling Early Actually Costs
Three costs stack up on a quick sale, and most sellers underestimate all of them.
Agent commissions come first. The average combined commission for buyer’s and seller’s agents was 5.44% nationally in 2025, with statewide averages ranging from roughly 4.9% to 6%. On a $400,000 home, that’s around $21,800 off the top. The 2024 NAR settlement ended the requirement that sellers pay the buyer’s agent, but most listing agents still recommend offering that fee as a concession to draw offers.
Other closing costs pile on. Sellers pay transfer taxes (zero to about 3% of the sale price depending on the state), title insurance, prorated property taxes, and various recording and escrow fees. All in, total seller closing costs typically land at 6% to 10% of the sale price.
Then there’s equity, or the lack of it. Early mortgage payments go overwhelmingly to interest, not principal. On a typical 30-year loan, it takes roughly 21 to 22 years to pay down half the original balance. A year in, you’ve barely dented what you owe, so the sale proceeds have to clear a loan balance almost as large as the day you bought. Combine that with the commissions and closing costs above and sellers who owned for less than two or three years frequently bring a check to closing rather than leaving with one.
Capital Gains Tax If You Sell Before Two Years
The Exclusion You Lose
The biggest tax benefit available to homeowners is the ability to exclude up to $250,000 in profit from the sale of a primary residence, or $500,000 for married couples filing jointly. To qualify, you must have owned and used the home as your main residence for at least two of the five years before the sale. Both spouses must meet the use requirement to claim the larger exclusion on a joint return.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
Sell before the two-year mark without qualifying for a partial exclusion, and every dollar of profit is taxable. This is where most of the pain comes from on a quick sale of a home that appreciated.
Short-Term Versus Long-Term Rates
How much you owe depends on how long you held the property. Owned for one year or less, your profit is a short-term capital gain, taxed at ordinary income rates. For 2026, the top federal rate is 37% for single filers earning above $640,600 or married couples above $768,700.2Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 Short-term gains stack on top of your other income, so a large profit can push you into a higher bracket even if you don’t normally sit near the top.
Hold the property more than one year but less than two, and the profit shifts to long-term capital gains status. Long-term rates run 0%, 15%, or 20% depending on your taxable income.3Internal Revenue Service. Topic No. 409, Capital Gains and Losses You still lose the Section 121 exclusion, but the rate on the gain drops substantially compared with a sale inside the first year.
The 3.8% Net Investment Income Surtax
Higher-earning sellers face another layer. The net investment income tax adds 3.8% on top of your capital gains rate if your modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples filing jointly.4Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax The surtax applies only to gain that isn’t excluded under Section 121, so a seller who qualifies for the full exclusion won’t owe it on the excluded portion.5Internal Revenue Service. Topic No. 559, Net Investment Income Tax If you’re selling before two years and the whole gain is taxable, the surtax can push your effective rate on the profit above 23%.
Calculating the Taxable Gain
Your taxable gain is not simply the sale price minus what you paid. The IRS lets you increase your cost basis by adding certain closing costs from when you bought the home, including title insurance, legal fees, recording fees, survey charges, and transfer taxes you paid at purchase.6Internal Revenue Service. Publication 523 (2025), Selling Your Home Capital improvements you made while you owned the home also increase your basis. Mortgage-related fees like loan origination points, appraisal fees required by the lender, and mortgage insurance premiums do not count.7Internal Revenue Service. Property (Basis, Sale of Home, Etc.) 3
On a quick sale, every dollar you can add to your basis is a dollar that escapes tax. Buy at $350,000 with $8,000 in qualifying closing costs, and your basis is $358,000. Sell at $380,000, and the taxable gain is $22,000 rather than $30,000.
Partial Exclusion for Job, Health, or Unforeseen Events
Selling before two years does not always mean losing the exclusion completely. If you sell because of a job relocation, a health condition, or certain unforeseen circumstances, you can claim a prorated share of the $250,000 or $500,000 exclusion.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
The events that trigger a partial exclusion include:
- A work-related move where your new workplace is at least 50 miles farther from the home than your previous workplace was.
- Health reasons: a doctor recommended the move due to illness, or you sold because of the death of a spouse, co-owner, or someone you intended to live with.
- Unforeseen circumstances such as divorce or legal separation, involuntary conversion of the home (a natural disaster or condemnation), job loss that made housing costs unaffordable, or the birth of multiple children from the same pregnancy.
The math is simple. Take the number of months you owned and lived in the home, divide by 24, and multiply by $250,000 (or $500,000 on a qualifying joint return). Lived in the home 14 months before a qualifying job transfer? Your exclusion is 14 ÷ 24 × $250,000 = $145,833.6Internal Revenue Service. Publication 523 (2025), Selling Your Home For a home owned only a year or so, that prorated amount often covers the entire gain and wipes out the tax bill.
You don’t need to fit a listed safe harbor precisely. If your situation doesn’t match exactly, you can still claim the partial exclusion by showing that one of these general circumstances was the primary reason you sold. The safe harbors just make approval automatic.
The FHA 90-Day Rule Limits Your Buyer Pool
Even if you are ready to sell, federal mortgage insurance rules can shrink your buyer pool. The FHA will not insure a mortgage for a buyer purchasing a home that was acquired by the seller fewer than 91 days earlier. The clock starts on the seller’s settlement date and runs until the new buyer signs a purchase contract.8Federal Register. Prohibition of Property Flipping in HUDs Single Family Mortgage Insurance Programs A large share of first-time buyers use FHA financing, so this restriction can meaningfully cut the offers you receive if you list in the first three months.
Sales between 91 and 180 days after the seller’s purchase face extra scrutiny. If the resale price is more than double what the seller paid, FHA requires the lender to obtain a second independent appraisal documenting that the higher price is justified by renovations or market conditions.8Federal Register. Prohibition of Property Flipping in HUDs Single Family Mortgage Insurance Programs
Two narrow exemptions apply. The 90-day ban does not cover properties sold by HUD itself out of its foreclosure inventory, or homes purchased by an employer or relocation company in connection with an employee transfer.8Federal Register. Prohibition of Property Flipping in HUDs Single Family Mortgage Insurance Programs There is no general hardship exception. If your buyer needs FHA financing and you are inside the 90-day window, the deal cannot close.
What Your Mortgage Contract May Require
Due-on-Sale Clause
Nearly every residential mortgage includes a due-on-sale clause, which lets the lender demand full repayment the moment you sell or transfer the property. Federal regulations under the Garn-St. Germain Act make these clauses enforceable regardless of state law.9eCFR. 12 CFR Part 191 – Preemption of State Due-on-Sale Laws In practice, this isn’t usually a problem because the sale proceeds pay off the mortgage at closing. If you owe more than the home sells for, you will need to cover the shortfall out of pocket or negotiate a short sale with your lender.
Prepayment Penalties
Paying off a mortgage early through a sale can trigger a prepayment penalty if your loan includes one. Federal rules under the Dodd-Frank Act largely ban prepayment penalties on qualified mortgages, which covers the vast majority of conventional loans originated since 2014.10Consumer Financial Protection Bureau. Summary of the Ability-to-Repay and Qualified Mortgage Rule Loans that still carry these penalties tend to be non-qualified products like certain jumbo loans, hard money loans, or subprime products. Where penalties exist, they are often around 2% of the remaining balance. Check your promissory note and closing disclosure before listing.
Occupancy Certification
If you took out a primary residence mortgage (conventional, FHA, or VA), you signed a certification that you intended to live in the home. Selling quickly doesn’t automatically violate that certification, but it can raise suspicion that you never planned to occupy the property. VA borrowers are expected to move in within 60 days of closing, and most lenders treat 12 months of occupancy as sufficient proof of intent.
The consequences of occupancy fraud are severe. Misrepresenting your intent to occupy a home to get a lower interest rate is a federal crime carrying penalties of up to $1,000,000 in fines and 30 years in prison. Even short of criminal prosecution, a lender that discovers the misrepresentation can accelerate the loan and initiate foreclosure. The practical risk for someone who genuinely moved in but needs to sell early is low, but keep documentation of your occupancy (utility bills, voter registration, mail delivery) in case the lender asks questions.
Down Payment Assistance Clawbacks
If you used a down payment assistance program or subsidized loan to buy the home, selling early almost certainly triggers a repayment obligation. These programs typically require you to live in the home for a set period, often 5 to 15 years, in exchange for forgivable loans or grants. Sell before the term expires, and you owe back some or all of the assistance. Many programs reduce the repayment amount gradually over the required period, so selling in year three costs more than selling in year eight.
The repayment obligation is usually recorded as a secondary lien against the property, meaning it must be paid off at closing before you receive any proceeds. On a home that hasn’t appreciated much, this lien can consume what little equity you have. Before listing, contact the agency that administered your assistance to get the exact payoff amount. Sellers who skip this step sometimes discover at the closing table that they owe more than they expected.
The Milestones That Change the Math
The numbers shift at a few clear points. Selling inside the first year exposes your gain to short-term rates up to 37%, the FHA buyer restrictions are tightest in the first 90 days, and you have built almost no equity through mortgage payments. Crossing the one-year mark drops the tax on any profit to the long-term capital gains schedule, which tops out at 20% for most sellers.3Internal Revenue Service. Topic No. 409, Capital Gains and Losses
Two years is the threshold that matters most. Once you have owned and lived in the home for two of the past five years, the full Section 121 exclusion shelters up to $250,000 in gain (or $500,000 for a married couple filing jointly) from federal tax entirely.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence For most homeowners, that exclusion covers the entire profit. If you can hold until the two-year anniversary, do it.
If you can’t, run the numbers with a tax professional before listing. Calculate your adjusted basis, estimate closing costs and commissions, check whether you qualify for a partial exclusion, and factor in any assistance program repayment. Sellers who do this math in advance rarely get blindsided at closing. Sellers who skip it almost always do.