Texas out-scored Texas Tech 24-23 in the fourth quarter.
McCoy completed 21-of-30 passes for 268 yards and added 51 yards rushing for the Longhorns (9-2, 5-2 Big 12), who have won five straight. Jamaal Charles had 174 yards rushing, and Quan Cosby caught eight passes for 94 yards and two touchdowns for Texas.
Graham Harrell passed for 466 yards and five touchdowns on 36-of-48 attempts for Texas Tech (7-4, 3-4), which has lost three of its last four games.
Ohio bar shooting arrested, charged with murder
Duggar sisters unveil Christian dating rules in new book