 On March 4, 2015, Hanrahan was released by the Tigers after being diagnosed with a tear of the ulnar collateral ligament in his right elbow, requiring him to undergo another Tommy John surgery.Hanrahan officially announced his retirement from playing baseball on November 15, 2016.On February 22, 2017, it was announced that Hanrahan would be the assistant pitching coach to the Class A West Virginia Black Bears of the New York-Penn League.