Skip to content
OnFin

Trading guides

What Is a Margin Call in Forex and How to Avoid One

Learn what triggers a margin call in forex trading, how stop out levels work, and practical steps to avoid margin calls while margin trading.

OnFin Editorial
What Is a Margin Call in Forex and How to Avoid One

You open your platform after a bad session and see a red notification: margin call. Your open positions are on the edge, and one more pip against you could trigger an automatic closeout. This article breaks down exactly what a margin call is, what triggers it, how your broker's stop out level works, and, most importantly, how to avoid a margin call in the first place.

Margin Call Definition: What Happens When Equity Drops Below Required Margin

A margin call is a broker warning that your account equity has fallen below the required margin threshold. It is not an automatic closeout, it is the alert that tells you to act before one happens.

Traders often confuse margin call with stop out, but they are two distinct events:

  • Margin call, the warning. Your broker notifies you that equity is too low to support open positions. You must deposit more funds or close some trades to bring the margin level back above the threshold.
  • Stop out, the action. If you ignore the warning and equity drops further, the broker begins closing your positions automatically, starting with the largest loss-making trade, to prevent the account from going negative.

How Margin Level Works: A Simple Example

Brokers calculate margin level using one standard formula:

Margin Level = (Equity / Used Margin) × 100

Say you deposit $2,000 and open a position that requires $500 in used margin. Your account equity is $2,000, and your margin level is (2,000 / 500) × 100 = 400%. That is healthy.

Now the trade moves against you, and equity drops to $1,200. The margin level falls to (1,200 / 500) × 100 = 240%. Still above most broker thresholds.

If equity keeps falling to $600, the margin level hits (600 / 500) × 100 = 120%. Many brokers issue a margin call at 100%, the point where equity equals used margin and no free margin remains.

Broker Thresholds Vary

Not every broker follows the same playbook. Some issue a warning at 100% margin level and give you time to respond. Others skip the warning entirely and go straight to a stop out at 50% or 20%, depending on their risk policy and the instrument traded. Always check your broker's margin call and stop-out levels in the contract specifications before you open a position, the first time you see them should not be in an alert window.

What Triggers a Margin Call: The Three Factors That Push Margin Level Below 100%

A margin call happens when your account's margin level drops to or below 100%. Margin level is the ratio of equity (balance plus or minus floating P&L) to used margin (the collateral locking up your open positions), expressed as a percentage. When equity equals used margin, free margin is zero, you cannot open new trades, and the broker can close your weakest positions to prevent a negative balance. Three distinct triggers can drive margin level to that line.

Factor 1: Adverse Price Movement Reducing Floating Equity

This is the most common trigger. Every open position has floating P&L that changes in real time with price. If the market moves against you, floating losses reduce your equity dollar for dollar. Used margin stays fixed (assuming no position size change), so the margin level ratio shrinks.

Realistic scenario: You open a 1-lot EUR/USD position with 1:30 leverage. At a EUR/USD rate of 1.0800, the notional value is €100,000, requiring roughly $3,600 in used margin. Your account has $5,000 equity, a comfortable 139% margin level. If EUR/USD drops 50 pips (0.0050), the floating loss is $500. Equity falls to $4,500, used margin stays at $3,600. Margin level becomes 125%. A 70-pip drop pushes equity to $4,300 and margin level to 119%. A 140-pip loss brings equity to $3,600, margin level hits exactly 100%. One more tick and the broker issues the call.

Factor 2: Opening New Positions That Increase Used Margin

Every new trade consumes additional used margin. If you open positions without adding funds, used margin rises while equity stays the same (or drops if the new trade moves against you immediately). This is how a trader with a healthy margin level on one position can trigger a call simply by over-leveraging.

Example: Your $5,000 account has one 1-lot EUR/USD trade using $3,600 margin, margin level at 139%. You open a second 1-lot EUR/USD trade. Used margin doubles to $7,200. Equity is still $5,000. Margin level drops to 69% instantly, well below the 100% threshold. The broker may not even allow the trade to open if your platform enforces a margin check at order entry.

Factor 3: Withdrawing Funds From the Account

Withdrawals reduce your account balance, which lowers equity. Used margin on existing positions does not change. If you withdraw too much while holding open positions, equity can fall below used margin.

A trader with $5,000 equity, $3,600 used margin (139% margin level) who withdraws $1,500 reduces equity to $3,500. Used margin remains $3,600. Margin level drops to 97%, triggering an automatic margin call.

Stop Out Level: The Automatic Closeout That Follows a Margin Call

A margin call warns you. A stop out acts. The stop out level is the broker's hard threshold, expressed as a percentage of the margin level, at which the trading platform begins closing your positions automatically, without further notice.

Stop out is not a penalty. It is a risk-control mechanism that protects both you and the broker. Once equity drops too low to support open positions, the system intervenes to prevent a negative balance. The broker does not need your permission at this stage.

How Brokers Close Positions

When the stop out level is triggered, the platform does not close everything at once. It starts with the largest losing position, the one consuming the most margin while generating the biggest floating loss. After closing that trade, the system recalculates the margin level. If it has recovered above the threshold, the process stops. If not, it closes the next largest losing position, and so on, until the margin level is safe.

Common Stop Out Levels by Instrument

Stop out levels vary by broker and asset class. The table below shows typical thresholds you will encounter in retail forex and CFD trading:

Instrument Type Typical Stop Out Level (Margin %) Notes Forex majors (EUR/USD, GBP/USD, USD/JPY) 20% Highest liquidity; tighter thresholds Forex minors & exotics 30% – 50% Wider spreads; broker adds buffer Gold (XAU/USD) 30% – 50% Higher volatility than majors Major indices (S&P 500, FTSE 100, DAX 40) 50% Larger contract sizes, gap risk Commodity CFDs (oil, silver, natural gas) 50% Wider spreads and lower liquidity

The Cascade Effect

One stop-out close can trigger more. When the system closes a losing position, it frees up the margin that trade was holding, but it also locks in the loss, reducing your equity. If the remaining positions are still deep underwater, the margin level may stay below the threshold. The platform then closes the next position, and the cycle repeats until the account is flat or the margin level recovers. A single stop out event can cascade through your entire portfolio in seconds.

How to Calculate Your Margin Level Before the Broker Does

A margin call hits when your margin level drops to 100% or below. The broker calculates this in real time, but you can, and should, run the numbers yourself before entering any trade.

The Margin Level Formula

Margin level is expressed as a percentage:

Margin Level = (Equity ÷ Used Margin) × 100

Let's walk through a concrete example. Say you deposit $5,000 and open a 1.0 lot EUR/USD position with 1:30 leverage. Your used margin is roughly $3,333 (€100,000 ÷ 30). Your equity starts at $5,000.

Margin Level = ($5,000 ÷ $3,333) × 100 = 150%

That gives you room. If the trade moves against you by 167 pips (≈ $1,670 loss), equity drops to $3,330 and margin level falls to ~100%, triggering a margin call.

Where to Find the Numbers on MT4/MT5

On both platforms, open the Trade tab at the bottom of the terminal window. You'll see four key fields:

  • Balance, your account total before any open positions
  • Used Margin, the amount currently locked by open trades
  • Equity, balance + floating profit/loss
  • Free Margin, equity minus used margin

The relationship is simple: Free Margin = Equity − Used Margin. When free margin hits zero, your margin level is 100% and the broker will close your weakest position.

Pre-Trade Calculation: How Much Room Do You Have?

Before you click "buy" or "sell," calculate how far the market can move against you before margin level drops below 100%. At 1:30 leverage, a $5,000 account can open roughly 1.5 lots of EUR/USD before margin level falls under 100% at entry. At 1:10 leverage, the same account maxes out at about 0.5 lots.

Account Size Leverage Max Position Size (EUR/USD) Before Margin Level < 100% $2,000 1:30 0.6 lots $5,000 1:30 1.5 lots $5,000 1:10 0.5 lots $10,000 1:50 5.0 lots

Run this math before you enter. If the max position size feels tight, lower your lot size, not your leverage. A trade with 50% used margin leaves you room to absorb a drawdown without triggering a call.

Five Practical Steps to Avoid a Margin Call in Forex

1. Use Conservative Leverage, 1:10 or 1:20 Instead of the Maximum

Most brokers, including OnFin, offer leverage up to 1:500 or higher. Just because it's available doesn't mean you should use it. A 1:10 leverage means a 1% move against your position consumes 10% of your margin. At 1:500, that same 1% move wipes out five times your account. Trading at 1:10 or 1:20 gives your account the breathing room to absorb normal market fluctuations without triggering a margin call.

Common mistake: Treating maximum leverage as "free buying power." It's not free, it magnifies losses at the same rate it magnifies gains.

2. Set a Personal Stop-Loss on Every Trade

The broker's stop-out level, typically 20% or 50% margin level, is a last-resort circuit breaker, not a risk management tool. By the time the broker closes your position, you've already lost most of the trade's margin. Setting your own stop-loss at a price level that caps your loss to 1–2% of your account keeps you in control. Place it in the platform's order ticket before you enter the trade, not after.

Common mistake: Moving the stop-loss further away after entry because "the trade needs room." That's emotional trading, not risk management.

3. Monitor Margin Level in Real Time Using MT4/MT5 Display Settings

MT4 and MT5 show your margin level, calculated as (Equity / Used Margin) × 100, in the Terminal window under the Trade tab. Right-click the column headers and enable the Margin Level column if it's hidden. Check it before every new trade and any time price moves sharply. A margin level dropping toward 100% is a warning, not a curiosity.

Common mistake: Only checking equity and ignoring margin level. Equity can look healthy while margin level is dangerously low if you have many open positions.

4. Keep a Cash Buffer, Never Trade at 100% Used Margin

Used margin is the portion of your account locked up as collateral for open positions. When used margin equals your equity, your margin level is exactly 100%. Any additional loss triggers a margin call. Running at 60–70% used margin leaves a cash reserve, free margin, that absorbs drawdowns before they reach your collateral. Think of free margin as your account's shock absorber.

Common mistake: Opening new positions until the platform says "insufficient funds." That's not using your account efficiently, it's running without a safety net.

5. Reduce Position Size During High-Impact News Events

News releases, NFP, CPI, central bank rate decisions, routinely produce 20–50 pip gaps in less than a second. Slippage during these events means your stop-loss may fill 10–30 pips worse than your requested price. A position that was safe on paper becomes a margin call in execution. Cutting your standard lot size to a mini or micro lot during news windows limits the damage if slippage hits.

Common mistake: Assuming your stop-loss will fill at exactly the price you set. During high volatility, no broker can guarantee fill prices, including OnFin. Plan for the gap, not the ideal fill.

Margin Trading Risks That New Traders Overlook

Leverage Cuts Both Ways, and It Cuts Fast

New traders often treat leverage as a speed boost for profits, but it amplifies losses with the same multiplier. At 1:50 leverage, a 2% move against your position wipes out 100% of the margin you posted. That is not a theoretical edge case, EUR/USD has moved 1.5% in a single NFP release. The same 2% move that would cost you 2% in a cash account liquidates a leveraged position entirely.

Slippage Turns Stop Levels Into Estimates

Your stop-loss is an instruction, not a guarantee. During fast markets, news events, liquidity gaps, session opens, price can skip past your stop level before the order executes. You might set a stop-out at 100% margin usage and get filled at 120% or worse. That difference matters because it erodes account equity beyond what the risk model predicted.

Weekend Gaps Can Close You Out Before You Wake Up

Margin closeouts are not limited to live trading hours. If markets open with a gap against your position on Sunday night (Asia open), the system calculates margin requirements at the new price. A gap of 50 pips on GBP/JPY at 1:30 leverage can push used margin above the threshold instantly. You do not get a warning call, the closeout happens at the first available price.

Correlated Positions Concentrate Risk, Not Diversify It

Holding multiple long positions across correlated pairs, say EUR/USD, GBP/USD, and AUD/USD, does not spread risk. When the dollar strengthens, all three move against you simultaneously, and margin consumption spikes across the board. The same $10,000 move that would hurt one position now hits three, and the margin call thresholds stack.

The Trap: Adding Margin Instead of Cutting Losses

When a margin call hits, the instinct is to transfer more funds to keep the trade alive. This is often the worst move. Adding margin to a position that has already moved against you increases your total exposure at the worst possible price level. The trade either recovers (rare) or continues against you (common), and the second loss is larger than the first. The disciplined alternative, closing the position and reassessing, preserves capital for the next setup.

Margin Call vs. Stop Out vs. Liquidation: Clearing Up the Confusion

Many brokers use these three terms interchangeably, but they describe distinct stages in a single chain of events. Mixing them up can cost you, if you think a "margin call" is the point where positions get closed, you may wait for a notification that never comes until it's too late.

The Sequence: Warning → Threshold → Action

Here is the actual order, step by step:

  • Margin Call (warning stage): Your margin level drops below the broker's first threshold, typically 100% or 80%. The platform displays an alert, and some brokers send an email or SMS. No positions are closed yet. You are being asked to deposit more funds or reduce exposure.
  • Stop Out (threshold stage): Your margin level falls to the broker's stop-out level, commonly 50%, 30%, or 20%. The platform begins closing positions, starting with the largest losing trade, to bring margin level back above the threshold.
  • Liquidation (outcome stage): The actual closing of positions that happens during the stop-out process. Liquidation continues, position by position, until your margin level recovers above the stop-out threshold or all positions are closed.

The Terminology Trap

Some brokers label the automatic closeout itself as a "margin call," which creates real confusion. A trader who reads about "margin call" on one broker's site and expects a mere warning could be shocked when their positions are already gone. Always check your broker's specific definitions in the client agreement, not the marketing material.

Three Terms, One Table

Term Trigger Threshold Action Taken Outcome for Trader Margin Call Typically 80–100% margin level Alert displayed on platform (email/SMS optional) Warning only, no positions closed yet Stop Out Typically 20–50% margin level Platform starts closing losing positions Partial position closure begins Liquidation Ongoing during stop-out process Positions closed one by one until margin level recovers Losses locked in; account may be left with open positions or empty

Why Your Broker's Specific Thresholds Matter More Than the Name

A broker with a 50% stop-out level and a broker with a 20% stop-out level will trigger liquidation at very different account conditions. One gives you room to react; the other can wipe out positions in seconds during fast-moving news. The label, "margin call," "stop out," or "liquidation", is secondary. What matters is the exact percentage at each stage, the time of day those checks run, and whether the broker uses FIFO (first in, first out) or closes the largest losing trade first. That information lives in your broker's trade execution policy, not in a glossary.

What to Do When You Receive a Margin Call (Without Panicking)

A margin call notification triggers an immediate decision. You have three legitimate options, and one dangerous impulse to suppress.

Option 1: Deposit Additional Funds

Transferring cash into your account raises your equity above the margin call threshold. If your broker requires $1,000 in used margin and your equity has dropped to $800, depositing $200 (or more, for a safety buffer) restores compliance instantly. This works best when you have conviction the trade thesis is still valid and the drawdown is temporary. Adding funds does not fix a broken position, it only buys time.

Option 2: Close Losing Positions

Closing one or more positions reduces your used margin, which lowers the margin requirement. If you hold three micro lots and one is deep in the red, closing that single trade may free enough margin to keep the other two alive. Prioritize positions with the largest floating loss relative to their margin requirement. This is the most direct way to resolve the call without committing new capital.

Option 3: Hedge (If Allowed)

Some brokers permit hedging, opening an opposite position on the same instrument to freeze the floating loss. A 1-lot EUR/USD short at 1.1000 can be neutralised by a 1-lot long at the current price. The net P&L stops moving, and your used margin resets to the hedge requirement (often zero or near-zero). Not all brokers allow this, and some accounts restrict hedging on certain instruments. Check your contract specs before relying on this route.

What NOT to Do

Do not open new positions hoping to trade your way out of a margin call. Adding leveraged exposure while already underwater increases used margin and accelerates the next margin call. The emotional pressure to "make it back fast" is the single most common cause of a blown account. Close first, then reassess with a clear head.

After the Event: Review Your Trade Log

Once the margin call is resolved, review the sequence that led there. Look for three metrics: the average risk-per-trade as a percentage of account equity, the maximum floating loss reached before the call, and whether you had a stop-loss in place. A trade log that shows repeated margin calls on the same pattern, oversized lots, no stops, revenge entries, signals a structural risk-management problem that no deposit can fix.

FAQ

What margin level triggers a margin call in forex?

Most brokers, including OnFin, issue a margin call when your account's margin level, calculated as (Equity / Used Margin) × 100, falls to 100% or below. At 100% margin level, your equity equals your used margin, meaning no free margin remains to support open positions. Some brokers set the call threshold at 80% or 50%, so check your account's specific margin policy in the platform's terminal window.

Can a margin call happen overnight or on weekends?

Yes. During market close, Friday after US session close through Sunday open, you cannot add funds or close positions. If adverse weekend gaps or rolled swap charges push your margin level below the threshold, a stop out triggers automatically when trading resumes. This is called a weekend gap risk. To avoid it, keep your margin level well above 200% before the weekly close.

Does my broker notify me before a stop out?

Most brokers send an email or in-platform alert when your margin level hits the call threshold, but they are not obligated to notify you before a stop out. The automated system monitors margin level in real time. If the market moves against you quickly, during a news release or liquidity gap, the system can liquidate positions before any notification reaches you. Never rely on alerts; monitor your margin level directly in MT4/MT5.

How much leverage should I use to avoid margin calls?

Lower leverage gives you a wider buffer. A good starting rule is to use no more than 10:1 effective leverage, meaning your total position size is no more than 10 times your account equity. For example, a $1,000 account should hold positions totaling no more than $10,000 notional value. This keeps your margin level above 500% under normal moves and gives room to absorb a 2–3% adverse swing without triggering a call.

What happens to open positions after a stop out?

The broker's system closes one or more of your open positions at the current market price, starting with the position showing the largest loss. The system continues closing positions until your margin level rises back above the stop-out threshold, typically 50% or 20%, depending on the broker. Any remaining positions stay open. You keep whatever equity is left after the liquidation, but the loss is locked in. Plan position sizes so a single stop out doesn't empty the account.

Read next