Definition
Offside
The football law that stops attackers waiting near the opponents' goal. A player is in an offside position if, when a team-mate plays the ball, any part of their head, body or feet is in the opponents' half and nearer the goal line than both the ball and the second-last opponent. It is only an offence if they then get involved in play.
How to picture it: draw a line across the pitch through the second-last defender, who is usually the last outfield player, with the goalkeeper behind. At the moment a team-mate passes, the attacker must be level with that line or behind it, or behind the ball. Level counts as onside.
Only the head, body and feet count. Hands and arms are ignored, for attackers and defenders alike. A player in their own half, or exactly on the halfway line, cannot be offside.
Being in an offside position is not an offence by itself. The referee only penalises it if the player then becomes involved in active play: playing the ball, blocking an opponent, or gaining an advantage from being there. It is judged when the ball is played, not when it arrives.
There is no offside from a goal kick, a throw-in or a corner kick, or when the ball last came from an opponent who played it deliberately (a deliberate save does not count). The punishment is an indirect free kick to the defending team, taken from where the offence happened.
The law has changed shape over time. Until 1925, three opponents had to be between the attacker and the goal, and cutting it to two reshaped football tactics. Since 1990, being level has counted as onside, and at top competitions semi-automated offside technology now helps referees make the call.
