Hamilton is a town in the Loudoun Valley of Loudoun County, Virginia, United States. The population was 506 as of the 2010 census.
Hamilton is located 6 miles west of the county seat Leesburg at 39°8′2″N 77°39′51″W (39.133889, −77.664151), near the western base of Catoctin Mountain.
According to the United States Census Bureau, the town has a total area of 0.2 square miles (0.6 km²), all of it land.
The present Town of Hamilton was once occupied by several native tribes. European settlers arrived in the 1730s. In 1768, George and Tabitha Roach Tavenner built the first house in the Hamilton area. Their son, Richard and his wife Ann Hatcher, built an estate called Harmony and the surrounding area was thereafter known as Harmony.
The Leesburg and Snickers Gap Turnpike Company opened a road connecting Leesburg and Snickersville in 1831. Growth ensued and by 1833, the area had enough population to sustain Harmony Methodist Church, which was built on land donated by Richard and Ann Hatcher Tavenner. The town also became known as Hamilton Store after a store founded there by Charles Bennett Hamilton.