# 🔁Repay your loan

{% hint style="danger" %}
**You must repay your loan prior to the expiration or you will forfeit your collateral!**
{% endhint %}

## Steps to repay your loan

**Step 1:** Click on the "Repay" tab under the collateral option you deposited into along with the correct expiration.&#x20;

![Step 1](https://2802068031-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRd1Lnvv0h3Owvrv6Km%2F-MURyS_HPAsdI4I4Diao%2F-MURyu4Jx_IsBu8K3gg-%2FScreen%20Shot%202021-02-26%20at%201.16.16%20AM.png?alt=media\&token=6b06e51d-607a-498f-a57f-112969c2bd3a)

**Step 2:** Enter the amount of funds you want to pay back, in this example we will pay it back in full (800 DAI and 800 RR tokens).&#x20;

{% hint style="warning" %}
Remember only 785 DAI was borrowed! The extra 15 DAI you are paying back out of the 800 is the interest due! Make sure you have the **same amount** of DAI as you do rrToken(s) when repaying!&#x20;
{% endhint %}

![Step 2](https://2802068031-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRd1Lnvv0h3Owvrv6Km%2F-MURyS_HPAsdI4I4Diao%2F-MURzWPYssC4OSiik8l0%2FScreen%20Shot%202021-02-26%20at%201.18.40%20AM.png?alt=media\&token=355d09d7-9aed-4409-8d44-fa068462dc39)

**Step 3:** Click the "Confirm Repay" button. You will return back 800 DAI and 800 RR tokens to receive your 1 wETH collateral back.

![Step 3](https://2802068031-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRd1Lnvv0h3Owvrv6Km%2F-MURyS_HPAsdI4I4Diao%2F-MURzmQ5FHRKPZAzLyuD%2FScreen%20Shot%202021-02-26%20at%201.19.59%20AM.png?alt=media\&token=da8a3067-6a9e-4c0b-a7d9-fcf9abebb42e)

**Step 4:** Metamask will pop up again, confirm the transaction to repay your 800 DAI and return the 800 RR tokens.&#x20;

![Step 4](https://2802068031-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRd1Lnvv0h3Owvrv6Km%2F-MUS1BVV2Blw6YKYIC_m%2F-MUS2bEVGBb62f82A2Z6%2FScreen%20Shot%202021-02-26%20at%201.35.53%20AM.png?alt=media\&token=5931238d-a997-4fa4-b379-ee2e96f4e353)

{% hint style="success" %}
**Congratulations!** You have successfully repaid your 800 DAI loan and received your 1 wETH collateral back! The image below shows my balance reflects 1000 wETH, prior to repaying it was 999.
{% endhint %}

![](https://2802068031-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRd1Lnvv0h3Owvrv6Km%2F-MUS1BVV2Blw6YKYIC_m%2F-MUS2zdmQg0aIvgMl4T8%2FScreen%20Shot%202021-02-26%20at%201.36.45%20AM.png?alt=media\&token=262e81bd-e188-43f8-b5a4-cfebc419d3d2)
