Virginia is a gold mining town located in the Lejweleputswa District Municipality and on goldfields of the Free State province in South Africa about 140 km (90 mi) northeast of Bloemfontein the provincial capital. Virginia is surrounded by some of the largest gold fields in Free State, and its economy is dominated by mining, gold-extraction plants, and the manufacture of sulfuric acid from gold ore. It is also known for having the deepest pipe-mine into the earth on the planet. Commercial farms in the surrounding area primarily grow maize (corn) and raise livestock. Virginia is located on the main rail line between Bloemfontein and Johannesburg.
In 1890, two railway surveyors from the state of Virginia in the United States etched the name of their birthplace on a boulder near the farm Merriespruit. When a railway siding was eventually established at this spot, the name was adopted, and it stuck after the discovery of gold in 1949 which resulted in a mushrooming settlement on the banks of the Sand River. In 1988 the Sand River burst its banks and flooded parts of the town. In 1994 the Merriespruit tailings dam disaster occurred just outside Virginia, killing seventeen people.
On the 5 December 2000, Virginia was incorporated into the Matjhabeng Local Municipality along with the city of Welkom and the towns of Allanridge, Hennenman, Odendaalsrus and Ventersburg. During the apartheid era, black people were removed to live outside Virginia in the location of Meloding.