Spaghetti will last for 3-4 days in the fridge in a sealed container.