When Is the Ball Out of Bounds In Soccer?

A soccer field is rectangular with white painted lines marking its boundaries. When a ball is played completely across one of the outside lines, the ball is out of bounds and play stops completely. There must be visible grass between the ball and the white line for the ball to be considered out of bounds; if the ball is touching the white line, it is still in play.
When the ball completely crosses the touch line, which runs the length of the field, the ball is out of play and play will restart with a throw-in by the team that didn’t play the ball out. The ball is also out of bounds if it completely crosses the goal line — the shorter boundary line — without entering the goal. If the defending team kicked or deflected it out, the attacking team starts play with a corner kick. If the attacking team sent it out, the defending team restarts play with a goal kick.