# Closing a Line of Credit

### When do I need to pay back the line of credit?

You only need to pay down your line of credit if you want to withdraw while you have an open credit line. Otherwise, your deposit will continue earning yield and pay off the credit line with time.

### Which tokens are accepted to pay down debt?

When closing a line of credit, both the base tokens and their respective svTokens are accepted.

If a user wants to exit their debt position early prior to completed auto-repayment, they can manually repay the balance of their debt to withdraw collateral. Savvy always considers 1 svToken as equivalent to 1 base token for repayments.

### How do I self-liquidate?

The liquidate function allows you to use your deposited collateral as a source of funds to repay your debt. Savvy credit lines are always overcollateralized, meaning there will always be enough funds in your account to cover your credit line and exit.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.savvydefi.io/savvy-defi-faq/closing-a-line-of-credit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
