FREEPORT, Maine — The Maine Center for Disease Control and Prevention confirmed the two cases of pertussis to the Portland Press Herald.
Parents in the school system were notified on Monday that their children may have been exposed to the disease.
Pertussis - or whooping cough - is a highly contagious airborne disease, which is easily spread by coughing or sneezing.
The CDC says it can take up to three weeks after exposure for a person to become sick.
Anyone can get pertussis, including people who have had the vaccine.
If someone has been diagnosed with pertussis, they should be kept home until they have completed five days of antibiotic treatment.
RELATED: Pertussis is widespread in Maine