Director Derek Cianfrance spent twelve years making the movie; he started working on the script in 1998. During that process, Cianfrance said that he wrote about sixty-seven drafts, mostly each one containing content added/modified based on on-set improvisations, inspirational encounters, etc., while he worked on several documentaries to secure more funding for the movie.