Újezdec is a village in Přerov District, in the Olomouc Region, Czechia. Újezdec lies at 229 m above sea level, 12.7 km from the Eastern Sudetes mountains. It has 868 inhabitants. The nearest city is Přerov, 2.5 km to the northwest. Among the landmarks around are Kroměříž Castle (15.8 km), Holy Trinity Column (24 km) and Helfštýn Castle (14.8 km). Among the natural features are Hranice Abyss (23 km) and Zbrašov Aragonite Caves (23 km).