Gmina Sanok is a rural gmina (administrative district) in Sanok County, Subcarpathian Voivodeship, in south-eastern Poland. Its seat is the town of Sanok, although the town is not part of the territory of the gmina.
The gmina covers an area of 231.38 square kilometres (89.3 sq mi), and as of 2006 its total population is 16,802.
The gmina contains part of the protected area called Słonne Mountains Landscape Park.
Gmina Sanok contains the villages and settlements of Bykowce, Czerteż, Dębna, Dobra, Falejówka, Hłomcza, Jędruszkowce, Jurowce, Kostarowce, Lalin, Liszna, Łodzina, Markowce, Międzybrodzie, Mrzygłód , Niebieszczany, Pakoszówka, Pisarowce, Płowce, Prusiek, Raczkowa, Sanoczek, Srogów Dolny, Srogów Górny, Strachocina, Stróże Małe, Stróże Wielkie, Trepcza, Tyrawa Solna, Wujskie, Zabłotce and Załuż.
Gmina Sanok is bordered by the gminas of Bircza, Brzozów, Bukowsko, Dydnia, Lesko, Tyrawa Wołoska, Zagórz and Zarszyn.
Sanok [ˈsanɔk] (in full The Royal Free City of Sanok - Polish: Królewskie Wolne Miasto Sanok, Latin: Sanocum, Yiddish: סאניק, Sonik) is a town in south-eastern Poland with 39,110 inhabitants, as of 2 June 2009.
It is the capital of Sanok County in the Subcarpathian Voivodeship. Previously, it was in the Krosno Voivodeship (1975–1998) and in the Ruthenian Voivodeship (1340–1772), which was part of the Lesser Poland province. Historically it was part of the Land of Sanok and the Ruthenian Voivodeship. This historic city is situated on the San River at the foot of Castle Hill in the Lesser Poland (Małopolska) region. It lies in a wooded, hilly area near the national road number 28, which runs along southern Poland, from Ustrzyki Dolne to Wadowice (340 km or 211 mi away). It is located in the heartland of the Pogórze Bukowskie part of Doły (Pits), and its average elevation is 300 m (984 ft) above sea level, although there are some hills located within the confines of the city. Sanok is located on the bank of the river San. The area surrounding mountain range stretching between the Wisłok, Osława and San Rivers in the Salt Mountains (Central Beskidian Piedmont), in the inland with temperateness climate. The hills of the Bieszczady mountain range are typical for this countryside. Sanok County is bordered by Krosno County to the west, Brzozów County to the north, Przemyśl County to the north-east and Lesko County to the east. It also borders Slovakia to the south. Before World War II, the Oslawa and San Rivers line was designated the wild frontier between Poles and Lemkos. The city is a member of Carpathian Euroregion, which is designed to bring together the people who inhabit the region of the Carpathian Mountains and to facilitate their cooperation in the fields of science, culture, education, trade, tourism and economy.