> For the complete documentation index, see [llms.txt](https://docs.ducatprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ducatprotocol.com/how-ducat-works/vaults/withdraw-btc.md).

# Withdraw BTC

In a single transaction, the user removes some of their Bitcoin collateral from their vault while keeping the same amount of borrowed UNIT. This reduction in collateral increases the Bitcoin price at which liquidation would be triggered, moving it closer to the current price and reducing the user’s safety margin.

The user initiates a transaction to withdraw a portion of their BTC collateral from their vault UTXO. The MPC network verifies that the requested withdrawal maintains the required minimum collateralisation ratio for the existing borrowed UNIT position. The transaction builder then constructs a PSBT that separates the withdrawn BTC while retaining sufficient collateral in the vault. The outputs include the withdrawn BTC being returned to the user’s control and an updated vault UTXO with the reduced collateral amount.

In a second transaction, the new vault state is processed, paying the network fees for both transactions to ensure atomic execution. This generates an updated vault token reflecting the reduced collateral and new collateralisation ratio. The vault UTXO retains both the user update path and the guardian/oracle liquidation path, though with a smaller safety buffer due to the lower collateral level.

An OP\_RETURN output records the updated vault state, including the decreased collateral and revised collateralisation ratio.

<figure><picture><source srcset="/files/Sy4AWrgZbFxKknLTHbGH" media="(prefers-color-scheme: dark)"><img src="/files/JsuG1nnuJyeRGnDk47sD" alt=""></picture><figcaption><p>Withdraw BTC Transaction Diagram</p></figcaption></figure>


---

# 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://docs.ducatprotocol.com/how-ducat-works/vaults/withdraw-btc.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.
