Eric Kripke wrote the script based on the novel, which tells the tale of a recently orphaned 10-year-old boy who discovers a world of hidden passageways, magic and danger in his uncle’s old house. MacLachlan will play Isaac Izard, the sinister original owner of the house. Deadline reported in August that Blanchett was landing a co-starring role.

Mythology Entertainment’s Brad Fischer and James Vanderbilt are producing with Kripke. The exec producers include William Sherak, Tracey Nyberg and Laeta Kalogridis.

MacLachlan, who reprised his role as FBI Agent Dale Cooper in David Lynch’s recent Twin Peaks revival, also just reprised his role in IFC’s Portlandia, whose eighth season premieres in 2018. He also is aboard with Maria Bello and Josh Wiggins in the indie high school drama G.L.O. (The Giant Little Ones).

He is repped by UTA, Management 360, Special Artists Agency, and Jackoway Tyerman.