ANN ARBOR, Mich. (AP) -- Ray Gallegos took shot after shot, scoring Nebraska's final 13 points in a desperate attempt to rally his team.
Against No. 2 Michigan, it wasn't nearly enough.
"They are really good -- they are second in the nation -- and they've got enough guys who can score that they finally got going at the end," Gallegos said. "We just need to work harder in practice on stopping offenses like that."
Glenn Robinson III had 14 points, including a pair of crucial dunks in the second half, and Michigan equaled its best start to a season with a 62-47 victory Wednesday night.
The Wolverines (16-0, 3-0 Big Ten) overcame their shakiest shooting performance in a while, holding the lead for the entire second half. The only other Michigan team to start 16-0 was the 1985-86 squad that went on to win the Big Ten title.
Gallegos scored 19 points for Nebraska (9-7, 0-3), which held the Wolverines to 39 percent shooting. Michigan, which beat its first two conference opponents by 28 points apiece, went 3 of 17 from 3-point range.
"We thought, 'Hey, they've been shooting the 3 great. They've got to return to the mean,'" Nebraska coach Tim Miles said. "And we were fortunate. They didn't shoot the 3 well."
Trey Burke scored 18 points for the Wolverines and Tim Hardaway Jr. added 15 points and 11 rebounds.
Robinson intercepted a pass near midcourt and went in alone for a soaring dunk that put Michigan ahead 47-39. After a 3-pointer by Gallegos cut the lead to five, Robinson slammed down a missed shot by teammate Caris LeVert to make it a seven-point game.
Michigan's Mitch McGary went diving on the floor for a loose ball, causing a jump ball that gave possession to the Wolverines. The 6-foot-10 freshman then began waving his arms, trying to pump up the crowd.
"As long as we can run our offense and execute, there's people on this team that can score no matter what," McGary said. "Tonight, we weren't hitting shots like we wanted to, so we just needed to make up for it on the defensive end, and I think we did that."
McGary's layup at the other end made it 51-42, and Hardaway's two free throws put Michigan up by double digits for the first time.
The 1985-86 Wolverines, featuring Roy Tarpley and Glen Rice, had the program's most recent regular-season conference title until last season's team finished tied atop the Big Ten. Michigan breezed through its first two league games this season but found the going a bit tough against the plodding Cornhuskers.
Nebraska, coming off a 47-41 loss to Wisconsin, was content to keep the pace slow, and the Wolverines couldn't pull away. Michigan didn't help itself by going 17 of 26 from the free throw line.
"It's tough because this is the same thing we did against Wisconsin," Gallegos said. "We gave ourselves a chance, but we didn't make the hustle plays that we needed to make. They got a lot of offensive rebounds and a lot of second-chance points, and that hurt us."
Michigan turned the ball over only five times and had 16 offensive rebounds.
Toward the end, the home crowd began chanting "Beat Ohio" -- Michigan plays at No. 15 Ohio State on Sunday.
Nebraska has held 15 of its 16 opponents under 50 percent shooting, but the Cornhuskers couldn't score enough down the stretch. A layup by Brandon Ubel with 12:51 remaining was the last scoring contribution by any Nebraska player besides Gallegos.
After that, Michigan freshman Nik Stauskas tossed up a wild shot on a drive to the basket. It missed, but he was able to keep the ball inbounds for his teammates before setting up over in the right corner. Stauskas eventually made a 3 to put Michigan up 43-34.