Gmina Pcim is a rural gmina (administrative district) in Myślenice County, Lesser Poland Voivodeship, in southern Poland. Its seat is the village of Pcim, which lies approximately 10 kilometres (6 mi) south of Myślenice and 35 km (22 mi) south of the regional capital Kraków.
The gmina covers an area of 88.59 square kilometres (34.2 sq mi), and as of 2006 its total population is 10,327.
The gmina contains the villages of Pcim, Stróża and Trzebunia.
Gmina Pcim is bordered by the gminas of Budzów, Lubień, Mszana Dolna, Myślenice, Sułkowice, Tokarnia and Wiśniowa.