Melville Castle is a three-storey Gothic castellated mansion situated less than a mile (>2 km) west-south-west of Dalkeith, Midlothian, near the North Esk.