Combine the sugar and water in a medium saucepan, then heat on medium until sugar is completely dissolved.
Once the sugar is dissolved, stir in the cacao powder until thoroughly combined.
Bring mixture to a steady boil.
Boil for 3 minutes, stirring constantly.
Remove from heat and add the vanilla.
Allow to cool and transfer into a container of your choiuce.