Thomas awakens with no memory in an elevator with other teenage boys who have formed a community called the Glade. They are trapped in a changing maze where mechanical Grievers roam at night, and the organization WICKED is running experiments on them. Thomas emerges as a leader who helps the boys escape the maze in a battle against the Grievers. They learn of a disease plaguing the outside world called the Flare.