It was founded in 1870 as a settlement around the railway station on the railway connecting St. Petersburg and Revel. The name originates from the nearby village of Volosovo. Volosovo was a part of Petergofsky Uyezd of St. Petersburg Governorate). On February 14, 1923, Petergofsky Uyezd was merged with Detskoselsky Uyezd to form Gatchinsky Uyezd, with the administrative center located in Gatchina. On the same day, Gatchina was renamed Trotsk and Gatchinsky Uyezd was renamed Trotsky Uyezd, after Leon Trotsky.