Taxes owed when selling a home that is not your primary residence. If you are selling a home that is not your primary residence, you will have to pay taxes if you made a profit.

Q: I recently sold a townhouse and was concerned about how much tax I would be responsible for paying. Basically, I sold it for \$375,000. There was no mortgage on the property, and I hadn’t lived in it since 2007.

I had done a lot of improvements on it to increase its value for sale and had hopes of claiming it on my taxes for 2013. Is there some sort of estimated formula I could use to estimate how much I could expect to pay in taxes? Thanks in advance.

## Taxes Owed When Selling a Home That is Not Your Primary Residence

A: If this had been your primary residence, we would be happy to tell you that there isn’t any tax that you’d have owed. In fact, if you had simply lived in the home for two of the last five years, or through 2009 if you sold it in 2012, you still wouldn’t owe any taxes as long as your profit was less than \$250,000 (if you’re single) or \$500,000 if you’re married.

But that doesn’t seem to be the case here. We don’t have all of the information that we need, but we can make some educated guesses about what has happened and point you in the right direction.

Let’s start with how profit and the cost basis are calculated. When you sell a home, the IRS wants to know not only how much you paid for the property, but what capital improvements you made to the property (adding a room or replacing the roof versus painting a bathroom), and how much it cost to sell. If you add up the costs of purchase, sale (including the commission) and capital improvements, you will get your cost basis. The profit is calculated by subtracting the cost basis from the total sales price.

### An Example

So if you sold your home for \$375,000 and you paid \$275,000 to purchase it plus another \$25,000 to sell it (commission and other costs of sale), and \$75,000 in capital improvements (let’s say that included a new kitchen, new bathrooms, roof replacement and new mechanicals), you would have zero profit, because the costs of purchase, sale and capital improvements equal \$375,000, which is the price you paid.

Even though you didn’t live in the home, there wouldn’t be any taxes owed. Now if the numbers don’t line up that neatly, and you have \$100,000 in profit, you would pay long-term capital gains tax at your current rate, which is probably 20 percent. So you would owe \$20,000 in federal capital gains taxes and whatever extra in state tax.

If you sold in 2013, and your adjusted gross income (AGI) topped \$200,000 (if single) or \$250,000 if married), you might owe an extra 3.8 percent on the \$100,000, or \$3,800, for the Medicare tax. The IRS offers help on the extra Medicare tax here.

If the house was a rental property (which you didn’t indicate, but you said you hadn’t lived there as a primary residence for five years), you may have taken depreciation. When you sell the property, unless you are doing a tax-free exchange for another investment property, you will owe recapture on the depreciation you have taken at a rate of 25 percent. So if you took \$100,000 in depreciation, you might owe \$25,000 in taxes on top of any profit.

### Calculating Cost Basis and Profit

Whether you have a mortgage doesn’t much matter when it comes to calculating your cost basis and any profit. What matters is whether you have, on a net basis, made money or lost money.

For more details, you’ll want to visit the IRS website and download these free publications: IRS Publication 523 “Selling Your Home,” Tax Topic 409 “Capital Gains and Losses,” and, if applicable, IRS Publication 527 “Residential Rental Property.”

## More on Topics Related to Selling a Home

How Do I Avoid Paying Taxes When I Sell My Rental Property?

What Happens When a Seller Lies on a Disclosure?

How Is Real Estate Commission Split?

How Do You Protect Yourself When Selling a House?

Selling a House in Disrepair: Tax Implications