> For the complete documentation index, see [llms.txt](https://learn.apy.fun/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.apy.fun/protocol/staking/lock-time.md).

# Lock time

<figure><img src="/files/YVPlExzg3rvQvT661NYO" alt=""><figcaption></figcaption></figure>

Each staking pool on APY.fun has a **lock period**—currently **5 days**—set by the platform admin.\
In a future update, communities may be able to **choose their own lock time**.

### Why a 5-day lock?

Inspired by **OlympusDAO bonds**, the 5-day window strikes a balance:

* Enough **commitment** to reduce hit-and-run farming
* Better **pool stability** and healthier price action
* Still **flexible**: you can claim rewards anytime

### How it works

* When you **stake**, a **5-day timer** starts for your **wallet in that pool**.
* You **cannot withdraw** until the timer ends.
* You **can Harvest** $YIELD at any time; harvesting **doesn’t** affect the lock.
* **Staking more** before the timer ends **resets the timer** for your entire staked balance (new 5-day countdown).
* **Tips, APR updates, activation state** → do **not** change the timer.
* Once unlocked, you can **withdraw partially or fully**. Withdrawing does **not** restart the timer.

> Lock applies even **before activation**. Early stakes help hit the activation goal; rewards start once activated, but the original lock still counts down.

***

### Examples

* **Single stake:** Stake on **Mon 12:00** → Unlocks on **Sat 12:00**.
* **Add more mid-lock:** Stake Mon 12:00, add more **Wed 18:00** → Timer resets → Unlocks **Mon 18:00 (next week)**.

***

### FAQs

**Can I avoid the reset by splitting transactions?**\
No. Lock is **per wallet per pool**. Any new stake while locked resets the timer.

**Does Harvest reset my lock?**\
No. Harvest is independent.

**What happens after I withdraw?**\
Your position is closed. If you stake again, a **new 5-day timer** starts.

**Will lock times vary by pool later?**\
That’s planned. Communities may be able to set **pool-specific lock times** in a future version.

<figure><img src="https://docs.apy.fun/~gitbook/image?url=https%3A%2F%2F4102297992-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FBWFUzpdwhcweZ0KWsE84%252Fuploads%252FTLlCJon27Bov2GxSotLW%252Fimage.png%3Falt%3Dmedia%26token%3Def0f869b-ca54-497c-b284-7654f65390b5&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=994725ad&#x26;sv=2" alt=""><figcaption></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://learn.apy.fun/protocol/staking/lock-time.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.
