You can sell a house as soon as you want after buying it. No federal law and no standard mortgage contract forces you to wait. The question of how soon you can sell a house after buying it is really a question about cost: between capital gains taxes, agent commissions, transfer taxes, and loan-specific fees, selling in the first year or two usually means walking away with less than you put in, and sometimes writing a check at closing. Whether an early sale makes sense comes down to whether your sale price can absorb all of that.
Your Mortgage Does Not Stop You From Selling
Mortgage “seasoning” requirements are often confused with selling restrictions. They are not the same thing. Seasoning applies to refinancing: Fannie Mae, for example, requires borrowers to be on title at least six months before a cash-out refinance, and the first mortgage must be at least 12 months old.1Fannie Mae. Cash-Out Refinance Transactions None of that applies when you sell to a new buyer.
Most residential mortgages do contain a due-on-sale clause, which gives the lender the right to demand full repayment when ownership transfers.2eCFR. 12 CFR Part 191 – Preemption of State Due-on-Sale Laws That’s exactly what happens at any normal closing: the buyer’s funds pay off your remaining balance, the lender releases the lien, and you receive whatever is left. The clause is a repayment mechanism, not a lock on the door.
FHA Rules Can Shrink Your Buyer Pool
Your lender has no objection to the sale, but your buyer’s lender might. If the buyer is financing with an FHA loan, the property is not eligible for FHA mortgage insurance when the seller’s resale date falls 90 days or less after the seller originally acquired it.3eCFR. 24 CFR 203.37a – Sale of Property You can still sell to a cash buyer or someone using conventional financing, but FHA buyers are off the table during that window.
For resales between 91 and 180 days after you acquired the home, the property is generally FHA-eligible, but HUD requires extra documentation when the resale price is 100 percent or more above your original purchase price. That includes a second appraisal from a different appraiser, and the lender may need to show the price increase reflects actual rehabilitation work.3eCFR. 24 CFR 203.37a – Sale of Property HUD can adjust that threshold anywhere between 50 and 150 percent and can require extra documentation for resales up to 12 months after acquisition.
HUD exempts properties acquired through inheritance and properties sold by an employer or relocation agency in connection with an employee transfer.4U.S. Department of Housing and Urban Development. HUD Handbook 4000.1 – Restrictions on Property Flipping, Exceptions to Time Restrictions on Resale In those situations an FHA buyer can purchase without waiting out the 90 days.
The Tax Bill Is Usually the Biggest Cost
Two timelines matter here: one year and two years.
Sell within one year of buying and any profit is taxed as a short-term capital gain at your ordinary income tax rate. For 2026, that rate can reach 37 percent for individuals earning above $640,600.5Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 Hold the property more than a year but less than two and the gain qualifies for long-term capital gains rates of 0, 15, or 20 percent depending on income. Either way, you miss out on the much bigger tax break.
That break is the Section 121 exclusion. Section 121 of the Internal Revenue Code lets you 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 lived in the home for at least two of the five years before the sale.6Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence Sell before that two-year mark and the full profit is taxable unless you qualify for a partial exclusion.
High earners face another layer. The 3.8 percent net investment income tax applies to capital gains when modified adjusted gross income exceeds $200,000 for single filers or $250,000 for joint filers. Gains excluded under Section 121 are exempt from this surtax; anything above the exclusion is not.7Internal Revenue Service. Topic No. 559 – Net Investment Income Tax
Partial Exclusion for Hardship Sales
Selling before two years doesn’t automatically wipe out the exclusion. If the sale is driven by a job move, a health issue, or an unforeseen circumstance, you can claim a prorated share of the $250,000 or $500,000.6Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence This is where most early sellers can save real money, and it’s often overlooked.
The IRS recognizes three categories of qualifying events:
- A work-related move where your new job location is at least 50 miles farther from the home than your old workplace was. If you had no prior workplace, the new job must be at least 50 miles from the home.
- Health reasons, where a doctor recommends the move for diagnosis, treatment, or recovery of a medical condition affecting you, your spouse, or a household member.
- Unforeseen circumstances, including death, divorce or legal separation, job loss, inability to pay basic living expenses due to a change in employment status, birth of twins or higher-order multiples from the same pregnancy, casualty loss or condemnation of the home, or an act of terrorism.
The categories are set out in IRS Publication 523.8Internal Revenue Service. Publication 523 – Selling Your Home
The math is simple. Divide the months (or days) you owned and lived in the home by 24 months (or 730 days), then multiply by $250,000. Joint filers where both spouses meet the use requirement multiply by $500,000 instead.8Internal Revenue Service. Publication 523 – Selling Your Home If you lived in the home 14 months before a qualifying job transfer, your exclusion works out to 14 ÷ 24 × $250,000, or roughly $145,800. On a $100,000 gain, that shelters the entire profit.
Transaction Costs on Both Sides
Even without a tax bill, the costs of buying and then quickly reselling are hard to recover in a short holding period.
Commissions are the biggest line. After the NAR settlement changes that took effect in August 2024, buyer-agent compensation is negotiated separately and no longer advertised on the MLS. Sellers still typically pay their listing agent, and many still offer compensation to attract buyers. Total commissions across both sides currently average around 5.5 to 6 percent of the sale price. On a $400,000 home, that’s $22,000 to $24,000.
State and local transfer taxes vary a lot. About 16 states charge no state-level transfer tax at all; others charge from a fraction of a percent up to 3 percent in the highest tiers. County recording fees for the deed and other closing documents typically run $20 to $250.
Title insurance for the buyer’s policy, which the seller often covers depending on local custom, generally runs 0.5 to 1 percent of the sale price. Add escrow fees, notary charges, prorated property taxes, and any HOA transfer fees, and seller-side closing costs beyond commissions commonly land between 1 and 3 percent of the sale price.
Stack it all together and total selling costs often reach 7 to 9 percent of the sale price. Your home needs to appreciate by at least that much just to break even, and few properties move that far in under two years.
Loan-Specific Costs You May Owe
Prepayment Penalties
Some mortgages charge a fee for paying off the loan early, whether through a sale or a refinance, typically within the first three to five years.9Consumer Financial Protection Bureau. What Is a Prepayment Penalty? Where they exist, the fee can amount to several months of interest on the remaining balance. On a $300,000 loan at 6 percent, six months of interest is roughly $9,000.
Prepayment penalties are now rare on most residential mortgages. Under the qualified mortgage rules that took effect after the Dodd-Frank Act, lenders cannot charge prepayment penalties on loans that meet QM standards, which covers the vast majority of mortgages originated since January 2014. Check your loan estimate or closing disclosure to confirm. VA-backed loans explicitly prohibit prepayment penalties by federal regulation; the borrower has the right to prepay the full balance or any portion at any time without fee or premium.10eCFR. 38 CFR Part 36 – Loan Guaranty USDA-guaranteed loans carry similar protections.
USDA Subsidy Recapture
If you bought through a USDA Rural Development Single Family Housing Direct Loan with payment assistance, selling triggers subsidy recapture. The assistance you received is recorded as a lien, and USDA won’t release it until the recapture amount is paid in full.11Rural Development (USDA). Subsidy Recapture for Single Family Housing Direct Loans
The maximum recapture is capped at either 50 percent of the home’s appreciation or the total subsidy you received over the life of the loan, whichever is less.11Rural Development (USDA). Subsidy Recapture for Single Family Housing Direct Loans Paying off the loan and the recapture at the same time earns a 25 percent discount on the recapture balance. If you stay in the home after paying off the loan, recapture can be deferred until you eventually move or transfer title. Sell, and the full amount comes due at closing.
VA Entitlement Restoration
Veterans who sell a home bought with a VA loan need to take a step to restore full VA loan entitlement. Once the VA loan is paid off through the sale, the veteran can apply to restore entitlement by submitting VA Form 26-1880 with proof the loan was satisfied.12Veterans Benefits Administration. VA Form 26-1880 – Application to Restore Home Loan Guaranty Eligibility Skip this and part of your entitlement stays tied up, potentially reducing the guaranty on your next VA purchase.
If You Owe More Than the House Will Sell For
When the mortgage balance plus transaction costs exceeds what the home will sell for, you’re looking at a short sale, where the lender agrees to accept less than the full loan balance. The process is slow, requires lender approval, and the credit damage is comparable to a foreclosure, with the derogatory mark staying on your credit report for seven years. Depending on your state, the lender may also pursue a deficiency judgment for the remaining balance, so state law matters before you agree to terms. This is a different situation from a straightforward early sale and generally a last resort.
When an Early Sale Still Makes Sense
Most of the time, selling in the first year or two means losing money. Sometimes it’s still the right call. A job relocation to a city where you’d otherwise pay rent while carrying a mortgage can make an early sale the cheaper path, especially if you qualify for a partial Section 121 exclusion. Divorce, a death in the family, or needed repairs you can’t afford are all cases where holding longer only deepens the loss.
Before listing, add up every number: remaining mortgage balance, estimated commissions, transfer taxes, title and closing costs, any prepayment penalty or USDA recapture, and the tax on your gain. Compare that total against a realistic sale price. If the numbers leave you underwater, consider whether renting the property for a year or two could cover the mortgage while the home appreciates enough to break even. The two-year mark is the single most important threshold, because that’s when Section 121 kicks in and can shelter up to $250,000, or $500,000 for joint filers, from tax.