Yes, but you can pass those houses onto your children (and they can pass to theirs, etc.), and keep avoiding taxes until it actually sells (that's when there actually is a gain). So, just never sell it and keep it in the family and never pay capital gains.