Capital Gains When Selling A House

How capital gains tax applies when selling a house in Milwaukee, the difference between a primary residence and a rental, and what a 1031 exchange changes.

Whether a Milwaukee house sale triggers a capital gains bill depends almost entirely on one distinction: was the home a primary residence or was it held as a rental or investment property. That single fact determines which set of rules applies, and conflating the two is the most common mistake sellers make when estimating what they will owe.

Primary Residence: The Section 121 Exclusion

A homeowner who has lived in the property as a primary residence for at least two of the five years before the sale can generally exclude up to 250,000 dollars of gain from taxable income, or up to 500,000 dollars for a married couple filing jointly. Most Milwaukee homeowners selling a house they have lived in fall entirely inside this exclusion and owe no federal capital gains tax on the sale at all.

When The Exclusion Does Not Fully Apply

A few situations push a sale outside the standard exclusion, or reduce it.

  • the property was rented out for a period before the sale, which can create a partial exclusion under the nonqualified use rules
  • the gain exceeds the 250,000 or 500,000 dollar threshold, with the excess taxed at capital gains rates
  • the two-of-five-year residency test is not met due to a short ownership period
  • depreciation was claimed on a home office or a portion of the property used for a rental

A Rental Or Second Home Is A Different Calculation Entirely

A house in Wauwatosa or Shorewood that was never the seller's primary residence, or was converted from a residence into a rental years before sale, generally does not qualify for the Section 121 exclusion at all. That sale is taxed as an investment property sale, with the full gain subject to capital gains rates and any depreciation claimed subject to recapture, following the same rules that apply to a commercial building rather than the rules that apply to a personal home.

Where A 1031 Exchange Comes Into The Picture

Because a 1031 exchange requires the relinquished property to be held for investment or business use, it generally does not apply to the sale of a personal residence protected by the Section 121 exclusion. It becomes relevant specifically for the rental or second-home scenario above, where an owner selling a Milwaukee investment house wants to defer the gain into another investment property rather than pay tax on the full amount in the year of sale.

Getting The Classification Right Before Listing

Because the tax treatment diverges so sharply between a primary residence and an investment property, the first step for any Milwaukee seller is confirming which category the house actually falls into, including any period of rental use that might create a partial exclusion. Getting this wrong in either direction, assuming a full exclusion that does not apply or assuming a taxable sale on a home that actually qualifies, leads to either an unpleasant surprise at tax time or unnecessary exchange coordination that was never required.

Common Tax Questions

How much gain can a homeowner exclude when selling a primary residence?

Up to 250,000 dollars for a single filer or 500,000 dollars for a married couple filing jointly, provided the two-of-five-year ownership and residency tests are met. Gain above that amount is generally taxed at capital gains rates.

Does the exclusion apply if the house was rented out for a period before the sale?

It can be reduced or partially disallowed under the nonqualified use rules if the property was used as a rental for a period of ownership before it was sold. The specific calculation depends on how the rental and residency periods are split.

Can a 1031 exchange be used on the sale of a personal home?

Generally no. A 1031 exchange requires the property to have been held for investment or business use, which a primary residence protected by the Section 121 exclusion typically does not satisfy.

What happens if a Milwaukee house was a rental for several years and then became a primary residence?

The nonqualified use rules generally require allocating the gain between the years of rental use and the years of qualifying residency, so only the portion tied to residency benefits from the exclusion.

Is depreciation recapture ever owed on a primary residence sale?

It can be, if a portion of the home was used for a home office or a rental unit and depreciation was claimed on that portion, even while the rest of the home qualified as a primary residence.

Ready to organize the exchange file?

Share the dates, property details, and open questions for your Milwaukee exchange.

Start Exchange Review
(414) 251-1328