The HBA has explored and discussed this question with food scientists in milling, baking, food safety and university research for nearly two years because for several years the guidance on-line, on TV food shows and in cookbooks keeps on: If I heat flour in my oven or microwave, I then use it to make cookie or cake dough I can safely eat raw? Here is a great overview of why this is NOT a safe solution.
Home baking flour is just not a safe bet. Also, the flour will be altered in a home heating process, fire may result and you may get sick! As of 2022, you can purchase raw “safe-to-eat” cookie dough. Flour millers continue to research and develop new options, so read flour package food labels and stay tuned! But please leave make raw flour safe to eat to the pros.
Please share this article far and wide using the link provided. Thank you!