The guidelines released Wednesday were required by a 2011 federal law.
Peanuts, tree nuts, milk and shellfish are among the food that most often most trigger reactions. But experts say more than 170 foods are known to cause reactions.
The new advice call for schools to do such things as:
—Identify children with food allergies.
—Have a plan to prevent exposures and manage any reactions.
—Train teachers or others how to use medicines like epinephrine injectors, or have medical staff to do the job.
—Plan parties or field trips free of foods that might cause a reaction; and designate someone to carry epinephrine.
—Make sure classroom activities are inclusive.
For example, don't use Peanut M&M's in a counting lesson, said John Lehr, chief executive of an advocacy group that worked on the guidelines, Food Allergy Research & Education (FARE).
Carolyn Duff, president of the National Association of School Nurses, which worked on the guidelines, said many schools may not have policies on food allergies. "And if they do, maybe the policies aren't really comprehensive," she said.
U.S. Rep. Nita Lowey, a New York Democrat who worked on the law that led to the guidelines, said in a statement that they are a big step toward giving parents "the confidence that their children will stay safe and healthy at school."
CDC guidelines: http://www.cdc.gov/healthyyouth/foodallergies/