Gmina Krobia is an urban-rural gmina (administrative district) in Gostyń County, Greater Poland Voivodeship, in west-central Poland. Its seat is the town of Krobia, which lies approximately 11 kilometres (7 mi) south of Gostyń and 69 km (43 mi) south of the regional capital Poznań.
The gmina covers an area of 129.59 square kilometres (50.0 sq mi), and as of 2006 its total population is 12,792 (out of which the population of Krobia amounts to 4,022, and the population of the rural part of the gmina is 8,770).