> 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="https://790388383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXRsGmfHQmTTNRRdyvZSl%2Fuploads%2F2hlnSccy9FFZWHuBJgAf%2FLoan%205.1.png?alt=media&amp;token=a0bbc3b9-7936-49d8-8b1a-6e736e585f8d" alt=""><figcaption></figcaption></figure>

<br>
