Pour the coconut milk into a medium saucepan, add the sugar and bring to the boil, stirring occasionally. Reduce the heat and simmer for up to 1 hour, or until the liquid is reduced to a thick condensed milk. Remove from the heat and allow to cool.
Use straight away or store in an airtight container in the fridge for up to 2 weeks.