Gmina Czarny Dunajec is a rural gmina (administrative district) in Nowy Targ County, Lesser Poland Voivodeship, in southern Poland, on the Slovak border. Its seat is the village of Czarny Dunajec, which lies approximately 13 kilometres (8 mi) west of Nowy Targ and 70 km (43 mi) south of the regional capital Kraków.
The gmina covers an area of 218.34 square kilometres (84.3 sq mi), and as of 2006 its total population is 21,186.
Gmina Czarny Dunajec contains the villages and settlements of Chochołów, Ciche, Czarny Dunajec, Czerwienne, Dział, Koniówka, Odrowąż, Piekielnik, Pieniążkowice, Podczerwone, Podszkle, Ratułów, Stare Bystre, Wróblówka and Załuczne.
Gmina Czarny Dunajec is bordered by the gminas of Biały Dunajec, Jabłonka, Kościelisko, Nowy Targ, Poronin, Raba Wyżna and Szaflary. It also borders Slovakia.