# How to Stake/Unstake

## How to Stake Coins

When activating staking, the entire wallet balance for the corresponding coin will be staked, allowing you to passively generate yield without any additional actions or requirements

Staking coins on Margex provides numerous [advantages](/help-center/staking/what-is-staking/staking-on-margex-advantages.md) and is a quick and simple process.

* Once you have [funded](/help-center/wallet/deposit/how-to-deposit.md) your account, simply navigate to the [Wallet](https://margex.com/app/wallet) page and click on the Staking button:

<figure><img src="/files/49DMYks3jmw9x3JU0Kxa" alt=""><figcaption></figcaption></figure>

* Click on the Activate button to stake your wallet balance for the desired coin:

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

Once you have activated staking for the desired coin, your entire wallet balance for that particular coin will now be staked.

When enabling staking for the first time, a confirmation prompt will pop up:

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

{% hint style="info" %}
Staking payouts are calculated and allocated to the Wallet balance daily. Yield is generated only for active stakes that have been activated prior to the previous payout time frame.

Staking yield is calculated based on the lowest value of the balance since the previous yield payout for the corresponding coin/token.
{% endhint %}

## **How to Unstake Coins**

* In the Staking tab click on the Deactivate button:

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

Once you have disabled staking for the desired coin, your entire wallet balance for that particular coin will be unstaked.


---

# Agent Instructions: 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:

```
GET https://help.margex.com/help-center/staking/stake-unstake.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
