Emergency services attended Kinghorn Beach on Sunday morning after the alarm was raised.
Diving teams, ambulance crews and police took part in the rescue operation and a coastguard helicopter was also called to the location.
A Police Scotland spokesperson said: “Officers received report of a man having gotten into difficulty in the water following an organised dive near Kinghorn Beach around 9.55am on Sunday, 10 April, 2022. The man was recovered from the water but died a short time later. Enquiries into the circumstances surrounding the death are ongoing. A report will be submitted to the Procurator Fiscal.”