Limited to five minutes of playing time in the first half after picking up two quick fouls, Wells went 7-for-7 from the floor and 6-for-6 at the foul line over the final 20 minutes.
The Terrapins blew a 10-point lead over the final 2 ½ minutes before Wells connected from the top of the key, breaking the deadlock.
“I was really pleased with our team," Turgeon said. "I thought we shared the ball and got them out of their zone early. We scored 74 points. The most anybody in the league had scored against them was 67 (Duke)."
Maryland then fouled Manu Lacomte, who missed both free throws with 2.5 seconds remaining.
Jake Layman and Evan Smotrycz each tallied 15 points for Maryland, which captured its fourth ACC win of the season. Maryland (12-9, 4-4 Atlantic Coast Conference) trailed 55-54 with 8:37 remaining before Wells scored 10 points during a 15-4 run.
The Terps shot 56 percent from the field, and 70 percent in a highly-effective second half. Smotrycz led the Terps with four assists.