 selling an investment property, if you sell your primary residence and there's a gain, as long as you meet certain criteria, a lot of that gain, if not all of it, should be excluded. Still have to report it on your taxes, but should be excluded.