The three-meter high construction with a six-by-two-meter base was made of chocolate bars from a local producer Kras.
The candy castle builder, Krunoslav Budiselic, boasted that his effort deserved a place in the Guinness Book of World Records.
Some 100,000 chocolate bars were used to build the castle, which weighs 10 tonnes.
After the castle was built its "bricks" were put on sale as part of a charity event ahead of Easter to help disabled athletes. (AFP)