Basketball Violations Explained: 3 Seconds, 5 Seconds, Backcourt and More

Updated 2026-11-29 | By hooprules Team

Violations are rule breaks without a foul. They do not add to a player's foul count, but the team loses the ball.

Key takeaways
  • Violations give a turnover, not free throws.
  • Stay out of the lane for over 3 seconds.
  • Never go back over half court.

Three seconds in the key

An offensive player cannot stay in the painted lane for more than three seconds while their team has the ball in the frontcourt. Defensive players also have limits in the NBA, called defensive three seconds.

Backcourt and eight seconds

After crossing half court, the offense cannot pass or dribble back over it. The NBA also gives a team 8 seconds to cross half court, while FIBA allows 8 as well.

Double dribble and carrying

Dribbling with two hands, or stopping and starting again, is a double dribble. Resting a hand under the ball while dribbling is carrying. Both cause a turnover.

Goaltending and out of bounds

Touching a shot on its way down or on the rim is goaltending, and the basket is awarded. The ball is out of bounds when it or the player touches a boundary line or anything outside it.

More guides

Traveling Rule in Basketball: How Many Steps Are Allowed?The 24-Second Shot Clock: Rules, Resets and ViolationsBasketball Fouls Explained: Personal, Technical and Fouling OutBasketball Scoring Explained: Two Pointers, Three Pointers and Free Throws