On Thursday morning, both teams were called out to North Berwick by the dog’s owner, who was unable to coax her pet off the ledge.
The teams used ropes to lower down a cliff technician, who descended the precipice and recovered the dog into an animal bag.
Edinburgh weather: Capital and the Lothians warned as Met Office predict thunderstorms to follow heat wave
West Lothian fire: Pictures show firefighters still battling West Lothian wildfire which broke out three days ago
Lothian bus driver ‘hit by stone’ as police launch witness appeal
Edinburgh crime news: Here is a round up of the crime stories from the Capital and the Lothians this week
Edinburgh Zoo’s oldest penguin killed by fox in overnight break-in
Both were lowered to the base of the cliff, where the dog was reunited with his owner.
North Berwick Coastguard Rescue Team posted about the incident on Facebook, where they advised: "Never put yourself in danger, animals often get themselves out of harms way, however when they do need a hand we would always advise to stay put, call the Coastguard and await assistance just as happened this morning.”
"If you see someone or something you are concerned about on the shoreline, cliffs, beaches or harbours, call 999 and ask for the Coastguard. If in doubt call.”