> For the complete documentation index, see [llms.txt](https://docs.primefi.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.primefi.xyz/product/lend/withdraw.md).

# Withdraw

This functionality is the reverse of making a deposit. To use it, follow the same process but through the section labelled **“Withdraw”**.

<div data-full-width="true"><figure><img src="https://4217557780-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo4SISzko0XTUUE5cJyPX%2Fuploads%2Fgit-blob-2a2f8de7107884cbac64154a0e89ca7dc19e6c4c%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure></div>

Select the desired amount and submit the transaction.

The transaction succeeds only if the reserve has enough available liquidity, the market is not paused for withdrawals, and all contract validations pass. If liquidity is insufficient, additional supplies or borrower repayments may make a later withdrawal possible, but availability is not guaranteed.

If you have active debt, you may still withdraw collateral that is not required to keep the position valid. The contract recalculates the position using on-chain reserve and oracle state and blocks a withdrawal that would make the Health Factor invalid.

Health Factor values and warnings in the UI are informational estimates. They are not guaranteed to appear or remain current before execution; the contract's validation at transaction time is authoritative. A withdrawal can also fail because the reserve was paused, liquidity changed, prices moved, or another validation condition changed.

<figure><img src="https://4217557780-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo4SISzko0XTUUE5cJyPX%2Fuploads%2Fgit-blob-b1f49b27c878c88f8aebd713a1d0a0120dfba1ab%2Fimage.png?alt=media" alt="" width="303"><figcaption></figcaption></figure>
