Your product has a cookie and a filling, or a cake and a frosting. Does each part have to pass?
Updated
On this page7
Yes. Where a state judges products by water activity or pH, each part is judged on its own: University of Minnesota Extension's rule for Minnesota cottage foods is that "Each component must independently meet cottage food safety requirements," so each component of a frosted, filled or assembled product is tested separately. The place where two parts meet is a further question: Texas DSHS, reading the FDA Food Code, treats combination products as needing time and temperature control until a challenge study shows otherwise, because the interface can behave differently from either part. This page shows how to break a product into parts, which ones to test, and what the common cases look like.
Why the parts are judged separately
A frosted cupcake is two foods made in two ways. The cake was baked; the frosting was mixed afterward and never saw the oven. Each has its own water activity (aw) and pH, and a germ that can grow in one may not grow in the other. Averaging them would hide the part that matters.
UMN puts the rule for products assembled after baking (frosted cookies, cakes, filled pastries) plainly: test each component separately, and "Each component must independently meet cottage food safety requirements" [1]. State lists draw the same line by name. New Jersey's cottage food list explains that "Icings, frostings, and fillings have additional rules because they are added after the baking process" [2].
Published measurements already work this way. The water activity tables in Water Activity in Foods (2007) list commercial sandwich cookies as two entries, the cookie and the filling, each measured on its own [3]. K-State Research and Extension measured the filling of its Lemon Deluxe Bars by itself, at pH 4.3 and aw 0.79 (MF3544, Dec 2020) [4]; the rest of K-State's measurements are on which frostings and fillings keep.
Where the parts meet
Two things happen at the boundary between parts that neither part shows alone.
Moisture moves. Water travels from the wetter part to the drier one until they even out. A moist filling softens a crisp cookie; a cake pulls water from a thin glaze, or a glaze from a cake. Over days, the parts drift toward each other, and the product you sell on day three is not the one you assembled.
The interface is its own small environment. Texas DSHS's guidance on the Food Code tables says components "with significantly different pH or aw" can create a different microenvironment at their interface, which may allow pathogens to behave unexpectedly; it says challenge studies are needed to classify such products and that all combination products are treated as TCS (needing time and temperature control for safety) until proven otherwise [5]. Its example is focaccia that is baked, then layered with meats, cheeses or vegetables and held on display [5].
That is why passing both parts is necessary for a component-based rule and still may not settle the Food Code question for the assembled product. A home baker rarely runs a challenge study; UT Extension calls a product assessment by a process authority or commercial lab "usually cost prohibitive" for homemade food processors [6]. In practice, the state's list and the component results are what most bakers work from, and the agency decides.
Common products, part by part
| Product | Parts to consider | What to watch | Where it is covered |
|---|---|---|---|
| Sandwich cookies | Cookie; filling | The filling is mixed after baking and judged on its own; a soft filling moves moisture into a crisp cookie | Soft cookies or crisp |
| Frosted or filled cupcakes | Cake; frosting; any center filling | Three components, each added at a different stage; the filling is the one most often on a state's excluded list | Celebration cakes and cupcakes |
| Frosted brownies | Brownie; frosting or ganache | No published aw for brownies was found; ganache appears on some prohibited lists by name | Brownies and blondies |
| Lemon bars and filled bars | Crust; filling (often baked on the crust) | The filling is the question; K-State measured its lemon bar filling separately [4], yet Utah's list excludes "custards (such as lemon bars...)" by name [7], and the list decides | Lemon bars, cheesecake bars and other filled bars |
| Jam thumbprints and filled pastries | Dough; jam or fruit filling | Jam made at home has its own rules; a fresh fruit filling is excluded by name in some states | Pastries, hand pies and Danish |
| Focaccia and topped breads | Bread; cheese, vegetable or meat toppings | Texas DSHS's example of a combination product needing a challenge study [5] | Breads with cheese, vegetables, meat or other fillings |
| Celebration cakes | Cake layers; filling; frosting; decorations | Every layer added after baking is its own component | Cake and pastry fillings |
Baked together or assembled after
The way a part joins the product changes how you treat it.
- Baked in. A cream cheese swirl in a brownie or a lemon filling baked on a crust is heated with the base. It is still a separate component for testing: sample it apart from the base where you can.
- Added after baking. Frosting, glaze, whipped toppings and fillings piped in after the bake were never heated in the oven. These are the parts states single out by name [2].
- Store-bought parts. A commercial frosting or filling labeled for room-temperature storage arrives with its own maker's controls; some states treat it differently from a homemade one (using store-bought frosting and fillings). Check whether the label says to refrigerate after opening.
What to test, and when
If your state uses a test, work through the product like this:
- List every component, including thin ones (a glaze, a soak syrup, a crumb topping).
- Strike out components your state allows by name with no condition, and components that are commercially made and shelf stable as labeled, if your state accepts them.
- Mark components your state excludes by name. No test changes those under a list-based rule (will a passing test make it legal).
- Test each remaining component separately, made to your formula, using the method on testing water activity and pH: at least 3 samples, UMN recommends 5 [1].
- Sample after assembly as well as fresh if you want to see how moisture moves, and note the day. This tells you about quality and texture; it does not replace the component results a state asks for.
- Ask the agency with the component results in hand if the product combines parts with very different numbers, or includes cheese, vegetables or meat.
Keep each result with the formula version of that component. Change the filling and only the filling needs retesting, provided the rest of the product is unchanged.
Your next part to check is usually the frosting
For most bakers, the component that decides the product is the one added last. Start with which frostings and fillings keep and cake and pastry fillings.
Top picks
Top containers for baking and dry goods
8 oz · 89-400 · PET
12 oz · 89-400 · PET
6 oz · 70-400 · PET · Black
8 oz · 70-400 · PET
6 oz · 70-400 · PET · Amber
3 oz · 58-400 · PET
12 oz · 70-400 · PET
16 oz · 89-400 · PET
References
- University of Minnesota Extension, Stoll, Testing water activity in cottage foods, reviewed 2026. https://extension.umn.edu/food/selling-and-distributing/cottage-food/testing-water-activity-in-cottage-foods
- New Jersey Department of Health, Cottage Food: Prohibited food products, modified April 1, 2026. https://nj.gov/health/cottagefood/food-products/prohibited
- Schmidt and Fontana, Appendix E: Water Activity Values of Select Food Ingredients and Products, in Barbosa-Cánovas et al., eds., Water Activity in Foods (Blackwell/IFT, 2007), doi 10.1002/9780470376454.app5. https://doi.org/10.1002/9780470376454.app5
- K-State Research and Extension, Blakeslee, Castinado, Beech, Williams and Aramouni, Food Safety of Frostings and Fillings (MF3544), December 2020. https://bookstore.ksre.ksu.edu/pubs/MF3544.pdf
- Texas Department of State Health Services, Public Sanitation and Retail Food Safety Unit, How to Determine Whether Foods Require Time/Temperature Control for Safety (TCS), September 1, 2017. https://www.dshs.texas.gov/foodestablishments/pdf/GuidanceDocs/How-to-determine-if-foods-require-time-and-temperature
- University of Tennessee Extension, Ertop and Morgan, TCS or Not? A Practical Guide for Homemade Food Processors (D268), February 2026. https://utia.tennessee.edu/publications/wp-content/uploads/sites/269/2026/03/D268.pdf
- Utah Department of Agriculture and Food, Permitted Cottage Food Products, undated, read November 20, 2026. https://ag.utah.gov/wp-content/uploads/Permitted-Cottage-Food-Products.pdf