Sift icing sugar and cocoa to remove any lumps.
Soften the butter in a mixer, and add the icing sugar and cocoa mix. Add the vanilla extract.
If the mixture is too stiff, add a teaspoon or two of milk to soften.