Alexander Toon, of High Street, Methil, appeared before Sheriff Elizabeth McFarlane at Kirkcaldy Sheriff Court on Thursday.
Toon, 25, admitted that on April 18, 2021 at his home address he was concerned in the supply of cocaine, a class A drug, contrary to the Misuse of Drugs Act 1971.
Sheriff McFarlane opted to defer sentence and continue the case until May 26.