Kostelec () is a municipality and village in Tachov District in the Plzeà  Region of the Czech Republic. It has about 600 inhabitants.
Kostelec lies approximately south-east of Tachov, west of Plzeà Â, and south-west of Prague.
Kostelec consists of six municipal parts (in brackets population according to the 2021 census):