This study suggested that serum IL-17 concentration in children with migraine and headache or those with encephalitis and headache was significantly higher than that in children with pneumonia without headache, but there was no statistical difference between children with migraine and those with encephalitis. Here, IL17A is linked to susceptibility to pneumonia measurement.