# Hyperliquid portfolio margin: collateral, borrowing and risk

> How Hyperliquid portfolio margin combines spot and perps, sets borrowing capacity, calculates stablecoin borrow APY, applies caps and liquidates accounts.

Canonical HTML: [Hyperliquid portfolio margin: collateral, borrowing and risk](https://hyperliquidreferralcodes.com/hyperliquid-portfolio-margin)
Markdown URL: [Hyperliquid portfolio margin: collateral, borrowing and risk as Markdown](https://hyperliquidreferralcodes.com/markdown/hyperliquid-portfolio-margin.md)
Reviewed: 18 Sept 2026 (2026-09-18).

Bottom line: Portfolio margin uses eligible spot balances and cross-margin perp positions in one account. Users must monitor borrow rates, oracle prices, caps and the portfolio-wide liquidation ratio.

## One portfolio across eligible spot and perps

Portfolio margin lets eligible spot assets and cross-margin perpetual positions offset within one account. It can make hedged carry positions more capital efficient because spot value and perp PnL are assessed together.

A hedge can still liquidate. Basis drift, funding, borrow interest, oracle movement and position imbalance can all change the account ratio.

## Eligibility, assets and caps

The current documentation requires a master account with more than $5M in weighted volume or more than $10,000 in account value. Total account value must remain below $25M. Eligible assets currently include HYPE, BTC, USDC and USDT.

Global and per-user supply or borrow caps apply. When caps are reached, new margin demand falls back to settlement-asset funding rather than assuming unlimited borrowing. Treat every cap and eligible-asset list as changeable protocol state.

## Automatic borrowing and interest

When an order needs more of an eligible asset, portfolio margin can borrow against collateral up to its loan-to-value constraint. HYPE has a documented LTV of 0.65; BTC has a documented LTV of 0.5. Borrowed assets accrue interest continuously, and the protocol indexes interest each hour.

The docs define utilization as total borrowed value divided by total supplied value. The stablecoin borrow APY is 5% until utilization exceeds 80%, then the formula adds 4.75 times the excess utilization. Idle suppliers share interest in proportion to supply, and the protocol retains 10% of borrowed interest.

The Info API returns current reserve inputs through borrowLendReserveState and account basis and value through borrowLendUserState. The official docs do not define the time-path integration, hourly index calculation or rounding needed to reconstruct an exact charge for an arbitrary interval. Use the protocol-reported account state when exact current balances matter. Do not multiply one sampled APY by elapsed time.

Code:

~~~~text
utilization = total_borrowed_value / total_supplied_value
stablecoin_borrow_APY = 0.05 + 4.75 * max(0, utilization - 0.8)
~~~~

## Liquidation is portfolio-wide

All cross-margin perp positions and eligible spot balances are margined together. The account becomes liquidatable when the documented portfolio margin ratio exceeds 0.95. Subaccounts remain separate.

The order of oracle updates can determine whether spot borrows or perp positions liquidate first, so users should not expect a deterministic sequence. Monitor the official ratio and stress the account beyond ordinary price moves.

## Official sources

- [Hyperliquid Docs: Portfolio margin](https://hyperliquid.gitbook.io/hyperliquid-docs/trading/portfolio-margin): Official source used for the product claims on this page.
- [Hyperliquid Docs: Account abstraction modes](https://hyperliquid.gitbook.io/hyperliquid-docs/trading/account-abstraction-modes): Official source used for the product claims on this page.
- [Hyperliquid Docs: Margining](https://hyperliquid.gitbook.io/hyperliquid-docs/trading/margining): Official source used for the product claims on this page.
- [Hyperliquid Docs: Info endpoint](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint): Official source used for the product claims on this page.
- [Hyperliquid Docs: Audits](https://hyperliquid.gitbook.io/hyperliquid-docs/audits): Official source used for the product claims on this page.

## Related pages

- [Hyperliquid margin: cross, isolated, unified and standard](https://hyperliquidreferralcodes.com/hyperliquid-margin): Related guide.
- [Hyperliquid funding rates: hourly payments explained](https://hyperliquidreferralcodes.com/funding-rates): Related guide.
- [Is Hyperliquid safe? Bridge, chain and trading risks](https://hyperliquidreferralcodes.com/risk-safety): Related guide.

## Publication details

- Publisher: Hyperliquid Field Guide.
- Status: Independent and unaffiliated with Hyperliquid Labs and the Hyperliquid Foundation.
- Reviewed: 18 Sept 2026 (2026-09-18).
- Affiliate disclosure: The site operator may earn protocol referral rewards when eligible users trade with code AWD. Hyperliquid controls eligibility, attribution and rewards.
- Contact: research@hyperliquidreferralcodes.com.
- Product terms: Check the linked official documentation and the official Hyperliquid app before you act.
