In gridiron football, there are several different rulings for encroachment: In the NFL, encroachment occurs when, before the snap, a defensive player illegally crosses the line of scrimmage and makes contact with an opponent or has a clear path to the quarterback.