Hal_Al
Level 15

Deductions & credits

You actually have a choice.
You can treat this as a home  exclusion (as described by Julie) or as a section 1033 exchange.  See <a rel="nofollow" target="_blank" href="https://ttlc.intuit.com/questions/4410097-where-can-i-find-form-1033-a-form-to-defer-capital-gains-t...>

The home sale is probably the best way, unless you intend to keep you new home less than 2 years