The story is set during the 1920s in the fictional town of Deerwood, located in the Muskoka region of Ontario, Canada. Deerwood is based on Bala, Ontario, which Montgomery visited in 1922. Maps of the two towns show similarities. This novel is considered one of L.M. Montgomery's few adult works of fiction, along with A Tangled Web, and is the only book she wrote that is entirely set outside of Prince Edward Island. It has grown in popularity since being republished in 1990. The book was adapted for the stage twice; in 1982 it was made into a successful Polish musical, and ten years later Canadian playwright Hank Stinson authored another version, The Blue Castle: A Musical Love Story. Colleen McCullough, author of The Thorn Birds, evidently used The Blue Castle as the basis of her novel The Ladies of Missalonghi-subconsciously, as she alleged-to the point of provoking accusations of plagiarism.