Gmina Kluczbork is an urban-rural gmina in Kluczbork County, Opole Voivodeship, in south-western Poland. Its seat is the town of Kluczbork, which lies approximately 41 kilometres (25 mi) north-east of the regional capital Opole.