Stanford (9-1) has won five in a row and welcomed back Lopez, who had been academically ineligible during the fall semester.
Lawrence Hill added 16 points and Taj Finger had 10 for the Cardinal.
Santa Clara (7-4) got 17 points from John Bryant.
Stanford coasted to a 29-17 lead at halftime and enjoyed a 23-4 run during the second period.
Jordana Brewster on Paul Walker: 'He was an enormous presence in my life'
Couple mistakenly served bag of cash at McDonald's drive-thru