With the Orange trailing 55-54, the Wolfpack had the ball out of bounds along the Syracuse baseline with 14 seconds left. Anthony Barber got possession in the corner, but his pass was stolen by Rakeem Christmas.
Fair was at the end of the ensuing fast break and laid the ball into the cylinder. Ralston Turner pushed it out of the net and was whistled for goaltending.
T.J. Warren had one last try for North Carolina State, but his try hit the front of the rim, and Syracuse (25-0, 12-0 ACC) escaped to remain unbeaten and continue the best start in school history.
Christmas provided 14 points with 12 rebounds Jerami Grant added 12 and 14 for the Orange.
Warren pumped in 23 points for the Wolfpack (16-9, 6-6).