Skip to main content

Thinking of Selling Your Home? Don’t Be Surprised by Capital Gains Taxes

The Taxpayer Relief Act of 1997 provided homeowners who sell their principal residence an exclusion from capital gains taxes of $250,000 for single filers and $500,000 for joint filers. At that time, the average price of a new home was about $145,000, so this exclusion seemed generous and allowed more Americans to move freely from one home to another.1 Unfortunately, the exclusion was not indexed to inflation, and what seemed generous in 1997 can be restrictive in 2024.



Capital gains taxes apply to the profit from selling a home, so they may be of special concern — and potential surprise — for older homeowners who bought their homes many years ago and might yield well over $500,000 in profits if they sell. In some areas of the country, a home bought for $100,000 in the 1980s could sell for $1 million or more today.2 At a federal tax rate of 15% or 20% (depending on income) plus state taxes in some states, capital gains taxes can take a big bite out of profits when selling a home. Fortunately, there are some things you can do to help reduce the taxes.

Qualifying for exclusion

In order to qualify for the full exclusion, you or your spouse must own the home for at least two years during the five-year period prior to the home sale. You AND your spouse (if filing jointly) must live in the home for at least two years during the same period. The exclusion can only be claimed once every two years. There are a number of exceptions, including rules related to divorce, death, and military service. If you do not qualify for the full exclusion, you may qualify for a partial exclusion if the main reason for the home sale was a change in workplace location, a health issue, or an unforeseeable event.

Increase basis for lower taxes

The capital gain (or loss) in selling a home is determined through a two-part calculation. First, the selling price is reduced by direct selling costs, including certain fees and closing costs, real estate commissions, and certain costs that the seller pays for the buyer. (The amount of any mortgage pay-off is not relevant for determining capital gains.) This yields the amount realized, which is then reduced by the adjusted basis.

The basis of your home is the amount you paid for it, including certain costs related to the purchase, plus the costs of improvements that are still part of your home at the date of sale. In general, qualified improvements include new construction or remodeling, such as a room addition or major kitchen remodel, as well as repair-type work that is done as part of a larger project. For example, replacing a broken window would not increase your basis, but replacing the window as part of a project that includes replacing all windows in your house would be eligible. This basis is adjusted by adding certain payments, deductions, and credits such as tax deductions and insurance payments for casualty losses, tax credits for energy improvements, and depreciation for business use of the home. (See hypothetical example below.)


Hypothetical Example

Pete and Joanne purchased their home for $100,000 in 1985 and sold it for $800,000 in 2024.
This is how their capital gains might be calculated.
 

Capital gains Basis
   

     $800,000 sales price

     $100,000 purchase price

–   $50,000 direct selling costs 

+   $8,000 purchase costs

     $750,000 amount realized 

+   $52,000 improvements

–   $150,000 adjusted basis

     $160,000 total basis

     $600,000 capital gain

–   $10,000 solar energy credit

–   $500,000 capital gains exclusion

     $150,000 adjusted basis

     $100,000 taxable gains

 

At a 15% rate — which applies to most taxpayers —
this would cost $15,000 in federal capital gains taxes.

This hypothetical example of mathematical principles is for illustration purposes only. Actual results will vary.


Inheriting a home

Upon the death of a homeowner, the basis of the home is stepped up (increased) to the value at the time of death, which means that the heirs will only be liable for future gains. In community property states, this usually also applies to a surviving spouse. In other states, the basis for the surviving spouse is typically increased by half the value at the time of death (i.e., the value of the deceased spouse’s share).

Determining the capital gain on a home sale is complex, so be sure to consult your tax advisor. For more information, see IRS Publication 523 Selling Your Home.

This information is intended for use only by residents of (AZ, CA, CO, DC, FL, GA, HI, IL, KS, MA, MI, NC, NE, NV, NY, OK, OR, PA, RI, SC, TX, UT, VA, WA). Securities-related services may not be provided to individuals residing in any state not listed above. Please consult with the FA as s/he may not be registered in all states.

For parties residing outside of the U.S., this information is: (i) provided for informational purposes only, (ii) not and should not be construed in any manner as an offer to participate in any investment or to buy or sell any securities or related financial instruments, and (iii) not and should not be construed in any manner as a public offering of any financial services, securities or related financial instruments. Products and services listed may not be available, or may have restrictions, depending on client country of residence.

Investment products and services are offered through Wells Fargo Advisors Financial Network, LLC (WFAFN). Wells Fargo Advisors is the trade name used by Wells Fargo Clearing Services, LLC and WFAFN, Members SIPC, separate registered broker-dealers and non-bank affiliates of Wells Fargo & Company. Any other referenced entity is a separate entity from WFAFN.

Insurance products are offered through nonbank insurance agency affiliates of Wells Fargo & Company and are underwritten by unaffiliated insurance companies.

A note about Social Media: Opinions, comments and actions taken on Social Media are those of the third party and do not necessarily reflect the views of the creator of this profile or of the firm. Social Media is intended for U.S. residents only and subject to the following terms: wellsfargoadvisors.com/social.

© 2022 Wells Fargo Clearing Services, LLC. All rights reserved.

FINRA’s BrokerCheck Obtain more information about our firm and its financial professionals

FINRA’s BrokerCheck Obtain more information about our firm and its financial professionalsX