Gmina Gilowice is a rural gmina (administrative district) in Żywiec County, Silesian Voivodeship, in southern Poland. Its seat is the village of Gilowice, which lies approximately 7 kilometres (4 mi) east of Żywiec and 65 km (40 mi) south of the regional capital Katowice. Its only other village having sołectwo status is Rychwałd.
The gmina covers an area of 28.15 square kilometres (10.9 sq mi), and as of 2019 its total population is 6,242.
Gmina Gilowice is bordered by the town of Żywiec and by the gminas of Łękawica, Ślemień and Świnna.