If you just can't resist eating the last bits of raw cookie dough from the bowl while baking, the U.S. Food and Drug Administration has a message for you: don't.

The FDA warned Tuesday against eating raw dough amid an E. coli outbreak that has caused 38 illnesses in 20 states.

The outbreak started in December 2015. The Centers for Disease Control and Prevention determined at least half of those who fell ill made something at home with flour. Subsequent tests linked the outbreak with General Mills flour produced in Missouri, and the company issued a voluntary recall of 10 million pounds of flour.

Although many people know about the danger of getting salmonella poisoning from raw dough, fewer people may be aware that eating raw flour carries its own risks.

"Flour is derived from a grain that comes directly from the field and typically is not treated to kill bacteria," said Leslie Smoot, a senior advisor in the FDA's Office of Food Safety.

The bacteria is killed during cooking or processing through boiling, baking, roasting, microwaving or frying. However, raw dough does not go through any of those "kill steps," according to the FDA.

>> RELATED: General Mills recalling flour over E. coli scare

For anyone who still hopes to use raw cookie dough in something like homemade cookie dough ice cream, authorities suggest using commercially made dough.

"Manufacturers should use ingredients that include treated flour and pasteurized eggs," FDA officials said.

The FDA released the following food handling tips for handling raw flour:

  • Do not eat any raw cookie dough, cake mix, batter, or any other raw dough or batter product that is supposed to be cooked or baked.
  • Follow package directions for cooking products containing flour at proper temperatures and for specified times.
  • Wash hands, work surfaces, and utensils thoroughly after contact with flour and raw dough products.
  • Keep raw foods separate from other foods while preparing them to prevent any contamination that may be present from spreading. Be aware that flour may spread easily due to its powdery nature.
  • Follow label directions to chill products containing raw dough promptly after purchase until baked.