Backcourt and 8-second violations, explained: keeping the ball moving forward
Two rules that force the offence up the floor and stop it retreating — the 8-second clock to cross halfway, and the over-and-back rule that bars a return to your own half.
The halfcourt line and two rules
The line across the middle of the court splits it into two halves: the backcourt (the half with your own basket) and the frontcourt (the half you're attacking). Two rules govern crossing it, and both exist to keep the offence pressing forward instead of stalling or retreating. Break either one and it's a turnover — the ball goes to the other team.
The 8-second violation
Once a team gains possession in its own backcourt, it has a limited time to advance the ball across the halfway line into the frontcourt. In the NBA and FIBA that limit is 8 seconds (college men's basketball allows 10). Fail to get the ball over the line in time and it's a violation. The rule stops teams from killing the clock in their own half and rewards defences that press ball-handlers near their own basket.
The backcourt (over-and-back) violation
Once the offence has established the ball in the frontcourt, it generally can't send it back across the line into the backcourt. If an offensive player is the last to touch the ball in the frontcourt and the first to touch it in the backcourt, that's an over-and-back violation. It prevents teams from relieving defensive pressure by simply retreating, keeping the action in the attacking half.
The common exceptions
There are important exceptions. The over-and-back rule usually doesn't apply to the defence — a defender can bat a ball into the backcourt and go get it. Nor does it apply immediately after a defensive rebound, a steal, or on the throw-in, when possession is fresh and no frontcourt status has been established. Once the offence has crossed and settled, though, the halfway line becomes a wall it can't cross back over.