The basic idea
The offside rule stops attackers from waiting next to the opposition goal for a long pass. A player is in an offside position if any part of their head, body or feet is closer to the opponents’ goal line than both the ball and the second-last opponent. The goalkeeper usually counts as one of the two opponents, so in practice it is the last outfield defender who sets the line.
Being in an offside position is not an offence
A player is only penalised if, at the moment a team-mate plays or touches the ball, they are in an offside position and become involved in active play. That can mean interfering with play by touching the ball, interfering with an opponent by blocking their line of sight or challenging them, or gaining an advantage from the position.
When you cannot be offside
You cannot be offside directly from a goal kick, a throw-in or a corner kick. You also cannot be offside in your own half, and a player level with the second-last defender is onside. Hands and arms are not counted when judging the position; only the parts of the body that can legally score a goal are used.
What happens after an offside call
The referee awards an indirect free kick to the defending team from the place where the offside player was when the ball was played. If a goal is scored and later disallowed for offside, ScoreB’s Summary tab shows it as a VAR event with the reason.
Offside and VAR
Close offside calls are reviewed by the video assistant referee. Lines are drawn on the frame in which the ball is played, and in some competitions semi-automated technology tracks the players and the ball to speed the check up. Because the line is drawn at an exact frame, a very small margin can decide whether a goal stands, which is why offside decisions are so often debated by fans.