> For the complete documentation index, see [llms.txt](https://docs.altitude.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.altitude.fi/general/protocol-overview/how-do-users-interact-with-a-vault/withdraw.md).

# Withdraw

User transfers supplyTokens and receives the vault supply assets in return

`withdraw(uint256 amount, address to)`

* amount - amount the user wants to withdraw
* to - address to which the funds should be sent

The user can withdraw up a loan-to-value ratio of the specified `supplyThreshold`.

#### Withdraw fee

There is a withdrawal fee applied for the users depositing and withdrawing within a short period of time. The fee is charged in the supply asset and is distributed among the other users.&#x20;

The reason for having such a fee is that when one deposits, the vault will do a rebalance to borrow more and deposit it into the farm provider for generating more yield. This can incur fees and slippage. With the time the fee is covered by the yield rewards. But without enough time, this is a cost to the vault.

The fee is currently configured to be 0.5% for withdraws within 150 blocks (\~30 minutes).
