An illegal shift in the NFL is a five-yard foul given to an offensive team who do not present a legal formation before and after a shift.