If you sold your main home, you may be able to exclude up to $250,000 of gain ($500,000 for married taxpayers filing a joint return), according to the IRS. This exclusion is allowed each time that you sell your main home, but generally no more frequently than once every two years.
To be eligible for this exclusion, your home must have been owned by you and used as your main home for a period of at least two years out of the five years prior to its sale. If you and your spouse file a joint return for the year of the sale, you can exclude the gain if either of you qualify for the exclusion. But both of you would have to meet the use test to claim the $500,000 maximum amount.
If you do not meet the ownership and use tests, you may be allowed to exclude a portion of the gain realized on the sale of your home if you sold your home due to a change in health or place of employment.
If you do not qualify to exclude the gain on your home sale, use Schedule D, Form 1040, to report the sale and to calculate the tax on the gain.
For more details and information, get a copy of IRS Publication 523, "Selling your Home," or by calling the IRS at 1-800-829-3676.