Koprivshtitsa is a historic town in the Koprivshtitsa Municipality in Sofia Province, central Bulgaria, lying on the Topolnitsa River among the Sredna Gora mountains.