Dwight Powell matched his season high with 28 points, helping Stanford beat Arizona State 76-70 on Saturday.
Chasson Randle scored 15 of his 21 points in the second half for the Cardinal (14-7, 5-4 Pac-12), who were coming off a 60-57 loss to top-ranked Arizona on Wednesday.
Jahii Carson scored 24 points to lead the Sun Devils (16-6, 5-4), who had their three-game winning streak snapped. Jermaine Marshall added 22 points.
Jordan Bachynski recorded a pair of blocks for the Sun Devils and has 91 on the season. He needs six to match former Arizona star Anthony Cook for the all-time Pac-12 lead.
There were six lead changes, and four ties, in the first half. The Sun Devils took a 33-32 advantage into the intermission.