Former world champion Kimi Raikkonen will leave Ferrari at the end of the season after five years with the Formula One team, the Italian team announced Tuesday.