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