Kocaoğlu is a neighborhood in Havza District, in Samsun Province, Türkiye. Kocaoğlu lies at 588 m above sea level, 1.6 km from the Canik Dağları mountains. It has 266 inhabitants. The nearest city is Havza, 12.6 km to the south. Among the landmarks around are Nerik (24 km), Havza Atatürk's House Museum (12.3 km) and Kara Mustafa Paşa Mosque (28 km).