 ever lived in like an investment property you have to have lived there as i said two years out of the past five they don't have to be consecutive years just any two also you can't do it every year nope you can only get the capital gains exclusion once every two years but that's not too bad