Brandon Dixon hit a two-run homer in the ninth inning to lift the Tigers to a 4-2 win over the Orioles in Baltimore.
John Hicks tied it with a solo shot in the eighth for Detroit, which won its second straight after dropping 12 of its previous 13 MLB games.
Nick Ramirez struck out five over three hitless innings of relief to get the win.
Shane Greene closed it out for his 18th save. Renato Nunez had an RBI double and Keon Broxton homered for Baltimore.
Branden Kline took the loss. The Orioles have dropped three-of-four.
The Tigers open a series Friday night in Atlanta.