BERKELEY -- Ivan Rabb's plan to go aggressively at Stanford didn't exactly get off to an encouraging start when he was limited to one shot in the first 11 minutes.
California's leading scorer finally got going after an alley-oop dunk midway through the first half, and the Golden Bears followed along.
Rabb had 25 points and 13 rebounds and California pulled away late in the second half to beat Stanford 66-55 on Sunday.
"My plan was to come out aggressive early but the ball just wasn't coming my way at first," Rabb said. "Guys were getting good shots so I can't complain about that. I was just trying to play the game the right way."
Jabari Bird added 17 points to help the Golden Bears (15-6, 6-3 Pac-12) win in front of a standing-room-only crowd following an eight-day break.
Rabb overcame a sluggish start and scored 15 points in the second half, including eight over the final six minutes to go with a key block down the stretch. Rabb shot 7 of 9 from the floor and made 9 of 14 free throws while finishing one point shy of his career high.
The win moves California into a three-way tie for third place in the Pac-12 along with No. 8 UCLA and Utah.
"I think we're growing," Rabb said after the Bears fifth win in the past six games. "In the first half the shots weren't going in but they looked good, they felt good."
Reid Travis scored 17 points and Michael Humphrey added 10 points and nine rebounds for Stanford (11-10, 3-6). The Cardinal lost to their cross-bay rivals for only the third time in the last nine games.
Stanford was within 51-45 following a pair of free throws by Humphrey with 6:11 left before Rabb's late burst helped the Bears pull away.
Rabb scored six straight points for the Bears including four free throws. Grant Mullins followed with a 3-pointer and Kameron Rooks had a free throw before Rabb's emphatic dunk pushed California's lead to 63-48.
That was big on a night when the Bears made only 18 of 31 free throws.
"For us offensively we have to flow through (Rabb)," California coach Cuonzo Martin said. "He settles in, sees how the double-team is coming and he makes plays from there."
Stanford had its own shooting problems and lost its second straight following a three-game winning streak.
"They did a nice job of adjusting and getting the ball into the paint more," said Stanford coach Jerod Haase, who played for the Bears in 1992-93. "That opened up angles for them and gave Rabb good looks."
Neither team shot well in the first half until Rabb helped shake the Bears out of their funk.
RABB GOES DEEP
Rabb is trying to extend his game beyond the arc and is slowly making progress in that area. The 6-foot-11 sophomore made two 3-pointers to tie for the team-high, and is 6 of 11 from long range this year after attempting only two 3s his entire freshman season. "That's a shot we wanted him to take last year because he can shoot it," Martin said. "I expect him to shoot those."
Stanford: Travis continues to be bothered by a right shoulder injury and went 7 of 15 from the floor but scored 10 straight points during one stretch in the second half. He had missed four of the previous six games because of the injury. ... Overall, the Cardinal shot just 38.8 percent as a team and committed 15 turnovers.
California: The Bears continue to be plagued by inconsistency, an ongoing issue. Cal made the opening basket but went scoreless for the next six minutes. ... It's Rabb's 10th double-double in 18 games after a late start to the season due to a toe injury. ... Bird moved past Joe Shipp into eighth place on the school's career 3-point list (158).
Stanford: Returns to Maples Pavilion and will play Colorado on Thursday. The Cardinal haven't beaten the Buffs since 2011-12.
California: Hosts Utah on Thursday. The Utes have won five of the last six games between the two schools, including twice in overtime.