Why do we develop lifelong immunity to some diseases, but not others?

Will our immunity to COVID-19 be lifelong or short-lived?

Childhood vaccines can protect against some diseases for a lifetime.
Childhood vaccines can protect against some diseases for a lifetime.
(Image credit: Shutterstock)

Some diseases, like the measles, infect us once and usually grant us immunity for life. For others, like the flu, we have to get vaccinated year after year. 

So why do we develop lifelong immunity to some diseases but not others? And where does the novel coronavirus fit into all this?

Isobel Whitcomb
Live Science Contributor

Isobel Whitcomb is a contributing writer for Live Science who covers the environment, animals and health. Her work has appeared in the New York Times, Fatherly, Atlas Obscura, Hakai Magazine and Scholastic's Science World Magazine. Isobel's roots are in science. She studied biology at Scripps College in Claremont, California, while working in two different labs and completing a fellowship at Crater Lake National Park. She completed her master's degree in journalism at NYU's Science, Health, and Environmental Reporting Program. She currently lives in Portland, Oregon.