Screenwriter Ron Nyswaner announced his intention in 2010 to write a feature-length adaptation of Cynthia Wade's 2007 Oscar-winning short film Freeheld, a documentary about New Jersey police officer Laurel Hester's fight against the Ocean County, New Jersey Board of Chosen Freeholders to pass on her pension benefits to her domestic partner, Stacie Andree, after being diagnosed with terminal cancer. At that time, Elliot Page had already agreed to star as Andree; he stated in 2014 that he had been involved in the project's development for almost six years. He first became involved after two of the film's producers, Stacey Sher and Michael Shamberg, sent him a copy of Wade's documentary and asked if he was interested in starring in an adaptation, an offer which he accepted "right away". Catherine Hardwicke was attached to the project as director early in its development but later withdrew. Shortly after the film's financing was secured in August 2012, Peter Sollett signed on to replace Hardwicke as director. Julianne Moore was cast as Hester in February 2014. Zach Galifianakis was cast as Steven Goldstein, the founder and then-Chair of Garden State Equality, but was later replaced by Steve Carell. Andree consulted with Page, Sollett and Nyswaner about the making of the film.
