The Nittany Lions rallied from two goals down and beat the Terps on Andrew Privett's deflected free kick.
The Terps dispatched the Spartans with two first-half goals despite losing midfielder Malcolm Johnston to an apparent head injury.
The Terps are chasing a top seed in the Big Ten tournament.
After a scoreless first half, the Terps scored three times in six minutes to pull away from the Tigers.
The Terps looked back to championship-caliber against the Wildcats and hope to bring that level of play in their final nonconference games.
The Terps were overcome by the Badgers' relentless defense.
The Terps have struggled to put the ball in net.
Shot after shot rang out, but neither the Terps nor Scarlet Knights broke through.
The Terps want to build off of one of their best first-half performances against Ohio State last week.
Bolma registered a goal and an assist as the Terps picked up a road win over the Buckeyes.