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