> 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

Withdrawing BTC reduces collateral while keeping the vault open. A single transaction spends the current vault, pays BTC to the user's chosen destination and creates a successor vault.

<figure><img src="https://3381100491-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZOzQaoopNKdgkYJmuRPt%2Fuploads%2Fgit-blob-5d4fe957c5a4d799184937af73c18d1533565384%2Fgitbook-withdraw-btc.png?alt=media" alt="A Withdrawal transaction spends the current vault, returns BTC to the user and creates a successor vault with less collateral."><figcaption><p>Withdraw BTC</p></figcaption></figure>

### Transaction sequence

1. Load the current vault and calculate the proposed successor collateral after the withdrawal and fees.
2. For a vault with debt, obtain the required authenticated price contracts and construct the successor's liquidation commitments.
3. Check that the remaining net collateral meets the required ratio and that the successor satisfies the minimum-output rules.
4. Have the owner and an authorised guardian group sign, broadcast the transaction and track confirmation.

For the published UNIT/USD anchor, a withdrawal with debt remaining must satisfy the 160% floor. The ratio uses net collateral, excluding the required retained minimum.

```
required_net_BTC = UNIT_debt × minimum_ratio / authenticated_BTC_USD_price
```

The amount returned to the wallet depends on the final outputs and fees. The maximum withdrawal is not simply the gross vault balance minus the formula above: the retained minimum and any fees funded by the vault also matter.

### Debt-free vaults

A Cleared vault has no debt ratio, but a withdrawal that keeps the vault open still leaves a valid successor output. To end the vault and return its remaining BTC after fees, use [Close Vault](https://docs.ducatprotocol.com/how-ducat-works/vaults/close-vault.md).

Withdrawal does not burn UNIT or reduce debt. Use [Repaying UNIT](https://docs.ducatprotocol.com/how-ducat-works/vaults/repaying-unit.md) when the intended action is debt repayment.
