dkh
Level 15

I'm an old timer with a 2012 Quickfinder.....lol

If home is sold before the 15yr period ends balance is repaid in the year of sale. Repayment is limited to the gain from the sale unless home is sold to related person.  Reduce the basis in the home by the unpaid balance when calculating the gain.