Tax Education

What Selling Expenses Reduce Capital Gains on a House?

A quick home-sale calculation can be misleading if you compare the purchase price directly with the sale price without considering the relevant transaction costs. One of the most common questions homeowners have is: what selling expenses reduce capital gains on a house?

Certain selling expenses can reduce the amount realized from the sale, which in turn affects the capital gain calculation. However, not every expense paid at closing automatically reduces your gain.

This article explains what selling expenses are, how they affect your home-sale gain calculation, and which expenses you should document.

⚑ Quick Answer

A simplified home-sale gain calculation generally compares the amount realized from the sale with the property's adjusted basis.

Amount Realized = Sale Price βˆ’ Qualifying Selling Expenses
Estimated Gain = Amount Realized βˆ’ Adjusted Basis
Important: Not every expense paid at closing automatically reduces your gain. The tax treatment depends on the specific expense and applicable tax rules. Keeping your closing statement and transaction records can help you reconstruct the calculation later.

What Are Selling Expenses?

Selling expenses are transaction-related costs associated with selling a property. These can include costs such as real estate commissions, certain closing costs, and other fees paid during the sale process.

When you sell a house, the sale price is not necessarily the same as the amount used in a simplified capital-gain calculation. Certain selling expenses may reduce the amount realized from the sale, which can reduce your estimated gain.

Keeping the final closing statement can make it much easier to reconstruct the sale calculation later.

How Selling Expenses Affect a Home-Sale Capital Gain

Selling expenses affect your capital gain by reducing the amount realized from the sale. The basic formula is:

Amount Realized = Sale Price βˆ’ Qualifying Selling Expenses
Then:
Estimated Gain = Amount Realized βˆ’ Adjusted Basis

If you have $35,000 in qualifying selling expenses, your amount realized is reduced by $35,000, which reduces your gain by the same amountβ€”all other things being equal.

Which Selling Expenses May Matter?

The table below summarizes common expenses and how they may relate to a home-sale calculation:

Expense Type How It May Relate to Sale Calculation What to Do
Real Estate Commission May reduce amount realized Keep commission records
Title Insurance May reduce amount realized Keep closing statement
Transfer Taxes May reduce amount realized Keep closing statement
Legal Fees May reduce amount realized Keep legal fee records
Recording Fees May reduce amount realized Keep closing statement
Repairs Generally not a selling expense Review tax treatment
Mortgage Payoff Not a selling expense Review separately
Property Taxes May depend on circumstances Review tax treatment
Home Improvements Affects basis, not amount realized Add to basis if qualifying
Moving Expenses Generally not a selling expense Review tax treatment

Real Estate Commissions

Real estate commissions are one of the most significant selling expenses for most home sales. A commission is generally a selling cost rather than a reduction in the property's original purchase price.

Example: If you sell a house for $500,000 and pay a $30,000 real estate commission, your amount realized for the simplified gain calculation would be $470,000, all other factors being equal.

Keeping records of commission payments can help support your calculation. The commission is typically shown on the closing statement.

Closing and Transaction Costs

Closing statements may contain many different charges. Not every closing cost automatically qualifies as a selling expense. The tax treatment depends on the nature of each expense.

Common transaction-related charges that may need to be reviewed include:

Important: Do not assume that every closing cost automatically reduces your gain. The tax treatment depends on the specific expense and applicable rules. Keep your settlement/closing statement for reference.

Which Expenses Should You Not Automatically Subtract?

Some expenses are often confused with selling expenses but generally should not be treated as automatically reducing the amount realized.

Mortgage Payoff

A mortgage payoff affects how much cash the seller receives, but it is not subtracted from the sale price to determine capital gain. This is an important distinction:

For example, if you sell a house for $500,000 and pay off a $300,000 mortgage, your cash proceeds would be $200,000 (minus other costs), but your capital gain is based on the sale price minus your adjusted basis.

Property Taxes

Property taxes and other ownership expenses should not be automatically treated as selling expenses. The tax treatment depends on the circumstances and applicable rules. Consult tax guidance or a professional for specific situations.

Repairs

Repairs made in preparation for a sale are generally not treated as selling expenses. They may or may not affect the calculation depending on the circumstances. Repair expenses are not the same as selling expenses.

Moving Expenses

Moving expenses are generally personal expenses and are not treated as selling expenses for capital gains purposes.

Worked Example

Let's walk through an example to see how selling expenses affect the calculation.

πŸ“Š Example: Selling a House with Expenses

Scenario: You sell your house for $600,000. You have $35,000 in qualifying selling expenses. Your original purchase price was $350,000 with $50,000 in qualifying improvements.

Step 1: Calculate Amount Realized
Sale Price$600,000
βˆ’ Selling Expenses-$35,000
Amount Realized$565,000
Step 2: Calculate Adjusted Basis
Purchase Price$350,000
+ Improvements+$50,000
Adjusted Basis$400,000
Step 3: Calculate Estimated Gain
Amount Realized$565,000
βˆ’ Adjusted Basis-$400,000
Estimated Gain$165,000
πŸ’‘ What this means: The $165,000 is the estimated gain in this simplified example. It is NOT automatically the amount of tax owed. Other rulesβ€”such as the home-sale exclusionβ€”may affect taxable gain and final tax liability.

Why the Closing Statement Matters

Sellers should retain their closing documents, including the closing disclosure or settlement statement. These documents can help reconstruct the sale calculation later.

Key documents to keep:

πŸ’‘ Practical tip: Keep these documents with your tax records. They can help support your calculation if needed for future reference.

Selling Expenses vs Home Improvements

It's important to understand the difference between selling expenses and capital improvements:

Both can affect your gain, but they work differently in the calculation. Selling expenses reduce your amount realized, while improvements increase your adjusted basis.

For more information, see our article: How Do Home Improvements Affect Capital Gains Tax?

What If the Property Was a Rental?

If the property was previously used as a rental, additional tax considerations may apply. Rental property can involve:

The treatment of selling expenses for rental property may also differ. For rental property guidance, consider consulting a qualified tax professional.

Capital Gains on Sale of Rental Property Calculator
Estimate gain, depreciation recapture, and total tax when selling a rental property.
Try Calculator β†’

Home-Sale Exclusion and Selling Expenses

Selling expenses and the home-sale exclusion are separate concepts:

Both concepts can work together. Selling expenses can reduce your gain, and the home-sale exclusion can reduce or eliminate tax on the remaining gain.

Important: The home-sale exclusion is not automatic. Eligibility depends on ownership, use, and other requirements. Consult tax guidance or a professional to verify your situation.

Common Mistakes

Here are some common mistakes to avoid when considering selling expenses:

How to Estimate Your Home-Sale Gain

Here's a practical checklist to help you prepare before calculating your home-sale gain:

For a quick estimate, use our Capital Gains Tax on Home Sale Calculator.

Capital Gains Tax on Home Sale Calculator
Calculate your estimated capital gain, home-sale exclusion, and tax when selling your home.
Try Calculator β†’

You may also find these related calculators helpful:

Frequently Asked Questions

Yes, qualifying selling expenses can reduce your capital gain by reducing the amount realized from the sale. A lower amount realized means a lower gain, all other factors being equal.

Yes, real estate commissions are generally considered selling expenses that may reduce the amount realized from the sale, which can reduce your capital gain.

Some closing costs may reduce the amount realized, depending on the nature of the cost. Not every closing cost automatically qualifies. Keep your closing statement for reference.

No. A mortgage payoff affects how much cash you receive, but it is not subtracted from the sale price to determine capital gain. Cash received is not the same as taxable gain.

Property taxes and other ownership expenses should not be automatically treated as selling expenses. The tax treatment depends on the circumstances and applicable rules.

Repairs made in preparation for a sale are generally not treated as selling expenses. They may or may not affect the calculation depending on the circumstances.

Yes. Improvements increase your adjusted basis, while selling expenses reduce your amount realized. Both affect your gain calculation, but they work differently.

Amount realized is generally the sale price minus qualifying selling expenses. It is the starting point for calculating your capital gain.

Keep your closing disclosure, settlement statement, commission records, purchase documents, improvement receipts, and any rental/depreciation records if applicable.

Yes. Selling expenses can affect the gain calculation for rental property as well. However, rental property also involves depreciation and other considerations.

Yes. Selling expenses reduce the amount realized (and thus the gain), while the home-sale exclusion can exclude a portion of the gain from tax. They are separate concepts.

Yes. Our Capital Gains Tax on Home Sale Calculator can help you estimate your gain based on the information you provide. However, calculators provide estimatesβ€”not official tax determinations.

SB
Written by Shabnam Bano
Last Updated: August 14, 2026
Tax Year: 2026
Disclaimer: This article is for educational and informational purposes only and is not tax, legal or financial advice. Tax treatment depends on individual circumstances, applicable federal and state rules, and current tax law. Consider consulting a qualified tax professional for advice about your specific situation.

Read full disclaimer β†’