Gmina Zielonki is a rural gmina (administrative district) in Kraków County, Lesser Poland Voivodeship, in southern Poland. Its seat is the village of Zielonki, which lies approximately 7 kilometres (4 mi) north of the regional capital Kraków.
The gmina covers an area of 48.4 square kilometres (18.7 sq mi), and as of 2006 its total population is 15,740.
The gmina contains part of the protected area called Dłubnia Landscape Park.
Gmina Zielonki contains the villages and settlements of Batowice, Bibice, Boleń, Bosutów, Brzozówka, Dziekanowice, Garlica Duchowna, Garlica Murowana, Garliczka, Grębynice, Januszowice, Korzkiew, Osiedle Łokietka, Owczary, Pękowice, Przybysławice, Trojanowice, Węgrzce, Wola Zachariaszowska and Zielonki.
Gmina Zielonki is bordered by the city of Kraków and by the gminas of Iwanowice, Michałowice, Skała and Wielka Wieś.