Kaya will last for up to a week if left unrefrigerated, or up to 2 weeks in the fridge. It doesn't contain any preservatives apart from the sugar. Always check your kaya before using and discard if you notice any mould or unusual smell.