2000s–2010s
Flanagan's student films were more oriented toward melodrama. He later characterized them as "unfit for public consumption" but called them "incredible learning experiences". After graduating, he directed Ghosts of Hamilton Street (2003), filmed in Maryland with local actors, including Scott Graham, whom Flanagan met at Towson. Graham would go on to star in Flanagan's 2006 short film, Oculus: Chapter 3 – The Man with the Plan, which he made for $1,500.
Flanagan originally intended for the Oculus story to be told in a series of short films, but he could not find the financing. Instead, he shot the chapter that included a back story and used that to demonstrate that he could direct a horror film. The short proved popular at film festivals, and producers were interested in developing the concept. However, they either wanted to shoot it as a found footage film or rejected Flanagan's stipulation that he direct the feature-length adaptation. Flanagan directed Absentia (2011), which was financed through a Kickstarter campaign, in response to this rejection. Made for $70,000 and filmed in his Glendale, California, apartment, Absentia was released direct-to-video but gained popularity when Netflix offered it on its streaming service.
After its surprise success, Flanagan continued to shop Oculus around. Intrepid Pictures took an interest in the concept and agreed to let Flanagan direct. The feature version of Oculus was filmed in 2012 and released theatrically by Relativity Media in 2014.
Flanagan shot his next film, Before I Wake, in 2013. It was acquired by Relativity Media in 2014 and was originally scheduled for release on May 8, 2015, but was pushed back to September 25, 2015, and later pulled from the schedule entirely when the company filed for bankruptcy. After a year in bankruptcy court, Relativity announced that Before I Wake would be released on April 8, 2016, but missed that date as the company struggled to get back on its feet. The film was then scheduled for September 9, 2016, but Relativity once again pulled the film three weeks ahead of this date, prompting a public argument between Flanagan and Relativity CEO Ryan Kavanaugh on Twitter; Kavanaugh claimed September 9 was a "bad date" while Flanagan suggested that Relativity was financially unable to release the film. Relativity never released the film as Kavanaugh sold the company to Singaporean social network YuuZoo in October 2016, with Netflix eventually acquiring the rights to the film and releasing it in January 2018.
Flanagan wrote and directed Ouija: Origin of Evil, which starred Elizabeth Reaser, Henry Thomas, and Annalise Basso. Production began in September 2015, and the film was released in October 2016, grossing over $81 million worldwide. Around the same time, it was revealed that Flanagan had been working on a "secret project" called Hush. Written in 2014 and filmed in March 2015, the project was kept confidential until a screening at the Toronto Film Festival. Written by Flanagan and lead actress Kate Siegel, and also starring John Gallagher Jr., Michael Trucco, and Samantha Sloyan, the film had its world premiere at SXSW in March 2016 and was released exclusively on Netflix on April 8, 2016 to positive reviews. Speaking of his first Stephen King adaptation, the 2017 psychological horror film Gerald's Game, whose original 1992 novel had long been thought to be unfilmable, he said: "I would joke that it's the only one of his works that could never, ever be made into a movie. And I spent the next half of my life thinking about ways to adapt it." The film, which he directed, wrote and edited, was released on Netflix on September 29, 2017 to critical acclaim. King called the film "hypnotic, horrifying and terrific" after watching the rough cut.
In 2018, Flanagan created, wrote, directed, produced, and edited the Netflix supernatural horror series The Haunting of Hill House, based on Shirley Jackson's novel of the same name. In 2019, Flanagan wrote and directed the horror film Doctor Sleep, based on the novel of the same name by Stephen King, itself the sequel to his previous novel The Shining. Ewan McGregor stars as the older version of Danny Torrance in the film, which was released in November. In February 2019, The Haunting of Hill House was renewed for a stand-alone second season, titled The Haunting of Bly Manor, based on the novel The Turn of the Screw by Henry James. It premiered in 2020. Around the same time, it was also announced that Flanagan had signed an exclusive overall deal with Netflix to produce television content.
In July 2019, as part of that overall deal, Netflix ordered Flanagan's original horror series Midnight Mass. Flanagan wrote, directed and served as showrunner on the seven-episode series, which was released in September 2021 to critical acclaim after a production delay in 2020 caused by the COVID-19 pandemic.