# 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](https://help.margex.com/help-center/staking/what-is-staking/staking-on-margex-advantages) and is a quick and simple process.

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

<figure><img src="https://163304092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0u2JKWHQTXEH82Px1eQ%2Fuploads%2Fj2HC9bwXoAAx7mywcyxb%2FStaking_Main.png?alt=media&#x26;token=2f54b568-855f-487b-ae35-d07b8fc64d16" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://163304092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0u2JKWHQTXEH82Px1eQ%2Fuploads%2FU5HYH4QRgCuv8jIKljd5%2FStakingActivate.png?alt=media&#x26;token=e013fe63-29f9-411f-b684-555546b10529" 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="https://163304092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0u2JKWHQTXEH82Px1eQ%2Fuploads%2FPqdXLQjwu2tZK6zOyZfB%2FStakingEnab.png?alt=media&#x26;token=3b057c25-59af-4040-8070-512d72daebc4" 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="https://163304092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0u2JKWHQTXEH82Px1eQ%2Fuploads%2FB9ict8oaHNY4BlWcbCfJ%2FStakDeact.png?alt=media&#x26;token=1362a5a6-db10-4afe-b638-95cb689a1f16" alt=""><figcaption></figcaption></figure>

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