dmertz
Level 15

Retirement tax questions

A code-1 Form 1099-R has nothing to do with a loan from the plan.  A code-1 Form 1099-R would seem to be reporting a hardship distribution, not a loan.  I suspect that you received such a distribution, not a loan, and is a distribution that is not permitted to be returned to the plan or to any other retirement account.