Once it is baked, you can leave the jam tarts in the fridge for three days, definitely not more than five days. Keep it wrapped thoroughly so that it does not dry out in the fridge or absorb the odor from other stuff in the fridge.