Gmina Mogilany is a rural gmina (administrative district) in Kraków County, Lesser Poland Voivodeship, in southern Poland. Its seat is the village of Mogilany, which lies approximately 15 kilometres (9 mi) south of the regional capital Kraków.
The gmina covers an area of 43.55 square kilometres (16.8 sq mi), and as of 2006 its total population is 11,141.
Gmina Mogilany contains the villages and settlements of Brzyczyna, Buków, Chorowice, Gaj, Konary, Kulerzów, Libertów, Lusina, Mogilany and Włosań.
Gmina Mogilany is bordered by the city of Kraków and by the gminas of Myślenice, Siepraw, Skawina and Świątniki Górne.