You can legally sell your house the day after refinancing. No law limits when an owner can transfer title. The real question with selling a house after refinancing is what it costs you: the mortgage you just signed may include an occupancy commitment, a prepayment fee, and a loan balance that swallows much of the equity a sale would otherwise return to you. Add capital gains tax if you haven’t owned the home long enough, and an early sale can turn expensive fast.
The Occupancy Commitment You Signed
When you refinance into a primary-residence loan, the mortgage contract almost always requires you to live in the home for a minimum period. Owner-occupied homes default at lower rates than investment properties, and the lower interest rate you received was priced on the promise that you’d stay. Selling a few months later invites the lender to ask whether you ever intended to.
FHA loans require occupancy within 60 days of closing and use as a primary residence for at least 12 months. VA loans require buyers to certify intent to occupy, and most VA lenders write a 12-month primary-residency commitment into the loan documents.1U.S. Department of Veterans Affairs. VA Home Loan Buyers Guide Conventional loans typically carry the same 12-month expectation, though terms vary by lender.
Selling early is not automatically fraud. But if a lender concludes you never planned to live in the home and checked “primary residence” only to get a better rate, the consequences are serious. For FHA-insured loans, false statements to influence HUD or the FHA are a federal crime under 18 U.S.C. § 1010, punishable by up to two years in prison.2Office of the Law Revision Counsel. 18 USC 1010 For conventional mortgages through federally insured banks and credit unions, 18 U.S.C. § 1014 sets fines up to $1,000,000 and imprisonment up to 30 years.3Office of the Law Revision Counsel. 18 USC 1014
Before any criminal referral, lenders usually reach for the acceleration clause in the mortgage. Acceleration means the entire remaining balance becomes due immediately, and if you can’t pay in full, the lender can foreclose even though every monthly payment is current. A civil claim for the rate differential between owner-occupied and investment terms is also possible, though in practice most lenders accelerate and move toward foreclosure rather than litigate separately.
If a genuine life event forces the sale — a job relocation, military deployment, medical emergency, divorce — document it. Keep the transfer orders, doctor’s letters, or court filings. Lenders routinely grant exceptions when the move is clearly involuntary. The risk sits with people who took a primary-residence rate intending to rent or flip the property.
Prepayment Penalties
A prepayment penalty is a fee the lender charges when you pay the loan off early, and a home sale counts. Federal regulations under 12 CFR § 1026.43(g) cap these penalties on qualified mortgages: they cannot last beyond three years after closing, and the maximum charge is 2% of the prepaid balance during the first two years and 1% during the third year.4eCFR. 12 CFR 1026.43(g) On a $300,000 balance, that’s up to $6,000 in years one and two and $3,000 in year three.
The same regulation requires lenders to offer an alternative loan without a prepayment penalty at origination. If you were never given that choice, the penalty may not be enforceable. The prepayment terms will be spelled out in your Closing Disclosure or the promissory note addendum, so check there before you assume anything.
FHA loans prohibit prepayment penalties entirely. HUD’s regulations require FHA-insured mortgages to allow prepayment at any time, in any amount, without a fee.5Federal Register. FHA Handling Prepayments VA and USDA loans carry the same protection. If you refinanced into any of these government-backed programs, this cost isn’t a concern.
Capital Gains Tax on an Early Sale
Refinancing doesn’t trigger a tax event and doesn’t reset the clock on how long you’ve owned the home. Selling does. Under Section 121 of the Internal Revenue Code, you can exclude up to $250,000 of profit on the sale of a primary residence, or $500,000 for a married couple filing jointly, as long as you owned and lived in the home for at least two of the five years before the sale.6Office of the Law Revision Counsel. 26 USC 121 The two years don’t need to be consecutive; they need to add up inside the five-year window.
The ownership period runs from your original purchase, not from the refinance. If you bought in 2022 and refinanced in 2025, you already meet the two-year test. The trouble comes when a recent purchase, a quick refinance, and a forced sale all land inside the same 24-month stretch.
Partial Exclusion for Hardship Sales
If you sell before hitting two years, a partial exclusion may still be available when the move is driven by work, health, or an unforeseeable event. The IRS defines these categories with some specificity:7Internal Revenue Service. Publication 523, Selling Your Home
- A work-related move to a job or transfer at least 50 miles farther from the home than your previous workplace.
- A health-related move to obtain medical care, provide care for a family member, or follow a doctor’s recommendation for a health condition.
- An unforeseeable event such as the home being destroyed or condemned, a divorce or legal separation, eligibility for unemployment, or an inability to afford basic living expenses because of a change in employment status.
The partial exclusion is prorated by the fraction of the two-year period you actually met. Fifteen months of use qualifies you for 15/24 of the full amount.
What You Owe If You Don’t Qualify
Any profit above your exclusion — or all of the profit, if no exclusion applies — is taxed as a capital gain. Own the home more than a year and long-term rates apply. For 2026, the federal rate is 0% on taxable income up to $49,450 for single filers ($98,900 jointly), 15% up to $545,500 ($613,700 jointly), and 20% above those thresholds.8IRS.gov. 2026 Adjusted Items (Rev. Proc. 2025-32) Own it a year or less and the gain is taxed as ordinary income at your regular rate, which can reach 37%. High earners may also owe the 3.8% Net Investment Income Tax on top.
Section 121 is also limited to once every two years. If you claimed the exclusion on another home sale within the past 24 months, it’s off the table for this one regardless of how long you’ve lived in the current home.6Office of the Law Revision Counsel. 26 USC 121
What the Refinance Costs Do to Your Sale Proceeds
Refinancing typically costs 3% to 6% of the loan principal in closing fees, covering appraisal, title insurance, origination charges, and various lender fees.9Freddie Mac. Costs of Refinancing Many borrowers roll those costs into the new loan. A $200,000 refinance can produce a new balance of $206,000 to $212,000 before the first payment. Every dollar added to the loan is a dollar subtracted from your equity.
Cash-out refinances compress equity more aggressively. Conventional lenders generally cap cash-out at 80% of the home’s value, so at least 20% equity has to remain in the home. Sell shortly afterward and the loan balance is significantly higher than it was, while the home’s value may not have moved. That thin equity can disappear entirely once selling costs come in.
Before deciding, run the break-even. Divide total refinancing costs by the monthly payment savings the new loan produces. If the refinance cost $7,500 and cut your payment by $250 a month, you need 30 months in the home just to recover the fees. Sell earlier and you paid for a loan you never benefited from.
Then add selling expenses. Agent commissions commonly run 5% to 6% of the sale price, and seller closing costs add another 1% to 3%. On a $300,000 sale, that’s roughly $18,000 to $27,000 out the door. If the home hasn’t appreciated enough to cover the higher loan balance plus these costs, you’ll either bring cash to closing or ask the lender to approve a short sale. Neither is a good landing spot.
How the Existing Loan Gets Paid Off
Selling with a mortgage in place is routine, and the refinance doesn’t change the mechanics. Request a payoff statement from your lender. It shows the exact amount needed to clear the loan as of a specific date, with interest accruing on a daily basis and any prepayment fee included. The payoff figure won’t match your current balance because of that per-diem interest.
At closing, the title company or escrow officer handles the money. Buyer funds come in, the payoff is wired to your lender, commissions and closing costs are deducted, and what’s left goes to you. You don’t need to produce the payoff amount out of pocket; it’s paid from the sale proceeds. After the lender receives payment, it has 30 to 60 days, depending on the jurisdiction, to record a lien release with the local land records office. Confirm the release was recorded, because a stale lien creates problems the next time the property changes hands.