A Kinder Surprise egg lived up to its name when police discovered drugs hidden inside the pod designed to hold a children's toy.
Officers in Cambridge came across cocaine and heroin inside the capsule which was found on Jerome McGibbon, 21.
He threw away the container after police spotted him in an area notorious for drugs in the city, but it was quickly recovered and found to contain the illegal stash.
After being released on bail for the offence, McGibbon pulled the same trick and was caught again.
McGibbon admitted possession with intent to supply a class A drugs at Cambridge Crown Court and was jailed for five years.
Sentencing him, Judge Jonathan Howard said: "For you to go out and again be dealing drugs after your arrest shows a complete disregard for such criminality."
Kinder Eggs have been used before by criminals involved in drugs. Police uncovered heroin hidden inside the plastic capsules in Leamington Spa in 2013. In the same year, a woman in Macclesfield was jailed after hiding class A drugs in the novelty sweet.