How to Close or Reduce a Position on Hyperliquid

Risk warning. Trading perpetual futures and other leveraged crypto-asset products is high risk. A large share of retail traders lose money, so never trade with money you cannot afford to lose entirely. Disclaimer

Closing a position on Hyperliquid isn’t a dedicated “close” button behind the scenes, it’s an order in the opposite direction, sized to offset what you already hold. Getting the size and flags right matters more than it sounds.

This guide continues TradeOnDEX’s Hyperliquid how-to series within Perpetual Futures, following on from setting TP/SL orders.

Disclosure: TradeOnDEX may earn a commission from links to Hyperliquid on this page, at no extra cost to you. Full details at the end of this article.

What actually happens when you “close” a position?

If you’re long 10 HYPE, closing it means placing a sell order for 10 HYPE. Mechanically, that’s indistinguishable from opening a new short, unless you flag it correctly.

This means for you, concretely: a close order sized larger than your position, submitted without the right flag, can flip you into a new position in the opposite direction instead of just closing out. That’s rarely what you intended.

The reduce-only flag: why it matters

A reduce-only order can only shrink your existing position, it will never open a new one or flip your side. If you’re long 10 HYPE and place a reduce-only sell for 15, Hyperliquid caps the fill at 10 and rejects the rest, rather than opening a 5-unit short.

Without reduce-only, that same oversized sell order would close your 10-unit long and then open a 5-unit short automatically, a position you may not have intended to hold at all.

How to close or reduce a position, step by step

  1. Go to your Positions panel and find the position you want to close or reduce.
  2. Click Close.
  3. Choose your size: select Max to close the full position, or enter a partial amount to reduce it.
  4. Check Reduce Only so the order can’t accidentally open an opposite position.
  5. Choose your order type, market for immediate execution, limit if you want to specify a minimum acceptable price.
  6. Confirm the order.

A market close fills against the best available prices on the book until your size is filled, up to Hyperliquid’s default slippage tolerance (8%, configurable per order), beyond that, the remainder won’t fill at that attempt.

Risk: what can go wrong when closing a position

Slippage on a market close can matter more than it seems, especially at size. In a thin order book or fast-moving market, a market close can fill meaningfully worse than the price you last saw on screen. The 8% default slippage tolerance exists precisely because unbounded market orders in illiquid conditions can execute at extreme prices.

Forgetting the reduce-only flag on an oversized order can leave you with an unintended new position in the opposite direction, the exact opposite of what “closing” was supposed to do. Always double-check size and the reduce-only checkbox before confirming, particularly if you’re closing in a hurry.

You can be force-closed even if you did nothing wrong, through auto-deleveraging (ADL). ADL is Hyperliquid’s last-resort mechanism, triggered only when a losing position’s collateral and the platform’s backstop liquidity vault can’t cover a liquidation. When that happens, the system force-closes positions on the profitable side of that market, prioritized by leverage and unrealized profit, to keep the system solvent. It’s rare in normal conditions, concentrated in high-leverage or thin-liquidity markets, but it means a profitable position is not immune to being closed without your input.

A partial close changes your remaining position’s risk profile, not just its size. Reducing a position under isolated margin proportionally reduces the collateral backing it too, in most cases. Check your updated liquidation price after any partial close rather than assuming it’s unchanged.

Market close vs. limit close

Market closeLimit close
Execution certaintyHigh, up to slippage toleranceOnly fills if price reaches your limit
Price certaintyLow, subject to slippageHigh, capped at your limit price
Best suited forExiting quickly regardless of exact priceExiting only at or above/below a specific level

See it for yourself

Practice a partial close on a small position first, and confirm your reduce-only order behaves as expected, before relying on it under time pressure during a fast move. You can review the close-order panel directly at app.hyperliquid.xyz.

Frequently asked questions

What happens if I place a close order larger than my position without reduce-only?

It can close your existing position and then open a new one in the opposite direction for the excess size, likely not what you intended. Reduce-only prevents this by capping the fill at your current position size.

Is a market close guaranteed to fill at the price I see on screen?

No. It fills against available order book liquidity up to a default 8% slippage tolerance, so your actual execution price can differ, more so in fast or thin markets.

Can my position be closed without me placing an order?

Yes, in two cases: liquidation (if your equity falls below maintenance margin) and auto-deleveraging (a rare, last-resort mechanism that can force-close even profitable positions to keep the platform solvent).

Does partially closing a position change my liquidation price?

Generally yes, since the collateral backing the remaining size typically changes too. Check your updated liquidation price after any partial close.

Affiliate disclosure

TradeOnDEX may earn a commission if you trade through a referral link, at no extra cost to you. Hyperliquid’s own affiliate/referral terms are still being confirmed for this site, so links in this article are direct and untracked for now. This article is educational and is not financial advice; leveraged perpetual positions can be closed involuntarily through liquidation or auto-deleveraging. See our disclaimer for the full risk warning.

Risk warning

Trading crypto assets, and leveraged products based on them such as perpetual futures ("perps"), is high risk. A large share of retail traders lose money on these products. Leverage magnifies gains and losses alike and can push your loss beyond the amount you put in. Positions can be closed automatically (liquidation) before you get a chance to react, and some of the platforms we cover offer no negative balance protection.

Never trade with money you cannot afford to lose entirely. TradeOnDEX gives no investment advice, no personal recommendation, and no guarantee of any outcome. Every decision you make is your own decision and your own responsibility.

Disclaimer