In January 2012, Fox 2000, a division of 20th Century Fox, optioned the rights to adapt the novel into a feature film. Josh Boone signed on to direct a year later, in February 2013.
Wyck Godfrey and Marty Bowen are producing the film. Shailene Woodley will star as Hazel, while Ansel Elgort will play Augustus. Nat Wolff was cast as Isaac, the friend that introduces them, and Lauren Dern will star as Hazel's mother. Sam Trammell cast as, Mr. Lancaster, Hazel's father. On August 29, 2013, John Green announced that Mike Birbiglia would be playing the role of Patrick. On September 6, 2013, John Green announced that Willem Dafoe would portray Peter Van Houten.
Filming began on August 26, 2013 on location in Pittsburgh, doubling for the novel's setting of Indianapolis, Indiana. Scott Neustadter and Michael H. Weber wrote the adapted screenplay. Filming will also take place in Amsterdam.