Custard-filled doughnuts are best enjoyed fresh, ideally within a few hours of making them. If you need to store them, keep them in an airtight container in the fridge for up to 24 hours.