The pair were travelling on the A68 near the Soutra Hill wind farm in Midlothian when their Ford veered off the road and back on again.
Fire crews and paramedics rushed to the scene shortly after the accident at 10.10am yesterday but the occupants had already escaped the car unharmed.