If I sell my home because I got a new job and needed to move closer will I have to pay capital gains? I have lived in my primary address for 18 months