We just sold our house, when do we have to pay the IRS?
Q: If we sell our house and make money, how long do we have before we need to buy our next house or pay capital gains tax?
A: Capital gains taxes as they apply to your principal residence can be found in IRS Publication 523.
If you have lived in your home for two of the five years leading up to the date of sale, you are exempt from taxes on capital gains realized by the sale of the home. There are limits, though, of $250,000 in gains for a single filer and $500,000 for a joint return.
You can only exclude gains from the sale of a home every two years -- that is, if you sold a home last year and excluded the gains from tax, you cannot exclude the gains made on this house. You would have to wait at least another year before this home becomes eligible to be excluded.
Publication 523 has worksheets and tips to help you figure out your basis cost and what your gains actually will amount to once you've subtracted selling costs, certain improvements and more.