The US Forex FIFO Rule Explained: How First-In, First-Out Affects Your Trades
The FIFO rule means that if you hold more than one position in the same currency pair in the same US retail forex account, you must close them in the order you opened them: first in, first out. It comes from NFA Compliance Rule 2-43(b), which applies to forex dealers that the CFTC oversees, and it has applied to US retail forex accounts since 2009 alongside the ban on holding offsetting long and short positions.
Key takeaways
- FIFO is an NFA rule enforced on CFTC-registered retail forex dealers; people call it the CFTC FIFO rule because the CFTC approved and oversees it.
- It applies per currency pair, per account. Positions in different pairs are independent.
- You cannot close a newer EUR/USD trade while an older EUR/USD trade of the same size is still open; the oldest goes first.
- Stop-losses and take-profits on individual trades interact with FIFO, which is why many US platforms manage orders at position level.
- FIFO changes how you scale in and out, how expert advisors behave, and which trade's P&L you realise; it does not change your total exposure.
Where the FIFO rule comes from
The Commodity Futures Trading Commission (CFTC) regulates retail off-exchange forex in the US under the Commodity Exchange Act. Firms that act as counterparty to retail forex customers must register as a Retail Foreign Exchange Dealer (RFED) or Futures Commission Merchant (FCM) and be members of the National Futures Association (NFA), the industry's self-regulatory body. The NFA writes detailed conduct rules for those members, subject to CFTC approval.
NFA Compliance Rule 2-43 deals with forex orders. Part (b) does two things: it prohibits a forex dealer member from carrying offsetting positions in the same currency pair in a customer account, and it requires positions to be offset on a first-in, first-out basis. Those provisions took effect in 2009. The first half is the "no hedging" rule, covered in its own guide on the US no-hedging rule. This page covers the second half.
The rule's stated purpose was customer protection. Regulators were concerned that letting customers hold and selectively close multiple positions in the same pair encouraged practices that increased costs to customers without changing their economic exposure, and that it obscured the true picture of an account's position.
What FIFO means in practice
Suppose you buy EUR/USD three times in one day in the same account:
| Trade | Time opened | Size | Entry price | Unrealised P&L at 1.0870 |
|---|---|---|---|---|
| A | 09:00 | 10,000 | 1.0820 | +50 pips = +$50 |
| B | 11:30 | 10,000 | 1.0850 | +20 pips = +$20 |
| C | 14:15 | 10,000 | 1.0890 | -20 pips = -$20 |
At 1.0870 you decide to cut trade C because it is the only loser. Under FIFO you can't. If you sell 10,000 EUR/USD, the broker closes trade A, the oldest, and you realise +$50. Trades B and C remain open. Your total exposure afterwards (20,000 long) and your total unrealised P&L on what remains (0 pips net) are exactly what they would have been if you had closed C instead. What changes is which P&L you realise and which entry prices remain on the books.
This is the key mental shift. Under FIFO, individual "trades" in the same pair are really slices of one position. Your economic exposure is the net long or short amount; the realised P&L allocation follows a fixed order.
Does FIFO apply across different pairs?
No. A long EUR/USD and a long GBP/USD are separate positions. You can close either first. FIFO only constrains positions in the same instrument within the same account.
Does size matter?
FIFO is about order, not size. If trade A is 10,000 and you close 5,000, the broker reduces trade A by 5,000. If you close 15,000, trade A is closed and 5,000 comes off trade B. Some platforms handle partial closes cleanly; on others, especially MetaTrader 4, you may need to close by the platform's rules or receive an error.
FIFO and stop-losses, take-profits and pending orders
This is where FIFO causes the most confusion. Say trade C above had a stop at 1.0860 and trade A had a take-profit at 1.0900. If price falls to 1.0860, trade C's stop triggers. Under FIFO, the resulting sell of 10,000 must close trade A, not C. Your platform has three broad options, and US brokers differ in which they use:
- Position-level orders. Stops and limits attach to the net position rather than individual trades. Many US platforms work this way, avoiding the conflict altogether.
- Re-allocation. The trigger fires and the broker applies the fill to the oldest trade, then adjusts or cancels orders attached to the trade that was closed.
- Rejection. The platform refuses an order that would close a newer trade first. On MetaTrader 4 this shows as error 150, "prohibited by FIFO rules".
The practical consequence: if you trade the same pair more than once at a time, read your broker's documentation on how it applies FIFO to stops, take-profits and partial closes. It is also a good reason to simplify. One position with one stop is easier to manage than three overlapping trades with separate exits.
Scaling in and scaling out under FIFO
Scaling in, meaning adding to a winning position, works normally. Each addition becomes a newer slice. Scaling out also works, but you take profit on your oldest and usually best-priced entries first, which leaves your most recent and least favourable entries open.
Worked example: you buy 20,000 GBP/USD at 1.2600, add 10,000 at 1.2650 and another 10,000 at 1.2700. Price reaches 1.2750, and you want to bank half.
- You sell 20,000. FIFO closes the 1.2600 entry: +150 pips × $2 per pip = +$300 realised.
- Still open: 10,000 at 1.2650 and 10,000 at 1.2700. Average entry 1.2675.
- If price now falls back to 1.2675, the remaining position is flat, and you keep the $300.
Without FIFO you could have closed the two later entries instead, banking 100 + 50 pips on 10,000 each = $150, and kept the 1.2600 entry running with a 150-pip cushion. The total P&L at any given exit price is the same either way, but the shape of your remaining risk is different. Planning a scale-out under FIFO means thinking in average price and total size, not in individual tickets. See how to scale into a winning trade for sizing rules that work under either regime.
Reading your statements under FIFO
FIFO also shapes your trade history, which matters if you keep a journal. Because closes are matched against the oldest open slice, a journal that logs "trades" by your intent will not match the broker statement. You may think of trade C as a 20-pip loser you cut, while the statement shows trade A closed for a 50-pip win. Over a month that mismatch makes win rate and average win figures meaningless. The fix is to journal at position level: record the net size, the average entry, each partial exit and the realised result, and reconcile weekly against the broker's statement. Doing it this way also makes it obvious when you are adding to a loser, which FIFO tends to hide because the realised wins come from your earliest, best entries.
FIFO and expert advisors
Many expert advisors and cBots built for international brokers assume they can open and close individual tickets in any order, or manage baskets of trades with separate exits. On a US account, these systems may error, behave unpredictably, or close trades the code did not intend to close. Grid systems and martingale-style averaging are especially affected because they rely on closing specific tickets.
If you run automated strategies on a US account:
- Confirm the EA is written for FIFO and no-hedging environments. Some vendors offer a "US" or "FIFO-compliant" mode.
- Prefer logic that manages one net position per pair, with position-level exits.
- Test on a demo account at your US broker, not on an offshore demo with different rules.
- Check how the EA handles error 149 (hedging prohibited) and 150 (FIFO) if on MT4.
MetaTrader 5 has a "netting" account mode in which each symbol has one position, which aligns naturally with US rules; whether your broker offers MT5 and in which mode is something to confirm directly.
Who the rule applies to
| Situation | FIFO applies? |
|---|---|
| US resident, retail account at a CFTC-registered RFED or FCM | Yes |
| Same trader, positions in different pairs | No, FIFO is per pair |
| CME currency futures through a futures account | Not this rule; exchange futures positions are netted by the clearing system anyway |
| Non-US resident at an offshore broker | No, but that broker is not covered by US rules or protections either |
| Large eligible contract participants | Retail forex rules are aimed at non-ECP customers; terms differ |
US residents generally cannot legally open accounts with offshore forex brokers that are not registered with the CFTC and NFA, and reputable offshore brokers refuse US clients. Our guide to where US residents can trade forex legally covers the options, and the list of CFTC-regulated forex brokers shows the small number of firms that operate in the US retail market.
FIFO, leverage and the other US rules together
FIFO is one of several US retail forex rules that work together. Leverage is capped at 50:1 on major currencies (2% security deposit) and 20:1 on others (5%). Hedging in the same pair and account is prohibited. CFDs are not available to US retail traders at all. Dealers must meet minimum capital requirements of at least $20 million.
Taken together, the US framework pushes traders towards a simpler style: one net position per pair, sized sensibly, with clear exits. Traders coming from offshore platforms often find it restrictive at first. In practice, a strategy that only works when you can selectively close tickets or hold both sides of a pair is usually more fragile than it looks. For how US tax treats the realised gains FIFO produces, see Section 988 forex taxes, and for broker choices, forex brokers for US traders.
None of these rules changes the basic odds: most retail leveraged forex traders lose money, and FIFO neither helps nor hurts that on its own.
Frequently asked questions
What is the FIFO rule in forex?
FIFO, first in first out, requires US retail forex dealers to close a customer's positions in the same currency pair in the order they were opened. It comes from NFA Compliance Rule 2-43(b), which the CFTC oversees, and has applied since 2009. It applies per pair, per account.
Is FIFO a CFTC rule or an NFA rule?
Technically it is an NFA rule. The NFA is the self-regulatory organisation for the US derivatives industry, and its rules require CFTC approval. Retail forex dealers must be CFTC-registered and NFA members, so in practice traders call it the CFTC FIFO rule and it binds every US retail forex dealer.
Can I close a newer trade first on a US forex account?
Not if an older trade in the same pair and account is still open. Your close order will be applied to the oldest position instead, or rejected by the platform. On MetaTrader 4 the rejection shows as error 150, "prohibited by FIFO rules". Different pairs are not affected.
How do stop-losses work with the FIFO rule?
It depends on the broker. Many US platforms attach stops and limits to the net position rather than individual trades. Others apply a triggered stop to the oldest trade and adjust orders on the others, and some reject conflicting orders. Read your broker's documentation, and keep one position with one set of exits where you can.
Does FIFO affect my profit?
Not your total profit at any given exit price. Your overall exposure and combined P&L are the same. What changes is which entry gets realised first, which affects the average price of what remains open, the timing of realised gains and losses, and how scale-out plans behave.
Do prop firms for US traders follow FIFO?
It depends on how the firm is structured and which broker or platform provides the account. Many prop firms use simulated accounts or offshore liquidity providers and set their own rules, which may or may not include FIFO. Read the firm's rules directly, and note that most also restrict hedging.
This article is general information, not personal financial advice. Figures such as spreads, fees, leverage and rules change; confirm them with the provider and check the provider is authorised for your country of residence.