Leavitt's screenwriting career began in 1996 when he wrote Sunchaser. He wrote the screen adaptation of the Rodman Philbrick novel Freak the Mighty for the screen in 1998. The Mighty starred Sharon Stone, Gena Rowlands, Harry Dean Stanton, Kieran Culkin and Elden Henson. The film received two Golden Globe Awards for Best Supporting Actress and Best Original Song. After writing the script for the 2001 filmK-PAX, Leavitt was hired by Warner Bros. in February 2004 to rewrite an early draft of the film Blood Diamond, then titled Okavango. The story had been stuck in "development hell" at the studio for years before producers Paula Weinstein and Gillian Gorfil finally decided on the story of a Sierra Leonean farmer caught up in the conflict between an White Zimbabwean smuggler and the localdiamond mining organization. Leavitt researched the diamond industry to great lengths before he began writing the screenplay, explaining that he has "always been a stickler for immersing in research". He wrote the film with the assumption that it would offend the diamond industry, particularly De Beers, and so made sure to portray the industry truthfully, aware that he could potentially be sued by De Beers and other powerful mining corporations. Paula Weinstein was impressed by Leavitt's Blood Diamond draft, but hired writers Ed Zwick and Marshall Herskovitz to rewrite the script again; by the time he had completed the script, Zwick had become so interested in the story that he agreed to direct the film as well. Leavitt was signed by Warner Bros. in October 2006 to adapt Vanity Fair editor Doug Stumpf's novel Confessions of a Wall StreetShoeshine Boy, which the studio had acquired the rights to in mid-2005. He has also since rewritten Scott Williams' original draft of , a biographical film about American football player Ernie Davis. He wrote the screenplay for In the Heart of the Sea, for Intermedia and Spring Creek, and has written Animal Kingdom on spec. He re-wrote the 2014 filmSeventh Son and the 2016 filmWarcraft.