Gmina Olkusz is an urban-rural gmina in Olkusz County, Lesser Poland Voivodeship, in southern Poland. Its seat is the town of Olkusz, which lies approximately 37 kilometres (23 mi) north-west of the regional capital Kraków.