If you're Googling "OKX sub-account," you're probably in one of two situations: either you just found the feature and wonder if you need it, or you've already blown up a bot that ate into funds you didn't want to risk.
I've been using OKX sub-accounts for months now — specifically to isolate my trading bot experiments from my main holdings. Let me walk you through exactly what sub-accounts do, when they're worth the setup, and when they're overkill.
*Disclosure: This article contains affiliate links. I may earn a commission if you sign up on OKX through my link, at no extra cost to you.*
What Is an OKX Sub-Account?
A sub-account is a separate trading environment under your main OKX account. Think of it like a separate wallet with its own:
- Trading balance — completely isolated from your main account
- Open positions — orders on the sub-account can't touch main account funds
- API keys — you can give a bot access to the sub-account only
- Trading mode — you can set it to spot-only, derivatives, or full contract mode independently
To create one, go to User Menu → Sub-Account Management or visit the sub-account page directly after logging in.
How I Actually Use Sub-Accounts
Here's my real setup:
- Main account: Where I hold my longer-term positions and do manual spot trades
- Sub-account (contract mode): Dedicated to running OKX trading bots — grid bots, DCA bots, and occasional manual perp trades
This saved me at least once. I set up a grid bot with parameters that were too aggressive for a choppy market. It burned through about 40% of the allocated sub-account capital before I killed it. If that had been running on my main account with all my funds accessible? Much worse outcome.
Sub-Account vs Main Account: Key Differences
| Feature | Main Account | Sub-Account |
|---|---|---|
| KYC verification | Required | Inherits from main |
| Deposit from external | ✅ Direct deposit | ❌ Must transfer from main |
| Withdraw to external | ✅ Full withdrawal | ❌ Must transfer to main first |
| API key isolation | Shared with everything | Separate API keys |
| Trading modes | Configurable | Independently configurable |
| P2P trading | ✅ Available | ❌ Not available |
| Earn/Staking | ✅ Available | ❌ Not available |
| Copy trading | ✅ Available | Limited |
| Bot trading | ✅ Available | ✅ Available |
| Fund isolation | ❌ Single pool | ✅ Fully isolated |
When You Need a Sub-Account (3 Real Use Cases)
1. Running Trading Bots
This is the #1 reason to use sub-accounts. When you give a bot API access to trade, you want to limit what it can touch. I allocate a specific budget to my sub-account for each bot experiment.
My workflow:
1. Transfer experiment budget from main → sub-account 2. Create API keys on the sub-account only 3. Configure the bot with sub-account API keys 4. If the bot performs well, add more funds. If not, the loss is capped.If you're running OKX's built-in grid bots or DCA bots, you technically don't need a sub-account since OKX isolates bot funds. But for third-party bots or custom scripts, a sub-account is essential.
2. Separating Trading Strategies
Say you run a momentum strategy and a mean-reversion strategy. Running both on the same account means:
- Margin is shared — a bad trade on one strategy can liquidate the other
- P&L tracking is a mess — which strategy made money?
- Risk limits are global — you can't set different leverage per strategy
3. API Key Security
Every API key you create is a potential attack surface. If you use one API key for everything — your data dashboard, your trading bot, your portfolio tracker — and any one of those gets compromised, everything is exposed.
Sub-accounts let you create narrow API keys. My sub-account API key has trading permission only. No withdrawals (sub-accounts can't withdraw anyway), no account settings changes.
When You Don't Need a Sub-Account
❌ You only trade manually
If you're just buying and selling from the OKX app or website, a sub-account adds complexity with no real benefit. Your main account is fine.
❌ You're using OKX's built-in bots with small amounts
OKX's native grid bot and DCA bot already isolate the funds you allocate to each bot. If you're running one or two built-in bots with modest amounts, the built-in isolation is enough.
❌ You want to use Earn, Staking, or P2P
Sub-accounts don't support these features. If you need them, you're stuck on the main account.
How to Set Up an OKX Sub-Account (Step by Step)
Setting this up takes about 5 minutes:
Step 1: Access Sub-Account ManagementLog into OKX. Click your profile icon → Sub-Account Management (or navigate to Account → Sub-Account).
Step 2: Create the Sub-AccountClick Create Sub-Account. Choose:
- Account name: Something descriptive (e.g., "BotTrading" or "GridBots")
- Account type: Standard sub-account
- Trading mode: I recommend Contract Mode if you're running perp bots
Go to Assets → Transfer. Select:
- From: Main Account (Funding)
- To: Sub-Account → [your sub-account name]
- Amount: Only what you want to risk
Switch to the sub-account (User Menu → Switch Sub-Account). Then go to API Management and create keys with only the permissions your bot needs.
Step 5: Configure Your BotUse the sub-account API keys in your bot configuration. Test with a small amount first.
Transferring Funds Between Main and Sub-Account
Fund transfers between main and sub-accounts are:
- Instant — no blockchain confirmation needed
- Free — zero fees for internal transfers
- Two-way — you can pull funds back to main anytime
One thing to note: if you're using futures on the sub-account, make sure you've moved enough margin. Unlike the main account where you might have cross-margin across everything, the sub-account starts with zero and only uses what you transfer in.
Sub-Account Limits
As of early 2026, OKX allows:
- Up to 5 sub-accounts for standard users
- More sub-accounts available for VIP tier users
- Each sub-account can have its own API keys (up to 5 per sub-account)
My Recommended Setup
If you're doing any kind of automated or bot trading on OKX, here's what I suggest:
1. Main account → Manual trades, spot holdings, Earn products, withdrawals
2. Sub-account #1 → Trading bots (grid, DCA, etc.) 3. Sub-account #2 (optional) → Experimental strategies with strict budget capsTransfer rules:
- Never keep more than your experiment budget on a sub-account
- Pull profits back to main account weekly
- If a bot loses more than 30% of its allocation, pause and reassess before adding more
FAQ
Can I deposit directly to an OKX sub-account from an external wallet?
No. All external deposits go to your main account first. You then transfer internally from main to sub-account. This is a security feature — even if your sub-account API keys are compromised, no one can withdraw funds since sub-accounts don't have external withdrawal capability.
Do OKX sub-accounts share the same KYC verification?
Yes. Sub-accounts inherit the KYC level of your main account. You don't need to verify again. This also means the same trading limits and withdrawal limits apply at the main account level.
Can I run different leverage settings on my sub-account?
Yes, and this is one of the best reasons to use them. Your sub-account can have completely independent margin mode (cross vs isolated), leverage multipliers, and trading pair settings. I run lower leverage on my main account for manual trades and higher leverage on the sub-account for short-term bot strategies.
Is there a fee for transferring between main and sub-accounts?
No. Internal transfers between your main account and sub-accounts are instant and completely free. You can move funds back and forth as often as you want without paying any fees.
What happens if my sub-account gets liquidated?
Only the sub-account is affected. Your main account balance is completely untouched. This is the entire point of the isolation — a liquidation event on the sub-account cannot cascade into your main holdings. After liquidation, you can transfer more funds from main if you want to continue, or simply leave it.
Bottom Line
OKX sub-accounts are a free risk management tool that most traders underuse. If you're running any kind of bot, custom script, or automated strategy, the 5 minutes it takes to set one up is worth it. The fund isolation alone has saved me from at least one painful bot malfunction.
For manual-only traders, skip it. For everyone else — especially if you're running trading bots or experimenting with different exchanges and strategies — set up a sub-account before your next trade.
Ready to try it? Sign up on OKX to get started with fee discounts, then head to Sub-Account Management to create your first isolated trading environment.---
*Risk Warning: Cryptocurrency trading involves significant risk and may not be suitable for all investors. Never trade with money you can't afford to lose. Past performance is not indicative of future results.*