> For the complete documentation index, see [llms.txt](https://help.defisaver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.defisaver.com/protocols/aave-v3/how-can-i-swap-my-collateral-or-debt-in-aave.md).

# How can I swap my collateral or debt in Aave?

DeFi Saver offers Aave users the option to capitalize on better APY's on their collateral or debt by switching them directly through the Aave interface.

This is done in a single transaction, saving both time and fees:

<details>

<summary>Show me how:</summary>

The first step would be navigating to the Aave dashboard, where you'll access your borrow position.

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

Once there, clicking the "Tools" icon will show a dropdown menu where you'll find:

* Collateral Switch
* Debt Switch

Clicking on one of these options will open a pop-up window:

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

In the pop-up, you'll be able to:

* Choose which collateral asset you want to switch (if you have multiple in your position)
* Input how much of your collateral you want to switch
* Choose which collateral asset you want to switch to
* See your position's new metrics after the switch
* Set your exchange route
* Set your slippage limit

Once everything checks out, simply click "Switch", sign the transaction, and you're good to go.

Choosing the "Debt Switch" option opens a very similar pop-up, with the only difference being that you're choosing which debt asset to switch into, and how much:

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

</details>

These tools are part of our Loan Shifter feature, which also allows users to switch not only the collateral and debt assets, but also the entire protocol their position is located on.

From more information on the feature - [Please refer to the Loan Shifter article.](https://help.defisaver.com/features/loan-shifter)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.defisaver.com/protocols/aave-v3/how-can-i-swap-my-collateral-or-debt-in-aave.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
