Ex-SD has it right. The unpaid HOA fees accrue until the unit is sold. Once the unit is sold, the unpaid HOA fees are paid to the HOA. The lender keeps the rest (assuming there’s no equity left). The problem for HOAs, though, is that this is a long process. In addition, the HOA’s management company is going to charge additional fees to keep track of this stuff.