> For the complete documentation index, see [llms.txt](https://docs.mass.money/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mass.money/general/perps/replace-position.md).

# Replace position

Replace lets you restructure an entire position in one action: switch side, resize, adjust margin and leverage.

Steps:

1. Tap your open position.
2. Tap the menu at the bottom left
3. Tap Replace position.
4. Configure the new position: side, size, margin, leverage.
5. Confirm. The old position closes and the new one opens in a single transaction.

{% hint style="success" %}
Faster and cheaper than closing manually and re-opening, especially when the market moves fast.
{% endhint %}

{% hint style="danger" %}
This feature doesn’t exist on Hyperliquid — we built it from scratch. To reproduce it there, you would need to close your position and reopen a new one. If that’s required, a message will be displayed informing you that your current position will be closed and a new one opened. This also means you’ll pay fees twice and your PnL will be reset.
{% endhint %}

{% embed url="<https://mass-assets.lon1.cdn.digitaloceanspaces.com/Documentation/Replace_Position.mp4>" %}
