Start Trading - Save 4% →

How to Close a Position on Hyperliquid (Market, Limit & TP/SL)

By Concept211 (@Concept211)Updated: April 20265 min read
Table of Contents

To close a position on Hyperliquid: click the position row in the Positions panel, hit Close, choose Market or Limit, and confirm. The position closes immediately (market) or when the price is reached (limit). You can also automate exits with take-profit and stop-loss orders.

Hyperliquid offers three ways to close a position. A market close executes instantly at the best available price — use it when you need out immediately. A limit close lets you set an exact exit price and pays lower maker fees (0.015% vs 0.045% taker), but only fills when the market reaches your price. Take-profit and stop-loss orders automate the close: TP locks in gains at a target price, SL caps losses at a floor. You can set both simultaneously — when one triggers, the other cancels automatically. For partial closes, reduce your position size by entering a smaller quantity in the close order. Always enable the reduce-only flag on limit close orders to prevent accidentally flipping your position direction.

Method 1: Market Close (Instant Exit)

A market close sells your entire position at the best available price in the order book. It is the fastest way to exit a trade and guarantees your position is closed, though you pay the taker fee (0.045%) and accept whatever price the book offers.

1

Open the Positions panel

Navigate to app.hyperliquid.xyz and scroll to the Positions panel below the price chart. Every open position is listed here with its entry price, size, unrealized PnL, and liquidation price.

2

Click the Close button

Find the position you want to close and click the Close (or X) button on the right side of the row. A close dialog appears.

3

Select Market

Choose Market as the close type. The dialog shows the estimated fill price based on current order book depth and the approximate fee you will pay.

4

Confirm the close

Click Confirm. The position is closed instantly. Your realized PnL (profit or loss in USDC) is credited or debited to your account balance immediately.

When to use a market close:

  • You need to exit right now — the trade is going against you
  • A news event is moving the market and you want certainty over price
  • The position is small enough that slippage is negligible

Tip

If you are closing because the trade moved against you, a fast market close is almost always better than trying to set a limit and hoping it fills. Speed matters more than saving a few basis points on fees when you are protecting capital.

Trade With Lower Fees

Sign up with our referral and get a 4% lifetime discount on every close — market, limit, or TP/SL.

Join Hyperliquid

Method 2: Limit Close (Set Your Exit Price)

A limit close lets you specify the exact price at which you want to exit. Your order rests on the book as a maker order and only fills when the market reaches your price. You pay the lower maker fee (0.015%) and avoid slippage — but the trade-off is that the order may never fill if the price does not reach your level.

How to Place a Limit Close

  1. In the Positions panel, click Close on your position.
  2. Select Limit as the close type.
  3. Enter your desired exit price. For a long position, this is typically above your entry. For a short, below your entry.
  4. Confirm the order. It appears in your Open Orders tab until filled or cancelled.

The Reduce-Only Flag

Tip

Always enable reduce only when placing a limit close order. This flag ensures the order can only reduce or close your existing position — it cannot accidentally open a new position in the opposite direction. Without reduce only, if the market gaps through your limit price and your position closes before the order fills, the remaining order could flip you from long to short (or vice versa). Reduce only prevents this entirely.

Reduce only is available as a toggle in the order entry panel. It works with all order types — limit, stop-market, and stop-limit.

When to use a limit close:

  • You have a specific profit target and are not in a rush
  • You want the lowest possible fees (maker rate)
  • You are scaling out of a position at predetermined levels

Method 3: Take-Profit and Stop-Loss (Automated Exits)

Take-profit (TP) and stop-loss (SL) orders automate your exit so you do not need to watch the chart. They are the backbone of disciplined risk management — set them once and let the system execute.

Setting a Take-Profit

A take-profit order closes your position when the price reaches a target in your favor:

  • Long position: TP triggers when the price rises to your target
  • Short position: TP triggers when the price falls to your target

Set it in the TP/SL panel below the order form, or attach it when opening the position. Choose between market execution (guaranteed fill) or limit execution (guaranteed price). For most traders, market TP is the safer default — it ensures you actually capture the profit.

Setting a Stop-Loss

A stop-loss closes your position when the price moves against you past a threshold you define:

  • Long position: SL triggers when the price falls to your floor
  • Short position: SL triggers when the price rises to your ceiling

Warning

Place your stop-loss above your liquidation price — always. If the market hits your liquidation price before your stop-loss, the exchange closes the position and you lose your entire margin. A stop-loss at, say, 2-3% above the liquidation price gives you a controlled exit with a smaller loss instead of a full wipeout.

Using Both Together

Hyperliquid supports simultaneous TP and SL on the same position — often called a bracket order or OCO (one-cancels-other). When one triggers, the other cancels automatically.

Example: BTC long at $85,000 with 5x leverage

  • Take-profit: $88,000 (targeting $3,000 per BTC profit)
  • Stop-loss: $83,500 (risking $1,500 per BTC)
  • Risk/reward ratio: 1:2

This structure means you define your maximum loss and target gain before the trade even moves. Over time, a 1:2 risk-reward ratio is profitable even with a win rate below 50%. For the full range of order types including stop-market vs stop-limit, see the order types guide.

Mark Price vs Last Price

Hyperliquid triggers TP/SL orders based on the oracle mark price, not the last traded price. This protects you from thin-liquidity wicks — a single aberrant trade cannot trigger your stop. The mark price is an aggregate from multiple external exchanges. This is the same mechanism used for liquidation calculations.

Automate Your Exits

Trade on Hyperliquid with TP/SL on every position and a 4% lifetime fee discount.

Start Trading

Partial Closes: Reducing Position Size

You do not have to close an entire position at once. Partial closes let you take profits on part of a trade while letting the rest run — a common strategy for managing winning positions.

How to Partially Close

  1. Click Close on your position in the Positions panel.
  2. Instead of closing the full size, enter a smaller quantity (e.g., close 0.5 of your 1.0 ETH long).
  3. Choose Market or Limit and confirm.

The remaining portion stays open with the same entry price and margin mode. If you have TP/SL orders attached, Hyperliquid automatically adjusts their quantities to match the reduced position size.

Practical Scaling-Out Strategy

A disciplined approach used by many perpetual futures traders:

  1. Close 50% at your first profit target
  2. Move the stop-loss to breakeven on the remaining 50%
  3. Close the rest at a more ambitious second target — or let the stop at breakeven take you out for a "free trade"

This locks in partial profit while giving the remaining position room to capture a larger move, all with zero downside risk on the second half.

Frequently Asked Questions

Reduce only is a flag that ensures an order can only reduce or close an existing position, not open a new one in the opposite direction. Use it when placing limit close orders to prevent accidentally flipping from long to short (or vice versa) if market conditions change.

If you placed a limit close order, it will only fill when the market reaches your specified price. If the market is moving away from your limit price, the order will remain open. You can switch to a market close for immediate execution, or adjust your limit price closer to the current market.

Yes. Hyperliquid supports simultaneous TP and SL orders on the same position. Set both in the TP/SL panel below the order form. When either price level is hit, that order executes and the other is automatically cancelled.

TP/SL orders are tied to your position size. If you partially close a position, Hyperliquid automatically adjusts the TP/SL quantity to match the remaining position size. If you fully close the position, all attached TP/SL orders are cancelled.

Disclaimer: This content is for informational purposes only and does not constitute financial advice. Trading perpetual futures involves substantial risk of loss. Past performance is not indicative of future results. Always do your own research before trading. This site contains referral links - see our disclosure for details.

Ready to Start Trading?

Join Hyperliquid with our referral link and get a 4% lifetime fee discount. No KYC, no email - just connect your wallet and trade.

Start Trading - Save 4%