Gmina Gnojnik is a rural gmina (administrative district) in Brzesko County, Lesser Poland Voivodeship, in southern Poland. Its seat is the village of Gnojnik, which lies approximately south of Brzesko and south-east of the regional capital Kraków.
The gmina covers an area of , and as of 2006 its total population is 7,336.
Gmina Gnojnik contains the villages and settlements of Biesiadki, Gnojnik, Gosprzydowa, Lewniowa, Uszew, Zawada Uszewska and à »erków.
Gmina Gnojnik is bordered by the gminas of Brzesko, Czchów, DÃÂbno, Lipnica Murowana and Nowy Wià Ânicz.