According to the CDC, most baby formulas need to be used within 1 month of opening the container. Unopened formula can be good for up to 6-12 months (use the expiration date on the container to determine how long your formula is good for).