Pasternik [pasˈtɛrnik] (German: Hinterheide) is a village in the administrative district of Gmina Gromadka, within Bolesławiec County, Lower Silesian Voivodeship, in south-western Poland.It lies approximately 5 km (3 mi) north-east of Gromadka, 22 km (14 mi) north-east of Bolesławiec, and 91 km (57 mi) west of the regional capital Wrocław.
The village has a population of 150.