The B7031 is a short road in west Midlothian. It was originally unclassified but had gained its number by 1932.
The road starts on the B7015 to the east of East Calder and heads south across the fields. It's not long before the A71 is reached; once we went straight over this but the crossroads is now staggered. A short distance further on a T-junction is reached; we TOTSO left whilst the road to the right returns to the A71.
The road zigzags over the Edinburgh branch of the West Coast Main Line at a level crossing adjacent to Kirknewton station before entering Kirknewton itself. We follow Station Road through town then bear right to avoid Main Street and reenter open country. After skirting the grounds of Kirknewton House and passing RAF Kirknewton the road ends at a T-junction on the A70.