Ross Callachan becomes Craig Levein's first signing as Hearts manager
The Tynecastle club made an official approach for Callachan and were given permission to talk terms. Raith were reluctant to lose their skipper, who made 125 senior appearances and scored seven goals since joining the club as a 13-year-old.
However, they will receive an undisclosed transfer fee as part of the deal. Callachan, a childhood Hearts supporter, was eager to further his career by moving from League One to the Ladbrokes Premiership.