On June 26, 2017, the Marlins traded Hechavarria to the Tampa Bay Rays for minor leaguers Braxton Lee and Ethan Clark.
Hechavarria finished the year with a .267 batting average and a career high 8 home runs.

On April 26, 2018, Hechavarria broke Chris Gomez's 2002 franchise record by recording 242 consecutive chances without an error.
He also owns the Rays franchise record for 71 consecutive games without an error.
On August 1, 2018, Hechavarria was designated for assignment to clear space for the newly acquired Tommy Pham.
On June 26, 2017, the Marlins traded Hechavarria to the Tampa Bay Rays for minor leaguers Braxton Lee and Ethan Clark. Hechavarria finished the year with a .267 batting average and a career high 8 home runs. 
On April 26, 2018, Hechavarria broke Chris Gomez's 2002 franchise record by recording 242 consecutive chances without an error. He also owns the Rays franchise record for 71 consecutive games without an error. On August 1, 2018, Hechavarria was designated for assignment to clear space for the newly acquired Tommy Pham.
Adeiny Hechavarria