Frozen food is good indefinitely, provided that it remains frozen below 0 degrees. Unfortunately, home freezers aren't always that consistent with the opening and shutting of daily use. The USDA recommends that cookie dough be baked within 2 months of freezing.