Cameron Wright scored four of his 18 points in the second overtime to help No. 25 Pittsburgh beat Virginia Tech 62-57 on Saturday and snap a two-game home losing streak.
Pitt guard James Robinson converted a four-point play with 33 seconds remaining in regulation to tie the score at 48.
All the scoring in the first overtime were free throws, four by each team. Virginia Tech freshman Devin Wilson made two with 43 seconds left to tie the score and send it to a second overtime.
In the second overtime, Pitt forward Lamar Patterson, who was held scoreless during regulation, made his first field goal of the game for a 54-52 lead. Wright added four consecutive free throws.
Pitt (20-4, 8-3 Atlantic Coast Conference) reached the 20 wins for the 13th consecutive season.
Jarrell Eddie had 15 points for Virginia Tech (8-15, 1-10), which lost its 10th straight. The Hokies have not won since New Year's Eve when they beat Maryland Eastern Shore. Their one and only ACC victory came more than two months ago, at Miami in the conference opener.
Pitt led 27-26 at halftime and fell behind by five points early in the second half. The Panthers did not take the lead again until 6:43 remained in regulation when Robinson, who entered the game shooting 31 percent from 3-point range, made one from behind the arc to give the Panthers a 41-39 lead.
The lead grew to three, but Virginia Tech scored seven consecutive points to take a 48-44 lead. With 33 seconds remaining, Robinson got the ball in the corner, drained the shot and was fouled by Eddie. He made the free throw to tie the score.
Virginia Tech was able to keep the Panthers in check by shutting out Patterson in the first 20 minutes, by outrebounding them by five and by going 4 of 8 from behind the 3-point line.
Eddie made three of those 3-pointers, two in the final 6 minutes of the half. The Hokies shot 52 percent from the field in the first half.
Wright picked up the slack for Patterson by scoring nine points in the first half but the Panthers struggled against the zone. Eleven of their 22 first-half attempts came from behind the 3-point line. They only made four of those and failed to assert themselves on the inside.