Borthwick is a parish, which lies in Midlothian Council Area, some 5 miles (8 km) southeast of Bonnyrigg and 8 miles (13 km) east of Penicuik in Midlothian.
It is located in the old county of Midlothian, which disappeared following the Local Government (Scotland) Act 1974.
The parish has an area of 37.9 sq. km (14.6 sq. miles). Borthwick has 7 neighbouring parishes; namely Carrington, Cockpen, Cranston, Crichton, Heriot, Newbattle and Temple. The boundaries of this parish were modified among significant changes recommended by the Boundary Commissioners after the Local Government (Scotland) Act 1889 and again by the Local Government (Scotland) Act 1894.