Gonzalez announced Thursday via his personal Instagram account that he has elected to retire from professional baseball.
Gonzalez signed a minor-league contract with the Marlins on Wednesday, Craig Mish of SportsGrid.com reports.
The White Sox declined Gonzalez's $7 million club option for 2021 on Friday.
Gonzalez (undisclosed) is not part of the White Sox's roster for the Wild Card Series against Oakland.
Gonzalez was removed from Sunday's game against the Cubs with an apparent injury, James Fegan of The Athletic reports.
Gonzalez (1-2) recorded an out prior to allowing a solo home run in the White Sox' 3-2 loss to the Indians on Wednesday night.
Gonzalez allowed one unearned run on one hit and three walks whiles striking out two over two innings in Wednesday's 8-1 win over the Pirates.
Gonzalez (groin) was activated from the injured list Tuesday.
Gonzalez (groin) is expected to throw this weekend at Chicago's alternate site, Scott Merkin of MLB.com reports.
Gonzalez (1-1) recorded his first win in Saturday's 7-4 win over the Cubs. He allowed one hit and three walks while striking out two over 3.2 scoreless innings.