> For the complete documentation index, see [llms.txt](https://degenprime.gitbook.io/degenprime/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://degenprime.gitbook.io/degenprime/security/24-hour-time-locked-withdrawal.md).

# 24-hour Time-Locked Withdrawal

{% hint style="success" %}
Protects loan repayments
{% endhint %}

Safe to say that the 24-hour time-locked withdrawal is the harshest security feature on DegenPrime.&#x20;

Before any funds leave DegenPrime, from the [Savings](/degenprime/diamond-hands/hodl.md) as well as the [Degen Account](/degenprime/degen-account/the-degen-account.md), everything will go through a 24-hour time-locked withdrawal. After the 24-hour window has passed, you will have 48 hours to execute the withdrawal. It works hand-in-hand with all other security features and cements DegenPrime as a fort.&#x20;

DegenPrime remains a fully permissionless protocol without credit-checks. Any user can come in, deposit, borrow, trade, and take their well-earned profits; that's just honest work. For all upstanding users, the withdrawal queue is just there.&#x20;

The huge benefit of the time-locked withdrawal is that it allows 24 hours for the protocol to respond in case of any potential malicious activity. In combination with the real-time monitoring of our security partner [Hexagate](/degenprime/security/third-party-security-partners.md#hexagate), the time-locked withdrawal prevents any malicious withdrawal of funds from the protocol.

### How it works

For [Diamond Hands](/degenprime/diamond-hands/hodl.md), the process is simple and they can withdraw their capital since they don't have any debt.&#x20;

For [Degenerates](/degenprime/protocol/double-ds/degenerates.md), the simplified version is:

* **Initiate the withdrawal.** At this stage, debt does not have to be covered and you can use your Degen Account however you wish during this period.
* **Wait 24 hours.** Still, you can perform all actions in your Degen Account. The withdrawal queue will show a notification if borrowed funds are not matched by your balance.
* **Execute withdrawal.** This is when Degenerates have to have enough capital to match their debt - before and after the withdrawal.

With any transaction, the [Solvency Check ](/degenprime/security/solvency-checks.md)will be performed to protect the ability to repay loans. For a more detailed version of the time-locked withdrawal, visit the [Take Profits](/degenprime/take-profits.md) page.


---

# 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://degenprime.gitbook.io/degenprime/security/24-hour-time-locked-withdrawal.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.
