Penicuik is a burgh and civil parish in Midlothian, lying on the West bank of the River North Esk and only about 8 miles from Edinburgh City Centre. The A703 road runs through the town and links up with the A720 Edinburgh City bypass making the City easily reachable from the town.
The town has two secondary schools, Penicuik High School and Beeslack Community High School.