Gmina Toszek is an urban-rural gmina (administrative district) in Gliwice County, Silesian Voivodeship, in southern Poland. Its seat is the town of Toszek, which lies approximately 22 kilometres (14 mi) north-west of Gliwice and 41 km (25 mi) north-west of the regional capital Katowice.
The gmina covers an area of 98.53 square kilometres (38.0 sq mi), and as of 2019 its total population is 9,409.
Apart from the town of Toszek, Gmina Toszek contains the villages and settlements of Bliziec, Boguszyce, Brzezina, Ciochowice, Grabina, Grabów, Kopanina, Kotliszowice, Kotulin, Kotulin Mały, Łączki, Las, Laura, Ligota Toszecka, Nakło, Paczyna, Paczynka, Pawłowice, Pisarzowice, Płużniczka, Pniów, Proboszczowice, Sarnów, Skały, Srocza Góra, Szklarnia, Wilkowiczki, Wrzosy and Zalesie.
Gmina Toszek is bordered by the town of Pyskowice and by the gminas of Bierawa, Rudziniec, Strzelce Opolskie, Ujazd, Wielowieś and Zbrosławice.