The contract includes an invitation to major league spring training. If added to the 40-man roster, he would get a one-year contract that pays $1.75 million while in the major leagues and have the chance to earn $250,000 in performance bonuses for plate appearances.
He hit .242 with 13 home runs and 38 RBIs combined between the two teams and reached the postseason for the eighth time.
Granderson could see considerable playing time with the Marlins, who will begin spring training with three unclaimed outfielder jobs.
A three-time All-Star, he has a .252 average, 332 home runs and 903 RBIs in 15 major league seasons with the Detroit Tigers, New York Yankees, New York Mets, Los Angeles Dodgers, Blue Jays and Brewers.
He has hit at least 20 home runs in 10 seasons.
The Associated Press contributed to this report.