(CNN) -- The FDA has approved the first drug to treat peanut allergies in children.
The medication, called Palforzia, can be used in children ages four to 17.
It is not a cure but is designed to minimize the incidence and severity of a child's allergic reaction to peanuts.
The American College of Allergy, Asthma and Immunology says peanuts are one of the most common food allergies.
The new treatment works by exposing kids to controlled dosages of peanut protein over time.
According to Aimmune Therapeautics, which developed the medication, eventually, the kids can build up a tolerance.
In trials, 2/3 of children tested were able to eat a small amount of peanut without having a reation.
The FDA still encourages parents to have and Epi-pen on hand to be on the safe side.