yes, i actually did this myself years ago - had to provide a little extra documentation to my rollover custodian that the check from me was for the loan amount being rolled, agree that this must be done within 60 days of the distribution/offset, and that it would be cleaner and easier, but likely slower, to simply repay the loan first. as qdrophile notes, this is different from rolling over the note/debt, which would generally not be permitted - could do a direct rollover or transfer of a loan to another q-plan if both plans allowed for such.