The B7026 is a link road passing to the east of the Midlothian town of Penicuik.
Auchendinny
The route starts at traffic lights on the A701 north of Auchendinny, although there is a surprisingly long filter lane for southbound traffic to avoid the lights, which has priority when it meets the mainline. The route then heads south along a long tree-lined straight, past a golf course and into Auchendinny itself on The Brae. This, as its name suggests, is a hill which gets progressively steeper as it passes the houses There are two bridges in the village, the first crosses over the Glencorse Burn and then the route climbs a little as it winds around to a signalised crossroads. The route continues ahead on Westerhaugh, and soon dips down to cross the River North Esk on Wester Auchendinny Bridge. Both bridges are narrow enough to require traffic lights to control traffic flow. The route then climbs steadily up through trees and out across fields as it skirts the grounds of Auchendinny House. Penicuik can be seen on the right through the gaps in the trees, with the Pentland Hills rising up behind.
The route continues to snake up the hill and presently an unclassified road turns off to the right and heads steeply down to cross the Esk and reach Penicuik. After a few more bends, a handful of houses are passed at Loanstone, and then the route emerges into moorland fields, with some great views of the Pentlands. It continues south, climbing past the 250m contour as it enters a wood It levels out across its summit. The road widens out as it emerges from the trees and is crossed by the B6372 at a staggered crossroads. A short distance further on a handful of houses are found as it reaches Howgate, where the road ends at the Howgate Roundabout on the A6094.