But the Tigers took the lead with two runs in the sixth, keyed by the double from Castellanos, who later scored on a sacrifice fly from McCann.
Castellanos also hit a solo homer off Twins starter Adalberto Mejia in the third. Justin Upton hit a solo homer off Mejia two batters later, and he singled and scored on an RBI single from John Hicks in the second.
Mejia lasted 2 2/3 innings, surrendering three runs on five hits and three walks with six strikeouts. He was backed by a two-run double from Jorge Polanco in the second.