Kodihalli is a village in the southern state of Karnataka, India. It is located in the Kanakapura taluk of Ramanagara district in Karnataka. It is 17 km from Taluk headquarters Kanakapura and 45 km from district headquarters Ramanagara.
As of 2001 India census, Kodihalli had a population of 5895 with 3050 males and 2845 females. It is also a hobli centre in the Kanakapura Taluk and the majority caste is vokkaliga.