Stanford scored 440.450 to finish second Friday at the NCAA Championships Finals, earning its ninth top-three finish in the past 10 years.
Oklahoma claimed the national title with a 447.050. Following Stanford was Penn State (439.500), Michigan (437.650), California (432.100) and Iowa (427.450).
Stanford's second-place finish is its highest since it won the 2011 NCAA Championship.
Sophomore Akash Modi became the first Stanford gymnast since Jon Louis in 1986 to win the NCAA title in the all-around.
Modi tallied a season-high 90.450 to claim top marks in the all-around. He is the first Cardinal gymnast to claim an NCAA individual title since 2012 when Eddie Penev earned victories on floor and vault.
Modi added a first-place finish on parallel bars (15.750), tied for second on floor with a career-best 15.600 and tied for third on high bar with a season-high 15.050. He contributed a seventh-place result on pommel horse with a 14.850.
Modi has earned 23 individual event victories against NCAA teams this season: parallel bars (7), all-around (6), floor (4), pommel horse (3), rings (2) and high bar (1).