Homemade pistachio halva will be good for 7-8 days. Make sure to store it in an airtight container in the fridge.