Homemade baby food can be stored in the refrigerator for up to 48 hours and in the freezer for 3-6 months. 3 months is recommended for the most nutritional value, but it is safe for your baby up to 6 months. If you leave your baby food out, it should be thrown out after 2 hours.