Hvozdec is a municipality and village in Beroun District in the Central Bohemian Region of the Czech Republic. It has about 300 inhabitants.
Hvozdec is located about southwest of Beroun and southwest of Prague.
Hvozdec consists of two municipal parts (in brackets population according to the 2021 census):
The first written mention of Hvozdec is from 1543.