Hnojice is a municipality and village in Olomouc District in the Olomouc Region of the Czech Republic. It has about 600 inhabitants.
Hnojice lies approximately north of Olomouc and east of Prague.