With the lead in hand, the primary objective for the Bills' offense in the fourth quarter was to eat clock and run the Raiders out of time.
The Bills did that and more, chewing up 5:56 on their first possession and scoring a touchdown on their second to keep their cushion at three possessions.
The Bills scored 27 consecutive points before Derek Carr hit DeAndré Washington for a 4-yard touchdown with 10:50 left that made it 27-14, but LeSean McCoy answered later with a 48-yard touchdown run that sealed the victory.
The win lifted the Bills to 5-2 for the first time since 2011, when they proceeded to drop their next seven games. Before that, it hadn't happened since 1996. The Bills also stayed perfect at home, improving to 4-0 at New Era Field; Jim Kelly's 1988 and 1990 Bills are the only squads in team history to go undefeated at home.
Locked down: Bills cornerback Tre'Davious White kept Raiders' star receiver Amari Cooper in check a week after he toasted the Chiefs for 210 yards and two touchdowns. Carr and Cooper connected only five times on 10 targets for 48 yards. Fellow receiver Michael Crabtree had five catches for 83 yards.
Scoring at home: The Bills posted their 13th consecutive home game with 20 or more points, which is the longest active streak in the NFL. The team's previous record (10) was set in 1965.