Gmina Herby is a rural gmina (municipality) in Lubliniec County, Silesian Voivodeship, in southern Poland. Its seat is the village of Herby, which lies approximately 17 kilometres (11 mi) north-east of Lubliniec and 57 km (35 mi) north of the regional capital Katowice. Until 1993 it also included the area which now makes up Gmina Boronów.
The gmina covers an area of 50.47 square kilometres (19.5 sq mi), and as of 2019 its total population is 6,808.
The gmina contains part of the protected area called Upper Liswarta Forests Landscape Park.
For several centuries Herby lay on the border of Lesser Poland and Silesia. Therefore, since the 13th century, one part of it belonged to the Holy Roman Empire and overlapping to the Kingdom of Prussia. The other part remained in Poland in the age of the Jagiellons and the Polish–Lithuanian Commonwealth. In the late 18th and in the 19th century, this part belonged to the Russian Empire.
Gmina Herby contains the villages and settlements of Brasowe, Braszczok, Chwostek, Cztery Kopy, Drapacz, Głąby, Hadra, Herby, Kalina, Kierzki, Kolonia Lisów, Łebki, Łęg, Lisów, Mochała, Niwy, Oleksiki, Olszyna, Otrzęsie, Pietrzaki, Piłka, Pustkowie, Tanina and Turza.
Gmina Herby is bordered by the gminas of Blachownia, Boronów, Ciasna, Kochanowice, Konopiska, Koszęcin, Przystajń and Wręczyca Wielka.
Herby is situated at the crossing of Polish Coal Trunk-Line and the relation Częstochowa – Opole