Based on the young adult fantasy novel by Soman Chainani, the story follows best friends Sophie and Agatha as they are kidnapped to the School for Good and Evil. After their fortunes are reversed, their friendship is put to the test as the duo attempt to return home.