Fairbanks pitched against the Tampa Bay Rays at Tropicana Field on June 29, 2019, and his performance drew the attention of the Rays' front office. On July 13, 2019, the Rangers traded him to Tampa Bay in exchange for Nick Solak. He finished that season going 2–3 with a 6.86 ERA over 21 major league innings.
In the shortened 2020 season, Fairbanks appeared in 27 games and posted a 2.70 ERA. In Game 7 of the American League Championship Series against the Houston Astros, he recorded a four-out save as the Rays won the pennant. On July 7, 2021, he combined with several teammates on a no-hitter against the Cleveland Indians, though it was not recorded as an official no-hitter because the game was a truncated seven-inning doubleheader.
In 2022, a 50 percent tear of his lat muscle sidelined him for several months before he returned on July 17. He still appeared in 24 games that year with a 1.13 ERA and saved eight games. On January 27, 2023, he signed a three-year, $12 million contract extension with Tampa Bay, and he went on to save 25 games in 2023 and 23 in 2024. In 2025, he made 61 appearances and recorded 27 saves.