# Repaying a loan

How to repay a loan:

1. Borrower goes to [app.brila.finance](https://app.brila.finance/)
2. Borrower clicks 'Repay' button shown on loan details

   <figure><img src="https://1577631410-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOBxBNTVTribg0rlJSW%2Fuploads%2FCztoZjyLNcCT9fT50Tgn%2Fimage.png?alt=media&#x26;token=448820a4-e0c0-4ca7-88b2-f19fe34aa47e" alt=""><figcaption></figcaption></figure>
3. Borrower is first prompted to approve transfer of funds (must complete `approve()`  on-chain transaction).
4. Borrower is then prompted to [`repay`](https://docs.brila.finance/brila-protocol/other-concepts/instruments/bulletloans#repay-uint256-instrumentid-uint256-amount) transaction. This transaction transfers funds back to the portfolio and repays the full amount owed on the loan.
   * Once this transaction is complete, the loan is marked ‘repaid’ automatically and no further action by the borrower is needed.

<figure><img src="https://1577631410-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOBxBNTVTribg0rlJSW%2Fuploads%2FlkeP3WAOmJXlGVWJDQYu%2Fimage.png?alt=media&#x26;token=4cd5ada2-a448-4bc9-bb1f-1216c3eeefa7" alt=""><figcaption></figcaption></figure>
