Machado hit a solo shot in the eighth inning, while Adam Jones went deep in the sixth. Chris Davis hit a bases-loaded single that scored three runs (one of which came on an error) with Rays starter Matt Moore charged with five runs over 6 2/3 innings.
Tampa Bay jumped out to a three-run lead before Orioles starter Yovani Gallardo could record an out, with Corey Dickerson belting a two-run homer and Logan Morrison singling in a run.