 On February 22, 2017, Hunter signed a minor league deal with the Tampa Bay Rays.Hunter impressed in spring training and received a spot in the bullpen.He had an ERA of 1.08 in 10 appearances before suffering a calf injury after running to first base on a ball in play.