Skip to content
72lab

What does “FIFO rule” mean?

A US NFA rule: one account can't hold offsetting forex positions, and positions are closed oldest first.

In detail

The FIFO rule comes from the US National Futures Association's Compliance Rule 2-43(b): Forex Dealer Members may not carry offsetting positions in a customer account and must offset them on a first-in, first-out basis. In other words, the first trade opened is the first one closed.

The rule has two consequences. First, one account can't hold a buy and a sell on the same currency pair at once (what traders call hedging): a sell closes the existing buy first. Second, with several positions in the same direction you can't pick which one to close; the oldest goes first. The rule does let a customer choose to close the oldest position of the same size as the new order.

This is a US rule, and practice differs elsewhere. For example, Hong Kong SFC rules say that a buy and a sell in the same currency held as a hedge need only one set of margin, which shows accounts there can hold both directions at once. Check the local rules and the broker's account terms before opening an account.

Example

In a US forex account, you buy 1 lot of EUR/USD @1.0850, then another 1 lot @1.0900. When the price reaches 1.0950 you sell 1 lot: under first in, first out, the 1.0850 trade is closed for 100 pips, or $1,000, and the 1.0900 trade remains. You can't choose to close the 1.0900 trade first, and you can't keep a buy and a sell open at the same time.

Common mistake

Thinking FIFO only changes how profit and loss are calculated. It changes what your order does: if you already hold a buy and place a sell, the system closes your oldest buy instead of opening a new short position.

Learn “FIFO rule” in an animated lesson

Common questions about FIFO rule

Why can't you hedge in a US forex account?

NFA Rule 2-43(b) bars Forex Dealer Members from carrying offsetting positions in customer accounts and requires them to be offset first in, first out. So a buy and a sell on the same pair in one account cancel each other out instead of both staying open.

Does the FIFO rule only apply in the US?

The rule comes from the US NFA and covers forex dealers registered in the US. Other places have different rules; Hong Kong SFC rules, for example, charge only one set of margin on a buy-and-sell hedge in the same currency. Whichever place you open an account in, its rules and your account terms apply.

Related terms

See how “FIFO rule” works for yourself with an animation you can drag and play.

Go to “Forex Rules by Region: Leverage, Stop-Outs and Tax”