Offside has a reputation as the rule nobody understands. In truth the idea is simple: an attacker should not be able to wait beside the goalkeeper for the ball to arrive. The complications come from the details, especially when technology is measuring positions down to a shoulder or a toe.

This guide explains the law as it is written in the Laws of the Game (Law 11), the situations where offside does and does not apply, and how the decision is made at the top level. The Laws are maintained by the International Football Association Board (IFAB) and updated each season, so for any very recent tweak the official IFAB text is the final word.

The two-step test

The easiest way to think about offside is as two separate questions. The first is about position. The second is about involvement. A player has to fail both for the flag to go up.

Step one: is the player in an offside position?

A player is in an offside position if, at the moment a teammate plays or touches the ball:

  • any part of their head, body or feet is in the opponents' half (the halfway line itself does not count), and
  • that part is nearer to the opponents' goal line than both the ball and the second-last opponent.

The second-last opponent is usually the last outfield defender, because the goalkeeper is normally the last one. If the goalkeeper has come out, the second-last opponent might be a defender standing on the line.

Being level counts as onside. Level with the second-last opponent is fine, and so is level with the ball.

The hands and arms are ignored, for attackers and defenders alike. The law treats the arm as ending at the bottom of the armpit, so a player whose arm is ahead of the last defender, but whose shoulder is not, is onside.

Step two: are they involved in active play?

Standing in an offside position is not an offence. A player is only penalised if, when the ball is played or touched by a teammate, they then become involved in one of three ways:

  • Interfering with play: playing or touching the ball passed or touched by a teammate.
  • Interfering with an opponent: for example, blocking the goalkeeper's line of sight, challenging an opponent for the ball, or making an obvious action that clearly affects an opponent's ability to play the ball.
  • Gaining an advantage: playing the ball after it has rebounded or been deflected off the goal frame, a match official or an opponent, or after it has been deliberately saved by an opponent.

This is why you see assistant referees wait before raising the flag. A player in an offside position might never touch the ball, in which case play continues.

When offside does not apply

There are situations where a player cannot be offside, no matter where they are standing.

  • Goal kicks, throw-ins and corner kicks. A player receiving the ball directly from any of these cannot be penalised for offside.
  • In their own half. A player standing in their own half at the moment the ball is played is onside, even if they then run far beyond the defence.
  • Behind the ball. A player level with or behind the ball is onside.

Deliberate play by a defender

One of the most argued-about areas is what happens when a defender plays the ball. If a defender deliberately plays the ball, for example with a misjudged clearance or a poor back pass, an attacker who was in an offside position is generally no longer penalised for receiving it. The defender's deliberate action effectively resets the situation.

The exception is a deliberate save. If a goalkeeper or defender makes a save to stop the ball going into or very close to goal, and it falls to an attacker who was in an offside position, the attacker is still offside. Deflections and rebounds also do not reset it. Telling a deliberate play from a deflection is a judgement call, and it is often where the arguments start.

Defenders who leave the pitch

A defender who steps off the field without the referee's permission, perhaps to play an attacker offside, is treated as standing on their own goal line or touchline for offside purposes until the next stoppage. That prevents defenders gaming the rule by walking off.

How the decision is made

The assistant referee on each touchline is responsible for watching the second-last defender and judging offside in real time. That is one of the hardest jobs in sport, because the assistant has to watch the moment the ball is played and the position of players perhaps 30 or 40 metres away at the same instant.

At competitions that use video review, a goal can be checked for offside after it is scored. Assistants are often told to keep the flag down in tight situations and let play run, because a goal can be ruled out on review but an attack wrongly stopped cannot be restored. Some competitions also use semi-automated offside technology, which tracks player positions with cameras and produces a 3D image of the decisive moment. Which tools are in use depends on the league and the season, so check the competition's own guidance. Our article on what VAR and goal-line technology changed covers the wider effect of video review.

What happens after an offside

When an offside offence is given, the opposing team is awarded an indirect free kick from the place where the offending player became involved, which can be in their own half if they had tracked back. If the offence came before a goal, the goal does not stand.

A few points that regularly catch out viewers:

  • The position that matters is at the moment the ball is played, not when it is received.
  • A player who returns from an offside position to an onside one before the ball is played is onside.
  • Offside is not a foul, so it does not lead to a caution on its own.

A note on changes and trials

IFAB has at various points discussed or trialled different ways of judging offside, including ideas that would give more benefit of the doubt to the attacker. Trials run in specific competitions before any change reaches the full Laws of the Game. If you see a different interpretation in a particular tournament, it is worth checking whether that competition is part of a trial rather than assuming the law has changed everywhere.

What this means for your weekend schedule

Offside reviews add a little time to matches, which is one reason games at the top level rarely finish exactly on the 90-minute mark. We explain that in why stoppage time got longer.

If you are following several games at once, the soccer section lists the day's fixtures with kick-off times in your timezone, and the live status updates when a match is under way, at half-time or finished. A disallowed goal will not change a scoreline, but a long review can push the final whistle a few minutes later than you might expect.