The Wayward Pines Trilogy (2012–2014) is a mystery/thriller/science fiction novel series by American author Blake Crouch.
It follows U.S. Secret Service agent Ethan Burke as he unravels the mystery surrounding his unanticipated arrival in the small town of Wayward Pines, Idaho, following a devastating car accident.
The plot surrounds Secret Service agent Ethan Burke's introduction to the remote small town of Wayward Pines, his new home from which he cannot escape.
The series covers themes of isolation, bucolic Americana, time-displacement, man vs nature, human evolution, and cryonics.
Shyamalan noted that the TV series varies from the books in some ways, but as Crouch was still writing the novels while the show was in development, there were "all kinds of cross pollinating" between the two.