Orioles third baseman Manny Machado belted a three-run homer in the third after a throwing error by Rays starter Alex Cobb brought in a run to put the O's up 4-0. Mark Trumbo added a solo shot in the fourth before Seth Smith launched a two-run double to the left-center gap in the seventh.
The Rays picked up their lone run on a long ball by Jesus Sucre against Orioles reliever Mychal Givens in the eighth.
Cobb allowed seven runs (six earned) on six hits, including two home runs through 6 1/3 innings.