Kocaoğlu is a village in Gemerek District, in Sivas Province, Türkiye. Kocaoğlu lies at 1,404 m above sea level, in the Hınzır Dağı mountains. It has 131 inhabitants. The nearest city is Şarkışla, 32 km to the northeast. Among the landmarks around are Kültepe (56 km) and Sarıoğlan Dam (14.0 km).