It’s time to look at a calendar to see whether you meet the time test for the home sale exclusion. You must have owned and used the home as your principal residence for at least two of the five years preceding the date of sale. This is not based on a calendar year; you can count up days.
Obviously, you owned the home for the requisite period, but you have to see whether you also used it as your primary home for at least two years. If another residence is your primary home and you spent time in the one you sold, those days don’t count; only the days it was used as a principal residence are taken into account.
Debt on which a person is not personally liable. In case of nonpayment, the creditor must foreclose on property securing the debt. At-risk rules generally bar losses where there is nonrecourse financing, but an exception applies to certain nonrecourse financing for real estate.