A margin call in forex is a broker's warning that your account equity has fallen to a set percentage of the margin your open trades require, often 100%. The warning closes nothing by itself, but the stop-out level below it does. This guide shows what pushes an account to that point, how to calculate the exact price where positions get closed, and what to change before you enter a trade.

What Is a Margin Call in Forex?

A margin call in forex is an alert that your margin level has dropped to the threshold set by your broker, commonly 100%, which means equity only just covers the margin held against open positions. A margin call leaves existing trades open but stops you from adding new ones.

The term comes from securities lending, where a broker demanded more collateral from a client whose holdings had fallen in value. Wikipedia's overview of margin and margin calls describes that older process, in which the investor adds funds, posts more collateral or sells holdings. A retail forex account works differently, because the trading server compares equity with used margin continuously and no one needs to phone you.

A margin call at 100% means free margin has reached zero. With no free margin left, the platform rejects any order that needs additional margin, and every further pip against you moves the account toward forced liquidation. Traders often treat the alert as the danger, when the real danger is how few pips remain before the stop-out level.

How Margin Level Is Calculated on MT5

Margin level on MetaTrader 5 (MT5) equals equity divided by used margin, multiplied by 100. The figure appears in the Trade tab of the Toolbox beside balance, equity, margin and free margin, so the number that decides a margin call stays on screen while a trade is open.

MetaQuotes defines balance as the money on the account excluding open positions, and equity as the balance adjusted for the floating result of those positions. Margin is the money required to cover open positions, and free margin is the amount left over. On the MT5 Android app, the margin fields turn red when a margin call applies.

Used margin on a forex pair follows the MetaQuotes formula: volume in lots × contract size ÷ leverage, converted to the deposit currency. A long 0.50 lot EUR/USD position at 1.1000 with 1:100 leverage on a USD account needs 0.50 × 100,000 ÷ 100 = 500 EUR, which is $550 at 1.1000.

With a $1,000 balance and no floating result yet, margin level is $1,000 ÷ $550 × 100 = 181.8% and free margin is $450. A floating loss of $100 moves equity to $900 and margin level to 163.6%, while used margin stays at $550.

What Triggers a Margin Call in Forex?

A margin call in forex triggers when equity falls or used margin rises enough to bring margin level down to the broker's threshold. Losing positions are the usual cause, but spread widening, overnight swaps, new trades, withdrawals and higher margin requirements all move the same ratio.

Position Size Too Large for the Account

Position size is the first thing to check after a margin call, because lot size decides how many dollars each pip costs. A 0.50 lot EUR/USD position moves $5 per pip, while 2.50 lots on the same $1,000 account moves $25 per pip. A 30-pip pullback costs $750 at 2.50 lots, and 30 pips is an ordinary intraday move for EUR/USD.

Spread Widening at Rollover and During News

MT5 values a long position at the bid and a short position at the ask, so a wider spread creates a floating loss with no real change in the market. Quoted forex spreads on many pairs widen around the daily rollover at 5 p.m. New York time and during major releases such as US Non-Farm Payrolls. If the bid drops 15 pips because the spread widens, a 2.50 lot long position loses $375 of equity until the spread normalises, and a stop-out triggered in that window stays triggered.

Swaps, Commissions and Withdrawals

Overnight swap charges and commissions come straight out of equity, so a position held for weeks lowers margin level even if price goes nowhere. Withdrawing profit does the same in one step. A $300 withdrawal from a $1,000 account holding $550 of margin drops margin level from 181.8% to 127.3%.

New Trades and Higher Margin Requirements

Every new position adds used margin and lowers margin level the moment the order fills. Margin requirements can also rise while a trade is open, because brokers may reduce available leverage around weekends, holidays or high-impact events. A cut from 1:500 to 1:100 multiplies the margin on an existing position by five, so a margin level of 400% falls to 80% with no price change at all.

Margin Call Level vs Stop-Out Level

The margin call level is a warning threshold, and the stop-out level is the lower threshold where the broker's server starts closing positions without asking. Both are percentages of margin level on most retail accounts, though the MT5 account settings also allow brokers to express them in deposit currency.

Neither number is universal. Retail accounts commonly show a margin call at 100%, stop-out levels commonly sit between 20% and 50%, and some brokers publish a single level with no separate warning. Your own account specification is the only figure that counts.

Tradin publishes a stop-out level of 30% for Standard and Raw accounts and 20% for Swap-Free accounts on its trading account comparison. Regional rules can set a different figure: the European Securities and Markets Authority (ESMA) introduced a 50% margin close-out for retail CFD clients on 1 August 2018, applied per account, and retail CFD accounts in the EU and UK operate under that 50% standard.

Margin call level

Stop-out level

Purpose

Warning

Forced closure

Typical setting

100%, varies by broker

20% to 50%, varies by broker

Who acts

The trader

The broker's server

Open positions

Stay open

Closed automatically until the level recovers

New orders

Rejected once free margin is used up

Rejected

How a Stop-Out Closes Positions on MT5

A stop-out on MT5 closes positions one at a time, normally starting with the largest floating loss, and the server recalculates margin level after each closure. The process stops as soon as margin level climbs back above the stop-out threshold, so a stop-out does not always remove every open trade.

Take a $2,000 balance with a 30% stop-out level and three positions using $1,000 of margin in total. Position A uses $400 and shows a $1,100 loss, position B uses $300 and shows a $600 loss, and position C uses $300 and sits at breakeven. Equity is $300 and margin level is exactly 30%, so the server acts.

The server closes position A first. Balance falls to $900, equity stays at $300 because the loss was already counted, and used margin drops to $600, so margin level rises to 50% and the closures stop. Positions B and C survive only because $400 of margin was released.

Closing a losing trade does not raise equity at all, and margin level recovers only because the denominator shrinks. A trader rescuing an account by hand therefore gets the biggest lift from closing whichever position holds the most margin. That position is not always the one showing the biggest loss.

Stop-out closures execute at the next available market price rather than at the exact trigger. Even the best forex broker cannot fill a stop-out at a price nobody is quoting, so a fast market can carry an account well past its stop-out level before the closing order completes. On 15 January 2015, when the Swiss National Bank (SNB) ended its CHF 1.20 per euro minimum exchange rate, EUR/CHF moved so abruptly that some accounts finished below zero.

After a stop-out, the MT5 History tab lists the closed deals, normally with an "so" marker in the comment field, and the Journal records the account state at the moment of closure. Those entries show the margin level at execution, so check them first if a closure looks wrong.

How Many Pips Until a Stop-Out? A Worked Calculation

The distance to a stop-out in pips equals equity minus the stop-out percentage of used margin, divided by the total pip value of the position. That calculation tells a trader, before entry, the price at which the broker starts closing, which is more useful than watching margin level fall.

Written out, pips to stop-out = (equity − stop-out % × used margin) ÷ total pip value. Substituting the margin call percentage gives the margin call price instead.

A $1,000 USD account buys 0.50 lots of EUR/USD at 1.1000 with 1:100 leverage, using $550 of margin at $5 per pip. At a 30% stop-out, the distance is ($1,000 − 0.30 × $550) ÷ $5 = 167 pips, which puts the stop-out near 1.0833. The table below holds used margin at $550 for simplicity, since the euro margin converts to dollars at a rate that can drift slightly as EUR/USD falls.

Threshold

Equity at threshold

Loss from entry

Pips of room

Approx. EUR/USD price

Margin call at 100%

$550

$450

90

1.0910

Stop-out at 50%

$275

$725

145

1.0855

Stop-out at 30%

$165

$835

167

1.0833

Stop-out at 20%

$110

$890

178

1.0822

Why Higher Leverage Only Hurts If You Size Up

Leverage on its own does not bring a stop-out closer. The same 0.50 lots at 1:500 uses only $110 of margin, and the 30% stop-out sits 193 pips away instead of 167, because the equity required at the threshold is lower.

The danger is what higher leverage lets a trader do. Spending the same $550 of margin at 1:500 buys 2.50 lots at $25 per pip, and the distance to a 30% stop-out collapses to ($1,000 − $165) ÷ $25 = 33 pips. Margin level reads an identical 181.8% in both cases, which makes margin level alone a poor gauge of risk. A 33-pip adverse move can take most of that $1,000 in one session.

Does Hedging Stop a Margin Call on MT5?

Hedging can lift margin level on an MT5 hedging account, but only where the broker charges little or no margin on the covered volume, and the floating loss stays locked in. A hedge does not repair the account, and unwinding the hedge later restores the full margin requirement.

MetaQuotes documents two calculation methods. Under the default basic method, only the uncovered volume carries regular margin, and the covered volume is charged at the instrument's Hedged margin value, which can be zero. Under the larger-leg method, the platform margins each side and uses the larger total, so an opposite trade of equal size releases no margin at all.

A hedged account still pays the spread on both legs and swaps on both legs, so equity keeps bleeding while the trader waits. Closing one leg brings back full margin on the other, which can trigger the stop-out the hedge was meant to prevent. Check the Hedged margin field in the MT5 contract specification for the symbol before relying on a hedge.

How to Avoid a Margin Call in Forex

Avoiding a margin call in forex comes down to sizing positions from the stop-loss distance and keeping the stop-out price far beyond any level the trade should reach. A correctly sized trade rarely produces a margin call, because the stop-loss closes the position long before margin runs out.

  1. Set the risk in dollars before the lot size. On a $1,000 account, 1% risk is $10, so a 40-pip stop-loss on EUR/USD allows $0.25 per pip, which rounds down to 0.02 lots.

  2. Work out pips to stop-out for the position and confirm the stop-loss sits well inside that distance.

  3. Add up exposure across correlated pairs. Long EUR/USD and long GBP/USD often move together, so sum the pip values and treat them as one larger position.

  4. Reduce size before scheduled high-impact news and before weekends, when gaps can jump past a stop-loss.

  5. Set a price alert in the MT5 Alerts tab at your calculated margin call price, so you get notice before the account warning appears.

Depositing more money after a margin call buys pips but changes nothing about the trade. A $500 top-up on a 0.50 lot position adds 100 pips of room, and if the trade idea has already failed, that room only raises the amount at risk. Closing half the position releases $275 of margin and halves the pip cost, which usually does more for the account.

What Happens After a Stop-Out?

After a stop-out, the closed positions become realised losses, the balance drops to match, and any positions left open continue with the remaining equity. The account stays active and the trader can deposit or trade again once margin is available, but the realised losses cannot be reversed.

Can You Lose More Than Your Deposit After a Stop-Out?

A stop-out lowers the chance of a negative balance without removing it, because the closure can fill beyond the trigger during a gap. Negative balance protection, where a broker offers it or a regulator requires it, resets a negative balance to zero. ESMA's 2018 measures required that protection per account for EU retail CFD clients, while terms elsewhere vary by broker and jurisdiction, so read the client agreement.

What Margin Level Is Safe?

No margin level is safe in itself, since the same percentage can describe very different amounts of room. A better test is to compare pips to stop-out with the pair's typical daily range, using the Average True Range (ATR) indicator on the D1 chart in MT5. If pips to stop-out is less than two or three times daily ATR, one bad session can close the position.

Do Demo Accounts Show Margin Calls?

Demo accounts generate margin calls and stop-outs from the same margin level calculation, which makes them a free place to watch the sequence happen. Demo fills do not reproduce live slippage, so treat the exit prices on a demo stop-out as optimistic.

Know Your Stop-Out Price Before You Enter

The margin call itself is only the alert, and the number worth knowing is the price where the stop-out begins. Work out pips to stop-out for every position before entry, using the level your own account publishes. If that distance sits inside a normal day's range for the pair, cut the lot size until it doesn't.