Baby food containing poultry, fish, meat, or eggs should stay fresh in the refrigerator for 24 hours. Baby food containing only fruits and vegetables should stay fresh in the refrigerator for 2 days. You can freeze all baby food for 1 to 2 months, and baby food with only fruits and vegetables for 6 months.