Gmina Krynica-Zdrój is an urban-rural gmina (administrative district) in Nowy Sącz County, Lesser Poland Voivodeship, in southern Poland, on the Slovak border. Its seat is the town of Krynica-Zdrój, which lies approximately 31 kilometres (19 mi) south-east of Nowy Sącz and 103 km (64 mi) south-east of the regional capital Kraków.
The gmina covers an area of 145.3 square kilometres (56.1 sq mi), and as of 2006 its total population is 16,850 (out of which the population of Krynica-Zdrój amounts to 11,243, and the population of the rural part of the gmina is 5,607).
Apart from the town of Krynica-Zdrój, Gmina Krynica-Zdrój contains the villages and settlements of Berest, Czyrna, Mochnaczka Niżna, Mochnaczka Wyżna, Muszynka, Piorunka, Polany and Tylicz.
Gmina Krynica-Zdrój is bordered by the gminas of Grybów, Łabowa, Muszyna and Uście Gorlickie. It also borders Slovakia.