Police caught a man hiding behind a pillar after he fled from a property while carrying drugs.
Jake Bostock of Alfred Teare Grove in Douglas appeared before magistrates at Douglas Courthouse.
The 25-year-old admitted possessing hundreds of pounds worth of cannabis and pregabalin tablets on May 14.
Bostock was ordered to do 50 hours community service and pay £125 costs.
How much has been spent on carbon literacy training?
Gov made no assessment before apprentice scheme changes
Government strategy to promote local food under spotlight
Local man to run famous marathon for Children's Centre
Are there supply issues at the meat plant?
What's the target patient to GP ratio?
Plans for new high school to be discussed
Katie Hopkins confirms Island return