HM Coastguard scrambled teams from South Queensferry, Kinghorn in Burntisland and Fisherrow in Musselburgh as well as a coastguard helicopter after calls from local police officers at 5.30 on Tuesday, July 4.
The Kinghorn lifeboat crew reached the man first and pulled aboard.
Two police officers joined the crew on the lifeboat to ensure the man was taken back ashore safely.
Join our Facebook group Our Edinburgh to share images and news from and around the Capital
Know someone that makes a difference in our community? Nominate them for a Local Hero Award HERE