Magruder was a small unincorporated town in Virginia near Williamsburg in York County. Settled mostly by African-American freedmen after the American Civil War, it once had its own church, post office, cemetery, lodge, and homes. After this land was acquired for the development of the US military reservation known as Camp Peary, all the residents and businesses were displaced. Magruder is considered extinct and one of the lost towns of Virginia.
Magruder was located in York County. The site was north of the colonial-era capital of Williamsburg and just west of Queen's Creek, which flows into the York River on the north side of the Virginia Peninsula.
The small settlement which became Magruder was named for American Civil War Confederate General John B. "Prince John" Magruder [citation needed]. During the Peninsula Campaign of the American Civil War in 1862, a large federal force under General George B. McClellan began at Fort Monroe at the entrance to Hampton Roads and moved west to try to capture the Confederate capital city of Richmond.