Castellanos had four hits and a key home run, and the Tigers used 20 hits to outslug the Pittsburgh Pirates 13-10 in the opener of a doubleheader.
Castellanos was coming off consecutive three-hit games against Kansas City. He's 10 for 15 with two homers and nine RBI in Detroit's last three games, and he's batting .337 for the season.
"He had a good day. Put some really nice swings out there," Tigers manager Ron Gardenhire said. "Miggy, same thing. A really good day."
Candelario homered, doubled and scored five runs for Detroit. Leonys Martin led off the game with his third home run of the season, and James McCann also went deep as the Tigers won for the sixth time in eight games.
Pittsburgh has lost seven of eight. Francisco Cervelli had three hits and a career-high six RBI, including a three-run homer in the third inning. His two-run double in the eighth pulled the Pirates within 12-10.
Jameson Taillon (2-2) allowed seven runs and 10 hits in 3 2/3 innings. He has been tagged for 12 runs in 5 1/3 innings in losing his last two starts after pitching a combined 15 scoreless innings to win his previous two outings.
"A lot of strikes and my stuff felt really good, but I felt like the mistakes I made all got punished," Taillon said. "At this level, you can't make mistakes."
Tigers starter Jordan Zimmermann lasted just three innings, giving up six runs and six hits.
"I thought I threw the ball well, but the results weren't there," Zimmermann said. "It's frustrating."
Detroit added an insurance run in the ninth on a throwing error by Cervelli, the catcher, on Niko Goodrum's tapper in front between the pitcher's mound and home plate.
Castellanos' two-run shot off Kyle Crick capped a five-run fourth inning and gave the Tigers an 8-6 lead. McCann led off with his homer and Cabrera hit a two-run double in the frame.
Cervelli's single got the Pirates within 8-7 in the fifth.
However, Candelario countered with a leadoff home run in the sixth and the Tigers scored three times in the eighth to make it 12-7.
"It wasn't one of those easy games," Gardenhire said. "We had to finagle our way through it. Kept swinging the bats and so did they. Both teams got after it pretty good. Fortunately for us, we finally shut them down at the end. But the ball was flying all over the place, I know that."
MARTIN BOUNCES BACK
Martin homered two pitches after fouling a ball off his groin. He needed about five minutes to regroup before hitting a drive to straightaway center.
"I didn't think his voice could get any higher than it did," Gardenhire cracked. "He wasn't feeling very good, but he wasn't coming out of the game. He expressed that to me, right from the start. `Don't take me out. Don't even think about it. Just let me gather myself.' And that's what he did."
The Tigers are the first team to play three doubleheaders before the end of April since the Baltimore Orioles and Chicago White Sox in 1982. They were swept at home by the Pirates and April 1 and split with the visiting Kansas City Royals last Friday.
Pirates: RHP Joe Musgrove (strained right shoulder) threw a 38-pitch simulated game. He is likely to join one of the two Class A farm clubs next week to begin a rehab assignment.
Tigers LHP Matthew Boyd (0-1, 1.40 ERA) faces Pirates RHP Chad Kuhl (2-1, 4.57) in the second game. Both teams can add an extra player for the nightcap. Detroit will call up RHP Artie Lewicki from Triple-A Toledo while Pittsburgh will recall INF/OF Jose Osuna from Triple-A Indianapolis.
More AP baseball: https://apnews.com/tag/MLBbaseball