Gilbert's 100-yard score on the game's first play set the tone as the Cowboys (8-1, 5-1 Big 12) scored at least 20 points for the 47th straight game.
Clint Chelf tossed three touchdowns, completing 19-of-37 passes for 265 yards.
Desmond Roland provided a rushing and receiving touchdown, while Tracy Moore made six catches for 77 yards and a pair of scores for OSU.
Jake Heaps and freshman Montell Cozart combined to go 10-of-25 for 114 passing yards with an interception for the Jayhawks (2-7, 0-6), who dropped a 27th straight conference game.
Swim Week Miami Beach 2014 [PHOTOS]