Gmina Iwanowice is a rural gmina (administrative district) in Kraków County, Lesser Poland Voivodeship, in southern Poland. Its seat is the village of Iwanowice, which lies approximately 19 kilometres (12 mi) north of the regional capital Kraków.
The gmina covers an area of 70.62 square kilometres (27.3 sq mi), and as of 2006 its total population is 8,292.
The gmina contains part of the protected area called Dłubnia Landscape Park.
Gmina Iwanowice contains the villages and settlements of Biskupice, Celiny, Damice, Domiarki, Grzegorzowice Małe, Grzegorzowice Wielkie, Iwanowice, Iwanowice Dworskie, Krasieniec Zakupny, Lesieniec, Maszków, Narama, Poskwitów, Poskwitów Stary, Przestańsko, Sieciechowice, Stary Krasieniec, Sułkowice, Widoma, Władysław, Zagaje, Zalesie and Żerkowice.
Gmina Iwanowice is bordered by the gminas of Gołcza, Kocmyrzów-Luborzyca, Michałowice, Skała, Słomniki and Zielonki.