What is E. coli vs. salmonella?

E. coli and salmonella are both bacteria that can cause food poisoning. If certain strains of either bacteria enter your body, you can become physically ill. You may experience vomiting and diarrhea with both. Symptoms typically resolve themselves within a week, but if your symptoms persist you will need immediate medical attention.
Both bacterias are primary causes of food poisoning, but it's important to know which one you have so that you can properly address your symptoms.
What is E. coli?
E. coli (Escherichia coli) is a bacteria that typically lives in your intestines. It’s also found in an animal's intestines. Most E. coli is actually harmless, but there are certain strains that cause illness through contaminated water or food. You can potentially catch pathogenic E.coli from infected animals or people.
What is salmonella?
Salmonella is a group of bacteria that is a primary cause of foodborne illnesses. Salmonella occurs in raw poultry, eggs, beef, and occasionally unwashed fruits and vegetables. You can even get salmonella from handling certain pets.
What are symptoms and signs of E. coli vs. salmonella?
E. coli and salmonella may have similar symptoms as they are both bacterial infections. You may not experience all of these symptoms, and there are some differences. Most often, your symptoms will appear suddenly after you have become infected.
Symptoms of E. coli
E. coli symptoms typically occur two to five days after you’ve been exposed to the harmful bacteria. There are some cases where infected people have no symptoms at all but can still spread the bacteria to others.
Symptoms of E. coli include:
Symptoms of salmonella
Salmonella symptoms can occur within six hours of exposure to the bacteria. Or it could take six days before you know you’re infected. Salmonella typically lasts four days to a week. Common symptoms include:
- Fever
- Diarrhea
- Abdominal cramps
- Headache
- Potential nausea, vomiting, and loss of appetite
You should seek immediate medical attention if you have the following:
- Diarrhea and a fever of 102 degrees Fahrenheit or more
- Diarrhea that persists longer than three days
- Bloody stool
- Prolonged vomiting
- Signs of dehydration like unable to produce urine, dry mouth and throat, or dizziness when standing up

SLIDESHOW
Bacterial Infections 101: Types, Symptoms, and Treatments See SlideshowWhat are causes of E. coli vs. salmonella?
There are several causes of E. coli and salmonella. E. coli can be a healthy or harmful bacteria, depending on the type that you encounter. Salmonella is a harmful group of bacteria that can be found in certain foods and on certain pets.
Causes of E. coli
E. coli can be found in water, food, soil, or on surfaces that have been contaminated with animal or human feces. People can spread E. coli, even if they don’t have symptoms. You can become infected with E. coli by the following:
- Eating contaminated food like undercooked hamburgers or raw produce
- Drinking unpasteurized milk, juice, or cider
- Swallowing contaminated water in a lake, stream, river, spring, pond, swimming pool, hot tub, or water park fountains
- Contact with farm animals or pets
- Touching contaminated surfaces or objects, then touching your mouth
- Not washing your hands after using the bathroom then eating
Causes of salmonella
Salmonella lives in the intestines of animals, like birds. It is usually transmitted by eating foods contaminated with animal feces. Typhoid fever is caused by a certain type of salmonella that only lives in humans and is passed through contaminated water or food. You will typically be infected by salmonella from contaminated:
- Beef
- Poultry
- Seafood
- Milk
- Eggs
- Unwashed fruits and vegetables
Health News
- Attachment Theory: What It Is, Stages & the Different Attachment Styles
- Gentle Parenting: What It Is, Techniques & Discipline
- U.S. Nursing Homes Fail to Report Many Serious Falls, Bedsores: Study
- The Younger You Get Diabetes, the Higher Your Risk for Dementia Later
- FDA Grants Full Approval to Paxlovid to Treat COVID-19
More Health News »
How to diagnose E. coli vs. salmonella
Most often, E. coli and salmonella cases will go unreported because they typically resolve within a week. If you do visit the doctor for food poisoning, they will test a sample of your stool to accurately diagnose the bacteria in your body. Proper diagnosis can prevent secondary transmission that lead to outbreaks.
If you have concerning severe symptoms like those listed above you should contact your doctor immediately. They will be able to run tests and determine what strain of bacteria is present in your stool. This will help local public health departments take the necessary protocol for managing a potential outbreak.
Salmonella and E. coli have very similar symptoms, so your doctor will send your stool off to the lab to determine if salmonella or E. coli is present in your system.
Treatments of E. coli vs. salmonella
In most cases, you will be able to recover from E. coli or salmonella within four to seven days without treatment. Your doctor will determine the best path of treatment for you depending on the severity of your infection, your age, and your overall health. If you have severe diarrhea, you may need rehydration through IV fluids.
Getting plenty of fluids is an important part of your treatment plan. Antibiotics are not recommended to treat E. coli or salmonella infections. Unless your infection has spread to your bloodstream, which is a serious condition and would require immediate treatment of antibiotics.
Subscribe to MedicineNet's General Health Newsletter
By clicking Submit, I agree to the MedicineNet's Terms & Conditions & Privacy Policy and understand that I may opt out of MedicineNet's subscriptions at any time.
Health Solutions From Our Sponsors
Centers for Disease Control and Prevention: “Salmonella symptoms.”
Centers for Disease Control and Prevention: “Salmonella. ”
Clinical Infectious Diseases: “Escherichia coli O157:H7: clinical, diagnostic, and epidemiological aspects of human infection.”
John Hopkins Medicine: “Salmonella infections.”
Minnesota Department of Health: “E. coli 0157:H7 and HUS fact sheet.”
Top How Do You Know If You Have E. Coli or Salmonella? Related Articles
Food Poisoning
Concerned about food poisoning outbreaks? From ground beef to lettuce, many foods can cause them. Learn about foodborne diseases like Salmonella, E. coli, norovirus, Campylobacter, Staph, and hepatitis A.9 Food Poisoning Myths That Are Wrong
Knowing too much wrong information about a condition is just as bad as knowing too little about a disease. That's why we took it upon ourselves to debunk these 9 food poisoning myths.Proper Food Prep
You eat the right foods, but do you cook them the right way? How you prepare food is key. Get the most nutritional bang from your food preparation.E. coli (0157:H7) Infection
There are many types of E. coli (Escherichia coli). E. coli can cause urinary tract and bladder infections, or lead to sepsis. E coli O157:H7 (EHEC) causes bloody diarrhea and colitis. Complications of E. coli infection include hemorrhagic diarrhea, hemolytic-uremic syndrome, and thrombotic thrombocytopenic purpura. Symptoms include severe abdominal pain and bloody diarrhea. E coli O157:H7 commonly is due to eating raw or undercooked hamburger or raw milk or dairy products.Enterovirulent E. coli (EEC)
Enterovirulent Escherichia coli (E. coli) are strains of related bacteria that have a strong propensity to cause gastrointestinal tract infections. Examples of strains include: EHEC (enterohemorrhagic E. coli), ETEC (enterotoxigenic E. coli), EPEC (enteropathogenic E. coli), EIEC (enteroinvasive E. coli), EAEC (enteroadherent E. coli), and EAggEC (enteroaggregative E. coli). Symptoms may vary depending on the strain the individual contracts. Infection is spread generally through contaminated food or drink.
Food Poisoning
Food poisoning is common but can also be life-threatening. Food poisoning symptoms include stomach cramps, diarrhea, and vomiting. Read about different types of food poisoning, treatment, and tips for prevention.Food Poisoning Quiz
What causes food poisoning? Can it be prevented? Take this quiz to learn about food safety and how to guard yourself against food poisoning.Portion Distortion Quiz
Are your portions deceiving you? Take the Food Portion Distortion Quiz to find out how and why gigantic portions trick you into eating more than reasonable amounts of food!Mono (Infectious Mononucleosis)
Infectious mononucleosis is a virus infection in which there is an increase of white blood cells that are mononuclear (with a single nucleus) "Mono" and "kissing disease" are popular terms for this very common illness caused by the Epstein-Barr virus (EBV).Is E. coli Contagious?
E. coli is an infection found worldwide. There are several subtypes of the E. coli species. E. coli spreads from person to person via contaminated food or water. Symptoms and signs of E. coli infection include diarrhea, stomach cramps, and sometimes fever. Antibiotics treat E. coli infection.Is Salmonella Contagious?
Salmonella is a bacteria that can cause a variety of diseases. Salmonella can be transmitted via direct and indirect contact. Salmonellosis typically lasts for 3-5 days and resolves on its own. Supportive care to prevent dehydration due to nausea and vomiting is usually the only treatment.Salmonella Food Poisoning
Salmonella infection (salmonellosis) is typically caused by the consumption of contaminated foods. Symptoms of salmonellosis include fever, vomiting, diarrhea, and abdominal pain. Salmonellosis typically resolves on its own in four to seven days. It's important to increase one's fluid intake to compensate for the fluid lost by vomiting and/or diarrhea.Salmonella Food Poisoning Treatment, Symptoms
What is Salmonella? What are the best treatments for Salmonella, and what are its symptoms? From food poisoning to typhoid fever, learn about this common pathogen. Discover how to prepare food without Salmonella risk, and what to do if you get a Salmonella infection.Stomach Flu vs. Food Poisoning
The stomach flu (viral gastroenteritis) and food poisoning are not the same infections. However, they do have a few similar symptoms, for example:
- Nausea
- Vomiting
- Diarrhea
- Fever
- Abdominal (stomach) pain and cramping.
Symptoms and signs of food poisoning show up earlier (2 hours up to a couple of days) in comparison to the stomach flu in which symptoms may take 4 hours up to 48 hours (2 days) before symptoms begin. Medical treatment for the stomach flu and food poisoning generally is not necessary. A bland diet, drinking plenty of fluids, and rest may be the only treatment necessary.
What Happens If You Get Salmonella?
What happens if you get salmonella? Most kinds of salmonella bacteria cause an illness called salmonellosis. Learn about this infection and how you can reduce your risk of contracting it.