Deductions & credits

Under certain circumstances, you may be able to avoid paying taxes if you lived there less than 2 years.  The most common is moving due to relocating for work, but see Publication 523 for details:

https://www.irs.gov/publications/p523#en_US_2017_publink100073096