When you sell your house, Uncle Sam may be entitled to some of the money. What you use the proceeds for, such as paying off your current mortgage, doesn't matter to the Internal Revenue Service. Even if you use every last penny you get from the sale to pay off your mortgage, you might still owe taxes.
Calculating Your Gain
Your taxable gain from selling your home equals the amount realized on the sale minus your adjusted basis. Your amount realized is the selling price minus any selling expenses, like those pesky broker's fees. Your adjusted basis in the home is the amount you paid for it, plus any improvements you made, minus any deprecation expenses you deducted if you rented out the house or used it for business. For example, if you paid $300,000 to buy the home, paid $50,000 for improvements, and took $10,000 in depreciation, your adjusted basis would be $340,000. When you sell the home for $385,000 and pay your broker $5,000, your gain is $40,000.
Primary Residence Exclusion
The IRS lets you to exclude up to $250,000 of home sale gain if you've both owned and used the home as your primary residence for two of the past five years. The years of ownership and the years of don't have to be consecutive, or even the same years. For example, if you rent the home for a year, buy it, live in it for another year, you satisfy the use test. If you move out but wait another year before selling, you meet the ownership test. In addition, you can't claim the exclusion if you have used the exclusion within the past two years.
If you claim depreciation of your house as a home office, the IRS hasn't forgotten about the depreciation deductions you claimed. Depreciation deductions reduce your basis in the home. In addition, the gain due to the depreciation can't be excluded from income under the home sale exclusion. For example, if you paid $150,000 to buy your home, took $10,000 of depreciation for your home office over five years, and then sold the home for $200,000, you would have $60,000 of gain. If you qualify for the exclusion, you're limited to excluding just the $50,000 of capital gain because the $10,000 of depreciation recapture cannot be excluded.
Appplicable Tax Rates
For the very lucky homeowners who managed too large a profit to exclude it all, the tax rate on your gains depends on how long you owned the home and whether you have any depreciation to recapture. First, any depreciation recapture is taxed at 25 percent because you already got your tax break for that portion of the gain. If you owned the home for a year or less, your gain is subject to ordinary income tax rates. If you owned the home for more than a year, the gain is subject to the lower capital gains tax rates. (Topic 409) If you play your cards right, you can end up with a sizable gain that's either completely tax-free, or at least mostly subject to the lower capital gains rates.
- Comstock/Comstock/Getty Images