Golding based this novel on two personal experiences: his time teaching at boys' public schools and his experiences in World War II. He had read books like "Coral Island" which showed young boys getting stranded on desert islands and living in perfect Utopia. He wanted to write about what he thought would really happen in this situation.