Buy a full case and the price per unit drops automaticallyRequest a sample
AccountCart0
All ContainersBottlesJarsCaps & ClosuresPumps & SprayersTubs & PailsJugsDroppersTinsTubesAccessoriesSeals & LinersCansBags & PouchesVialsLabels & DecorationBuckets & PailsDrumsBoxes & MailersBottling Tools
Industries
Learn

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

ProductParts to considerWhat to watchWhere it is covered
Sandwich cookiesCookie; fillingThe filling is mixed after baking and judged on its own; a soft filling moves moisture into a crisp cookieSoft cookies or crisp
Frosted or filled cupcakesCake; frosting; any center fillingThree components, each added at a different stage; the filling is the one most often on a state's excluded listCelebration cakes and cupcakes
Frosted browniesBrownie; frosting or ganacheNo published aw for brownies was found; ganache appears on some prohibited lists by nameBrownies and blondies
Lemon bars and filled barsCrust; 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 decidesLemon bars, cheesecake bars and other filled bars
Jam thumbprints and filled pastriesDough; jam or fruit fillingJam made at home has its own rules; a fresh fruit filling is excluded by name in some statesPastries, hand pies and Danish
Focaccia and topped breadsBread; cheese, vegetable or meat toppingsTexas DSHS's example of a combination product needing a challenge study [5]Breads with cheese, vegetables, meat or other fillings
Celebration cakesCake layers; filling; frosting; decorationsEvery layer added after baking is its own componentCake 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:

  1. List every component, including thin ones (a glaze, a soak syrup, a crumb topping).
  2. 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.
  3. Mark components your state excludes by name. No test changes those under a list-based rule (will a passing test make it legal).
  4. 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].
  5. 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.
  6. 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.

References

  1. 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
  2. New Jersey Department of Health, Cottage Food: Prohibited food products, modified April 1, 2026. https://nj.gov/health/cottagefood/food-products/prohibited
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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