The Blue Castle is a 1926 novel by Canadian author Lucy Maud Montgomery, best known for her novel Anne of Green Gables. The story takes place prior to World War I 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.