Flour is a raw agricultural product, and like raw meat or eggs, it can carry harmful bacteria that only cooking destroys. The main reason you need to cook flour is food safety: both Salmonella and a dangerous strain of E. coli have been found in flour straight from the bag, causing real outbreaks and real hospitalizations. Beyond the bacterial risk, cooking also transforms flour’s starches into a form your body can actually digest efficiently.
Flour Can Harbor Dangerous Bacteria
Wheat is grown in open fields where it contacts animal waste, soil bacteria, and wildlife. The milling process that turns grain into flour doesn’t include a step to kill pathogens. There’s no roasting, no pasteurization, no heat treatment at all. The FDA classifies flour as a raw food for exactly this reason.
The two bacteria most commonly found in contaminated flour are Salmonella and Shiga toxin-producing E. coli (STEC). Both have triggered national recalls and outbreak investigations. In 2023, a Salmonella outbreak linked to Gold Medal All-Purpose Flour led to 14 confirmed cases across 13 states, three hospitalizations, and a voluntary recall of multiple bag sizes. An earlier E. coli outbreak tied to flour hospitalized more than a quarter of the people who got sick, and one adolescent developed a serious form of kidney failure called hemolytic uremic syndrome before recovering.
E. coli symptoms from contaminated flour typically show up three to four days after exposure: mild fever, stomach pain, vomiting, and diarrhea that can turn bloody. Salmonella symptoms appear anywhere from six hours to six days after ingestion. Both infections can range from uncomfortable to genuinely dangerous, especially for young children, older adults, and anyone with a weakened immune system.
What Cooking Actually Does to the Bacteria
Heat kills Salmonella and E. coli by destroying the proteins the bacteria need to survive. The key factor is temperature sustained over time. Research on baking flour in a household oven found that Salmonella populations dropped by more than 99.9% during normal baking. At a typical baking temperature of 350°F (177°C), it takes under two minutes for each tenfold reduction in bacterial count. At 400°F (204°C), that drops to roughly one minute per tenfold reduction.
This means standard baking, where dough or batter spends 10 to 30 minutes in a hot oven, is more than enough to eliminate pathogens throughout the product. The flour inside your finished bread, cookies, or cake is safe precisely because it reached and held a high enough temperature long enough.
Why “Heat-Treating” Flour at Home Is Tricky
Some recipes, particularly for edible cookie dough or cake batter frostings, call for pre-toasting flour in the oven or microwave to make it safe to eat without further baking. The FDA advises against doing this at home. The problem is consistency: flour is a poor conductor of heat, and a thin layer on a baking sheet doesn’t heat uniformly the way dough does in a loaf pan. Some spots may reach a safe temperature while others stay cool enough for bacteria to survive. Without a reliable way to confirm the internal temperature of every part of the flour, you can’t be sure you’ve eliminated the risk.
If you want to eat something flour-based without baking it, commercially heat-treated flour products exist specifically for this purpose. They’re processed under controlled conditions that home ovens can’t replicate.
Raw Flour Is Harder to Digest
Food safety aside, there’s a nutritional reason cooking matters. Raw flour contains tightly packed starch granules in an ordered, crystalline structure. Your digestive enzymes struggle to break this form down efficiently. When flour is cooked, those starch granules absorb water and swell in a process called gelatinization, which converts the starch into a softer, amorphous structure that your body can digest with far less effort. This is why cooked grains provide usable energy so much more readily than raw ones.
Humans have been cooking starchy crops for centuries, and our digestive systems have adapted accordingly. Eating raw flour won’t just taste unpleasant (think chalky, pasty mouthfeel). It also means your body has to work significantly harder to extract calories and nutrients from it, with less efficient results.
Cooking Unlocks More Minerals
Wheat flour, especially whole wheat, contains a compound called phytic acid that binds tightly to minerals like iron, zinc, calcium, and magnesium. While those minerals are physically present in the flour, your body can’t absorb them when they’re locked up this way. The human gut lacks the enzyme needed to break phytic acid down on its own.
Heat and fermentation both help release these minerals. Yeast fermentation during bread-making is particularly effective: as yeast lowers the dough’s pH, enzymes naturally present in the flour break apart phytic acid, freeing up iron, zinc, and other minerals for absorption. Sourdough fermentation produces even greater reductions in phytic acid than standard yeast, which is one reason sourdough bread is sometimes considered more nutritious than quick-rise loaves. The combination of fermentation and baking means the minerals in your finished bread are far more available to your body than they would be in the same flour eaten raw.
Common Ways People Get Exposed
Most people know not to eat a spoonful of raw flour on its own, but exposure usually happens in less obvious ways. Tasting raw cookie dough or cake batter is the most common route. Letting children play with homemade playdough made from uncooked flour is another, since kids frequently touch their mouths. Even dusting a counter with flour and then handling food you won’t cook (like fruit or cheese) can transfer bacteria.
Cross-contamination in the kitchen is easy to overlook. Flour is powdery and airborne, settling on surfaces, utensils, and hands. Washing your hands and wiping down counters after working with raw flour reduces risk the same way it does after handling raw chicken. Any utensil or bowl that touched raw dough should be washed with soap and water before reuse.

