Home / Guides
Rules & formats

The offside rule, simply explained

By the Find My Football Pitch team· Updated · 6 min read
Perry Park Synthetic Sportsfield, Sydney
Perry Park Synthetic Sportsfield, Sydney. The corner of a full-size synthetic pitch in Sydney, with the corner flag and arc.

Offside causes more arguments than any other law in football, but the idea behind it is simple: an attacker cannot wait beside the goalkeeper for the ball. Here is the rule in plain English, with the parts that catch people out.

The short answer

You are in an offside position if, at the moment a teammate plays the ball to you, any part of your head, body or feet is in the opponents' half and nearer their goal line than both the ball and the second-last defender. The goalkeeper usually counts as one of those two. Being level is onside. Being in an offside position is not an offence on its own. It only becomes one if you then get involved in play. The punishment is an indirect free kick to the other team.

What an offside position is

Law 11 of the IFAB Laws of the Game defines offside. You are in an offside position if all three of these are true at the moment a teammate plays or touches the ball:

  1. You are in the opponents' half. The halfway line itself does not count, so a player on the line is onside.
  2. Some part of your head, body or feet is nearer to the opponents' goal line than the ball.
  3. That same part is nearer to the goal line than the second-last opponent.

The second-last opponent is usually the last outfield defender, because the goalkeeper is normally the last opponent. If the keeper has come out and a defender is on the goal line, the keeper may be the second-last opponent instead. The law counts players, not positions.

Your hands and arms do not count, and nor do the hands and arms of defenders, goalkeepers included. The upper limit of the arm is the bottom of the armpit. Anything you can legally score with counts.

Level is onside. If you are level with the second-last opponent, or level with the last two opponents, you are not offside. If you are behind the ball when it is played, you are not offside either, whatever the defenders are doing.

Aerial view of a full-size artificial football pitch with its markings
Stoneham Lane Football Complex, Southampton. A full-size 3G pitch near Southampton seen from above. Offside only applies in the half beyond the halfway line.

When it becomes an offence

Standing in an offside position is allowed. The referee only penalises you if, at the moment a teammate plays the ball, you go on to become involved in active play by:

  • Interfering with play. Playing or touching the ball passed or touched by a teammate.
  • Interfering with an opponent. Blocking a defender's or keeper's line of sight, challenging them for the ball, clearly trying to play a ball that is close to you when that affects an opponent, or making an obvious action that affects their ability to play the ball.
  • Gaining an advantage. Playing a ball that rebounds or is deflected to you off the goalpost, the crossbar, a match official or an opponent, or that comes off a deliberate save by an opponent.

This is why the assistant referee often waits before raising the flag. A player in an offside position who walks away from the ball and takes no part is not committing an offence, and the attack goes on.

The offence is judged when the ball is played, not when it arrives. If you were onside when your teammate passed, you can run past the last defender and collect the ball anywhere.

When you cannot be offside

There is no offside offence if you receive the ball directly from:

  • a goal kick
  • a throw-in
  • a corner kick

Also, if an opponent deliberately plays the ball, for example a misplaced pass or a clearance that goes to you, you are not offside from that. A deliberate save by a defender or keeper is different: that does not reset offside, and you can still be penalised.

You can be offside from a free kick, including an indirect free kick into the box. Attackers often stand in a line level with the defenders for this reason.

The free kick

When the referee gives offside, the other team gets an indirect free kick from the place where the offence happened, which is where the attacker became involved in play. That is usually in the defending team's half. It can even be in the attacker's own half, if they were in an offside position when the ball was played and then ran back to get involved.

Situations that confuse people

A defender steps off the pitch

A defender who leaves the field without the referee's permission still counts as being on their own goal line or touchline for offside, until the next stoppage, or until the defending team has played the ball towards the halfway line and it is outside their penalty area. You cannot step off to play an attacker offside.

An attacker steps off the pitch

An attacker who steps off the field to avoid being offside, and who then comes back on to play the ball, is penalised as if they were on the goal line.

The goalkeeper is out of position

Offside counts opponents, so if the keeper has run up for a corner and is in the other half, the second-last opponent may be a defender much deeper. Attackers then need to be careful, not lazy.

VAR and the lines

In top leagues, VAR checks offside using lines drawn on a still frame, and some competitions use semi-automated technology. The law is the same as on a park. The only difference is that the camera judges the margin.

Offside in small-sided football

Most adult small-sided formats have no offside at all. Standard 5-a-side leagues, futsal and walking football leave it out, which is one reason they feel so open. In leagues that keep outfield players out of the goalkeeper's area, that rule does some of the same work by stopping players camping beside the keeper.

7-a-side leagues vary. Some ignore offside, others play it from a line, so check the rules before your first game. Youth formats have their own rules on offside, and full Law 11 applies once children move up to 11v11.

For the full rules of the small formats, see 5-a-side rules, 7-a-side rules and futsal rules.

Cities with the most full-size pitches in our directory:

FAQ

Is level offside in football?

No. Level with the second-last opponent, or level with the last two opponents, is onside.

Can you be offside in your own half?

No. You must be in the opponents' half to be in an offside position. A player on the halfway line is onside.

Can you be offside from a throw-in?

No. There is no offside offence from a throw-in, a goal kick or a corner kick.

Is there offside in 5-a-side?

Not in standard 5-a-side leagues or futsal. Some 7-a-side leagues use it, so check the rules where you play.

Do arms count for offside?

No. The hands and arms of all players, goalkeepers included, are ignored. The cut-off is the bottom of the armpit.