Farnham's Freehold is a science fiction novel set in the near future by Robert A. Heinlein. A serialised version, edited by Frederik Pohl, appeared in Worlds of If magazine (July, August, October 1964). The complete version was published in novel form by G.P. Putnam later in 1964. Farnham's Freehold is a post-apocalyptic tale, as the setup for the story is a direct hit by a nuclear weapon, which sends a fallout shelter containing a man, his wife, son, daughter, daughter's friend, and black domestic servant into the future. Heinlein drew on his own experience in building a fallout shelter under his own house in Colorado Springs, Colorado in 1950. The book is popular with survivalist groups as it combines the civil engineering and physics of fallout shelter survival with the social dynamics of "lifeboat rules," or autocratic authority under extreme conditions, a theme further explored in depth in The Number of the Beast. To paraphrase Mr. Farnham, "How do you know who is the officer in the lifeboat? The one with the gun."