Regardless of how often we actually do it, it's common knowledge that washing our hands before eating, after coughing, and after using the bathroom is good for us. But the connection between handwashing and health wasn't always accepted as fact. As Danielle Bainbridge explains in the PBS web series Origin of Everything, the first doctor to campaign for cleanliness in hospitals was not only shunned by other medical professionals, but ended up in an insane asylum.

Prior to the 19th century, handwashing primarily existed in the context of religious ceremonies and practices. It plays a role in Christianity, Islam, Judaism, Sikhism, and Buddhism in some form or another. But washing up to stop the spread of disease wasn't really a thing for most of history. People weren't aware of germs, so instead of microbes, they blamed illness on everything from demons to bad air.

Then, in 1846, a Hungarian doctor named Ignaz Semmelweis made a breakthrough observation. He noticed that women giving birth with the help of midwives were less likely to die than those treated by doctors. He determined that because doctors were also performing autopsies on victims of puerperal fever (a bacterial infection also known as childbed fever), they were somehow spreading the disease to their other patients. Semmelweis started promoting handwashing and instrument sterilization in his clinic, and the spread of puerperal fever dropped as a result.

Despite the evidence to support his theory, his peers in the medical community weren't keen on the idea of blaming patient deaths on doctors. Partly due to his commitment to the controversial theory, Semmelweis was shunned from his field. He suffered a mental breakdown and ended up in a mental hospital, where he died a few weeks later.

Germ theory did eventually become more mainstream as the century progressed, and washing hands as a way to kill unseen pathogens started gaining popularity. Even so, it wasn't until the 1980s that the CDC released the first official guidelines instructing people on best handwashing practices.

If this story suddenly has you in the mood to practice good hygiene, here's the best way to wash your hands, according to experts.

[h/t Origin of Everything]