Gmina Okonek is an urban-rural gmina (administrative district) in Złotów County, Greater Poland Voivodeship, in west-central Poland. Its seat is the town of Okonek, which lies approximately 23 kilometres (14 mi) north-west of Złotów and 126 km (78 mi) north of the regional capital Poznań.
The gmina covers an area of 325.88 square kilometres (125.8 sq mi), and as of 2006 its total population is 8,909 (out of which the population of Okonek amounts to 3,827, and the population of the rural part of the gmina is 5,082).
Apart from the town of Okonek, Gmina Okonek contains the villages and settlements of Anielin, Babi Dwór, Borki, Borucino, Brokęcino, Brzozówka, Chwalimie, Ciosaniec, Ciosaniec-Bolkowo, Czersk, Drzewice, Glinki Mokre, Glinki Suche, Kruszka, Lędyczek, Łomczewo, Lotyń, Lubnica, Lubnicki Młyn, Lubniczka, Pniewo, Podgaje, Przybysław, Rydzynka, Skoki, Węgorzewo and Wojnówko.
Gmina Okonek is bordered by the gminas of Borne Sulinowo, Czarne, Debrzno, Jastrowie, Lipka, Szczecinek and Złotów.