Gmina Wieprz is a rural gmina (administrative district) in Wadowice County, Lesser Poland Voivodeship, in southern Poland. Its seat is the village of Wieprz, which lies approximately 10 kilometres (6 mi) west of Wadowice and 46 km (29 mi) south-west of the regional capital Kraków.