It was an emotional effort for the Hurricanes, who wore No. 95 decals on their helmets in honor of senior defensive lineman Brian Pata, who was shot and killed Tuesday outside his apartment complex.
Sam Hollenbach went 11-for-26 for 202 yards and TD passes of 65 yards and 96 yards to Heyward-Bey for Maryland (8-2, 5-1 ACC), which has won five straight games.
Maryland's defense helped preserve the victory with just over three minutes left to play, when Covington killed a Miami drive in Terps territory by intercepting a Kirby Freeman pass. Miami lost its last chance to pull it out when Bruce Johnson fumbled a punt and Maryland recovered the ball.
Freeman went 14-of-27 passing for 140 yards, one touchdown and the interception, and Khalil Jones rushed 22 times for 78 yards for Miami (5-5, 2-4 ACC), which lost its third straight game.