What Happens to Equity When You Sell Your House?

When you sell your house, the equity you’ve built becomes cash at closing, but only what’s left after the closing agent pays off every mortgage and lien on the title, deducts the transaction costs, and sets aside anything owed in tax. A seller with $200,000 in gross equity rarely walks away with $200,000. The gap depends on how much debt the property carries, what the sale itself costs, and whether the profit is large enough to trigger capital gains tax.

Figuring Out Your Gross Equity First

Equity is the home’s fair market value minus everything you owe against it. Market value comes from a comparative market analysis by your agent or a formal appraisal. Your county’s tax assessment is not the same number; assessed values are usually a fraction of market value and exist only to calculate property taxes.

From that market value, subtract every balance secured by the property: the primary mortgage, any home equity loan or line of credit, and any other recorded lien. What’s left is your gross equity, the figure before transaction costs chip away at it.

One detail trips up sellers routinely. Your monthly mortgage statement does not show the amount needed to close out the loan. The servicer issues a separate payoff statement that includes interest accruing daily through the expected closing date plus any discharge or recording fees the lender charges. Federal rules require your servicer to deliver an accurate payoff statement within seven business days of a written request.1Consumer Financial Protection Bureau. 12 CFR 1026.36 – Prohibited Acts or Practices and Certain Requirements for Credit Secured by a Dwelling

Debts Paid Off the Top

Before you see a dollar, the closing agent uses the sale price to clear every lien attached to the property. The buyer is paying for clean title, and the settlement process guarantees they get it.

The Primary Mortgage and Any HELOC

The first mortgage takes the biggest bite. A home equity line of credit gets paid in full from the proceeds too, and the lender releases its lien and closes the line permanently. HELOCs do not transfer to the buyer. If you carry both a first mortgage and a HELOC balance that crept up over the years, the combined payoff can be a sobering number.

Involuntary Liens

Debts you didn’t choose to put on the title can also claim a share. Federal tax liens, state judgment liens, and contractor liens for unpaid work all attach to the property and have to be cleared before the deed transfers. The title search surfaces them. Sellers sometimes discover a forgotten judgment or contractor lien they assumed had expired; the title company catches it regardless.

Prepayment Penalties

Most mortgages originated in the past decade are qualified mortgages, which generally prohibit prepayment penalties under rules established by the Dodd-Frank Act.2Legal Information Institute. Dodd-Frank Title XIV – Mortgage Reform and Anti-Predatory Lending Act Older loans, some adjustable-rate products, and non-qualified mortgages may still include one. If yours does, the closing agent deducts it from your proceeds.3Consumer Financial Protection Bureau. 12 CFR 1026.18 – Content of Disclosures This cost doesn’t appear on monthly statements, so check your original loan documents or call the servicer before you list.

Closing Costs That Come Out of Your Share

After the debts are cleared, closing costs take their cut. For most sellers these run roughly 6 to 8 percent of the sale price, with agent commissions the largest piece.

Agent Commissions

Real estate commissions have historically totaled 5 to 6 percent of the sale price, split between the listing agent and the buyer’s agent. That changed in August 2024, when a major industry settlement ended the practice of sellers automatically offering buyer-agent compensation through the MLS. You now negotiate your listing agent’s fee directly, and buyer’s agents negotiate separately with their own clients. Many sellers still offer some buyer-agent compensation to attract offers, but the total percentage is increasingly negotiable. This is the single biggest line item most sellers can influence.

Title Insurance, Transfer Taxes, and Recording Fees

Title insurance protects the buyer and the buyer’s lender against future ownership disputes. Who pays for the buyer’s policy varies by local custom and by what you negotiate; in some markets the seller covers it, in others the buyer does, and sometimes the cost is split.4National Association of REALTORS. What Is Title Insurance

State and local governments often impose transfer taxes when a property changes hands. Rates vary widely by jurisdiction. Recording fees for filing the new deed are comparatively small, typically a few hundred dollars or less depending on the county.

Prorated Property Taxes and HOA Dues

Property taxes and HOA dues are divided between you and the buyer based on how much of the billing period each party owns the home. If you’ve prepaid property taxes through December and close in June, the buyer reimburses you for the remaining months. If taxes are paid in arrears, the closing agent deducts your share and credits it to the buyer. These adjustments can work for or against you depending on timing, and they appear as line items on the closing statement.

Whether You’ll Owe Capital Gains Tax

The IRS treats profit from a home sale as a capital gain. Most homeowners selling a primary residence owe nothing, because of an exclusion that has sheltered the majority of home sales since 1997.

The Section 121 Exclusion

If you owned and lived in the home as your primary residence for at least two of the five years before the sale, you can exclude up to $250,000 of gain from your taxable income. Married couples filing jointly can exclude up to $500,000, provided both spouses meet the use requirement and at least one meets the ownership requirement.5Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence These dollar limits have not been adjusted for inflation since the provision was enacted.

Partial Exclusion for Early Sales

Selling before you hit the two-year mark because of a job relocation, a health condition, or certain unforeseen circumstances qualifies you for a prorated portion of the exclusion. The reduced limit equals the fraction of the two-year requirement you actually satisfied, multiplied by the full $250,000 or $500,000. A single homeowner who lived in the property for one year before relocating for work, for example, could exclude up to $125,000.5Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence

How the Gain Itself Is Measured

Your taxable gain is not the sale price minus what you originally paid. You subtract your adjusted basis, which starts with the purchase price and increases by the cost of capital improvements. A new roof, an addition, and a full kitchen remodel count. Routine maintenance like painting or fixing a leaky faucet does not.6Internal Revenue Service. Property (Basis, Sale of Home, etc.) 3 Keeping receipts for improvement projects over the years directly reduces your taxable gain at sale.

Anything above the exclusion is taxed at long-term capital gains rates of 0, 15, or 20 percent depending on your total taxable income for the year.7Internal Revenue Service. Topic No. 409, Capital Gains and Losses The income thresholds for each bracket adjust annually for inflation.

The 3.8 Percent Surtax for High Earners

High earners face an additional 3.8 percent net investment income tax on gain that exceeds the Section 121 exclusion. It applies once your modified adjusted gross income passes $200,000 for single filers or $250,000 for married couples filing jointly.8Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax These thresholds are not indexed for inflation and have remained the same since the tax took effect in 2013. A seller with a gain above the exclusion and income above these thresholds could face a combined rate as high as 23.8 percent on the taxable portion.

Reporting the Sale

The closing agent typically files IRS Form 1099-S reporting the gross proceeds. If your entire gain falls within the Section 121 exclusion, you can sign a certification at closing confirming the gain is fully excludable, which exempts the transaction from 1099-S reporting.9Internal Revenue Service. Instructions for Form 1099-S Proceeds From Real Estate Transactions Even if a 1099-S is filed, you won’t owe tax on the excluded portion; you just need to report the sale correctly on your return.

If You’re Selling From Outside the United States

If you are not a U.S. citizen or resident alien, FIRPTA requires the buyer to withhold 15 percent of the total sale price, not just the profit, and remit it to the IRS.10Internal Revenue Service. FIRPTA Withholding On a $400,000 home, that is $60,000 held back regardless of how much gain you actually realized. The withholding is a prepayment, not a final tax. You file a U.S. return afterward and claim a refund for anything over the real liability, though the refund can take months. Foreign sellers can apply for a withholding certificate before closing to reduce the amount if the expected tax is lower. If the buyer fails to withhold and the seller does not pay the tax, the buyer can be held personally liable for the amount plus interest and penalties.11Office of the Law Revision Counsel. 26 USC 1445 – Withholding of Tax on Dispositions of United States Real Property Interests

When the Mortgage Is Bigger Than the Home’s Value

Negative equity means a standard sale won’t generate enough to pay off the lender. You cannot sell and simply walk away from the difference. The two usual paths are a short sale or a deed in lieu of foreclosure.

A short sale means selling for less than the outstanding balance with the lender’s approval. The lender agrees to accept a reduced payoff and release its lien so the deal can close. Approval requires demonstrating genuine financial hardship such as a job loss or serious medical expenses. A drop in home value alone does not qualify. The process is slow and documentation-heavy, and the lender is under no obligation to approve.

Here is the detail most sellers miss. The gap between what the lender is owed and what the sale brings in, called the deficiency, does not automatically disappear. In many states the lender can pursue a deficiency judgment against you for the remaining balance and collect through wage garnishment or bank levies. A handful of states prohibit deficiency judgments after short sales in certain circumstances, but you cannot assume yours is one of them. If you negotiate a short sale, push for an explicit written waiver of the deficiency in the approval letter. If the agreement is silent on the point, assume the lender keeps the right to collect.

How and When You Get the Money

Once the closing agent confirms every lien, fee, and obligation is satisfied, the balance left over is your net proceeds. Timing depends on where the property is located. Most states use wet funding, where money changes hands at the closing table or within 48 hours. A smaller number use dry funding, where documents are signed first and funds are released a few business days later after recording. Your closing agent will tell you which applies.

You will choose between a wire transfer and a cashier’s check. Wires are faster, though your bank may charge an incoming wire fee. Cashier’s checks avoid that fee, but your bank may place a hold before the funds are fully available. For large proceeds, most sellers prefer the wire.

The Closing Disclosure, a standardized document required for most residential mortgage transactions, gives a line-by-line accounting of every charge, credit, and adjustment made from the sale price.12Consumer Financial Protection Bureau. 12 CFR 1026.38 – Content of Disclosures for Certain Mortgage Transactions (Closing Disclosure) Every dollar deducted from your gross sale price appears on it. Read it carefully before signing. Errors in closing math are uncommon, but they are expensive to unwind once funds have been disbursed.13Consumer Financial Protection Bureau. Closing Disclosure Explainer