> For the complete documentation index, see [llms.txt](https://docs.atlasdao.zone/atlas-dao/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.atlasdao.zone/atlas-dao/products/p2p-nft-loans/repaying-loans.md).

# Repaying Loans

A loan can only be paid by sending a message to the loan-contract. If a borrower tries to send funds to a lender directly, the loan-contract does not register this repayment, and you collateral will now be in control of the borrower.

<figure><img src="/files/X0lOOA3jPMEIGe7f3hmR" alt=""><figcaption></figcaption></figure>

<br>
