# Law 9 · The Ball In and Out of Play: when the whole ball is over the line

https://whistio.com/us/laws-of-the-game/law-9-ball-in-and-out-of-play

Law 9 is about boundaries. The ball is out only when the whole ball has crossed the line, and a touch on the referee is only a problem in three specific situations.

## Key points

- The ball is out of play when all of it passes over the goal line or touchline, on the ground or in the air.
- It is also out of play when the referee stops play.
- The ball remains in play when it rebounds from the goalpost, crossbar or corner flagpost and stays on the field.
- It remains in play when it touches the referee or an assistant on the field, unless a team starts a promising attack, a goal is scored directly or possession changes.
- In those cases play is stopped and restarted with a dropped ball.

## Match situations

### Ball half over the line

A crossing ball hangs on the touchline, with part of the ball still above the line.

Decision: The ball is still in play. Only when the whole ball is over the line is it out of play.

### Ball hits the referee

A defender's clearance hits you in the back and drops to an attacker who starts a promising attack.

Decision: Stop play and restart with a dropped ball, because a team gained a promising attack after the touch.

### Ball bounces off the post

A shot hits the post and returns to a defender who clears.

Decision: Play continues. The ball stays in play after a rebound from the post.

## Frequently asked questions

### When does the ball hitting the referee stop play?

Only when a team starts a promising attack, the ball goes directly into the goal or possession changes.

### Is a ball that touches the corner flag out of play?

No. It stays in play if it rebounds from the corner flagpost and remains on the field.

### What counts as out of play for the whole ball?

The whole ball must cross the line, regardless of whether it travels on the ground or in the air.

## Official source

[IFAB · Laws of the Game](https://www.theifab.com/laws-of-the-game-documents/) · 2026-11-30

These pages summarize the Laws of the Game for learning. The current IFAB edition and your competition rules always take precedence, and some competitions apply modifications. Whistio is independent of IFAB.
