Gmina Nędza is a rural gmina (administrative district) in Racibórz County, Silesian Voivodeship, in southern Poland.
Its seat is the village of Nędza, which lies approximately 11 kilometres (7 mi) north-east of Racibórz and 51 km (32 mi) west of the regional capital Katowice.
The gmina covers an area of 57.14 square kilometres (22.1 sq mi), and as of 2019 its total population is 7,433.
The gmina contains part of the protected area called Rudy Landscape Park.
Gmina Nędza contains the villages and settlements of Babice, Ciechowice, Górki Śląskie, Łęg, Nędza, Szymocice and Zawada Książęca.