Anthony Brown hit a layup with 1:08 left in overtime and Chasson Randle hit a jumper a minute later as Stanford upset host No. 9 Texas, 74-71, in a nonconference men's basketball contest on Tuesday.
Brown scored a season-high 25 points, including a 4 of 4 effort from long range, and Randle added 22 as the Cardinal (7-3) handed the Longhorns just their second loss of the season.
Stanford, which beat Texas for the first time since 1962, returns to Maples Pavilion to host Arkansas-Pine Bluff on Monday at 8 p.m.
Randle hit a jumper with 56 seconds remaining in regulation to put the Cardinal ahead, 64-62. Texas tied the score 30 seconds later and Stanford missed a potential game-winning shot at the buzzer.
The Longhorns scored the first four points of the overtime before Stefan Nastic hit 1 of 2 free throws. Randle's 3-pointer tied the game with 2:45 left.
Brown and Randle combined to score nine of the 10 points in the extra period as the Cardinal won in its first trip to Austin and for just the second time on the road.
Neither side lead by more than four points during a topsy-turvy second half that saw the lead change hands 13 times. There were 19 lead changes and 11 ties overall.
Freshman Reid Travis grabbed a season-high 14 rebounds, helping Stanford to an 11-5 scoring advantage on second-chance points. The Cardinal also had a 14-6 edge in points off turnovers.
Stanford's last road win over a top 10 team was at Washington State in February of 2008, a game that was also decided in overtime.
Texas' only other loss came to top-ranked Kentucky. The Longhorns, who beat Stanford in the Sweet 16 of the NCAA tournament in 2008, returned their top four scorers from last year's NCAA tournament team.
Stanford improves to 10-16 against teams ranked in the top 25 under coach Johnny Dawkins. The Cardinal lost to No. 2 Duke earlier in the year.
Stanford's three losses are to teams with a combined 26-9 record and DePaul was 6-1 at one point before losing its last five straight.
Randle has scored more than 20 points the past three games and in five overall. Nastic, who scored 20 in last week's loss at BYU, and Brown are the only others who have each reached the 20-point plateau.
Texas held the biggest lead of the game, 22-15, after scoring with 6:58 remaining in the first half. Rosco Allen hit a jumper with two seconds left to send the game into halftime tied at 31.