After you file

"The fact that you bought another home has no bearing on the tax treatment of the sale of your previous home."

 

Yes, the tax law USED TO BE that when you sold your home you had something like 18 months to put the gain into another home in order to defer the tax on the sale; however, the law has not been like this for a number of years. Now you generally enjoy the possibility of a $500,000 exclusion (married filing joint) or $250,000 (other filing statuses) if you satisfy some basic requirements on how long you owned the home and how long you lived there as you main residence.

 

You can read more about home sale reporting at the IRS website: https://www.irs.gov/taxtopics/tc701