Bacterial infections
Bacterial infections are illnesses caused by harmful bacteria growing in the body, ranging from mild skin or throat infections to serious conditions such as pneumonia, meningitis and sepsis.

Overview
A bacterial infection happens when harmful bacteria get into your body, multiply and cause illness. Bacteria are tiny living things made of a single cell. They are everywhere: in soil, water, food and on and inside your body. Most of them are harmless, and many are helpful. The bacteria in your gut, for example, help you digest food and protect you from germs that cause disease.
Only a small number of bacteria cause disease. Doctors call these pathogens. Some are always harmful when they get in. Others live quietly on your skin or in your nose or gut and only cause trouble when they reach a part of the body where they don't belong, such as through a cut, into the bladder or into the blood.
Bacterial infections can be very mild, like a small infected cut, or life-threatening, like infection of the blood or the lining of the brain. Many clear up with the right treatment. The main medicines used are antibiotics, which kill bacteria or stop them from growing. Antibiotics do not work against viruses, such as those that cause colds and flu, which is one reason it matters to know whether an infection is bacterial.
This page gives an overview of the whole group. Each type of infection has its own causes, signs and treatment, and we have separate pages on many of them.
Main types
Bacterial infections can affect almost any part of the body. Doctors group them in different ways: by the part of the body affected, by how they spread, or by the type of bacteria. Some common groups are:
- Skin infections (bacterial skin diseases): such as impetigo, cellulitis (infection of the deeper skin layers), boils and infected wounds.
- Lung infections: bacterial pneumonia, an infection of the small air sacs in the lungs, and some cases of bronchitis.
- Ear, nose and throat infections: such as strep throat and some ear and sinus infections.
- Urinary tract infections: infections of the bladder or kidneys.
- Eye infections (bacterial eye infections): such as some types of pink eye (conjunctivitis).
- Gut infections: food poisoning caused by bacteria such as Salmonella, Campylobacter or some types of E. coli.
- Sexually transmitted infections: such as chlamydia, gonorrhea and syphilis.
- Bacterial vaginosis: an imbalance of the normal bacteria in the vagina.
- Infections of the brain and nerves (central nervous system bacterial infections): such as bacterial meningitis, an infection of the protective layers around the brain and spinal cord.
- Blood and heart infections: bacteremia (bacteria in the blood) and bacterial endocarditis (infection of the inner lining or valves of the heart).
- Infections spread from animals (bacterial zoonoses): such as Lyme disease from ticks, and infections from animal bites.
- Severe tissue infections: rare but serious infections that destroy tissue, such as Fournier gangrene, which affects the genital area.
Gram-positive and gram-negative bacteria
Doctors often sort bacteria using a lab test called a Gram stain. Bacteria that turn purple are called gram-positive (for example, Staphylococcus and Streptococcus). Those that turn pink are gram-negative (for example, E. coli and Pseudomonas). The difference reflects the structure of the bacteria's outer wall, and it helps doctors choose which antibiotic is most likely to work.
Symptoms
Symptoms depend on where the infection is. Many bacterial infections cause:
- Fever or chills
- Feeling tired, weak or generally unwell
- Pain, redness, warmth or swelling in one area
- Pus, or discharge from a wound, eye, ear or the genitals
Some examples of symptoms linked to a specific area:
- Lungs: cough with coloured mucus, shortness of breath, chest pain when you breathe in.
- Bladder or kidneys: burning when you pee, needing to pee often, cloudy urine, or pain in your side or back.
- Throat: a very sore throat, pain when swallowing and swollen glands in the neck.
- Gut: diarrhea (sometimes with blood), stomach cramps and vomiting.
- Skin: a red, swollen, painful area that may spread, or a sore with pus or crusting.
- Brain and spinal cord: severe headache, stiff neck, sensitivity to light, confusion or a rash.
Some infections, including chlamydia and gonorrhea, often cause no symptoms at all, especially early on. This is why testing matters if you may have been exposed.
Babies, older adults and people with weak immune systems may not get a fever. Instead they may seem confused, sleepy, floppy or just "not themselves".
Causes and how they spread
Harmful bacteria can get into your body in several ways:
- Through breaks in the skin: cuts, scrapes, burns, bites, surgical wounds or skin damaged by eczema.
- Through the air: when an infected person coughs, sneezes or talks, as with whooping cough or tuberculosis.
- Through food and water: undercooked meat, eggs, unpasteurized milk, unwashed produce or unsafe water.
- By close contact: touching an infected person, or sharing towels or razors.
- Through sex: sexually transmitted bacteria spread through vaginal, anal or oral sex.
- From animals and insects: tick bites, animal bites or scratches, or contact with animals and their waste.
- From your own body: bacteria that normally live harmlessly on your skin or in your gut can cause infection if they move to another part of the body, for example from the bowel to the bladder.
- From medical devices: urinary catheters, intravenous (IV) lines and artificial joints or heart valves can give bacteria a way in or a surface to grow on.
Sometimes a bacterial infection follows a viral one. For example, a cold or flu can sometimes lead to a bacterial ear infection, sinus infection or pneumonia.
Risk factors
Anyone can get a bacterial infection, but some things raise your chances of getting one or of it becoming serious:
- Being very young or older (over about 65)
- A weakened immune system, for example from cancer treatment, HIV, an organ transplant or medicines that suppress the immune system
- Long-term conditions such as diabetes, kidney disease, liver disease, lung disease or heart disease
- Not having a working spleen
- Recent surgery, a hospital stay, or having a catheter or IV line
- Wounds, burns, or skin problems that break the skin
- Smoking, heavy alcohol use, or injecting drugs
- Not being up to date with vaccines
- Crowded living conditions
Diagnosis
Your doctor or nurse will ask about your symptoms and examine you. Many common infections, such as impetigo or a simple bladder infection, can often be diagnosed this way. When more information is needed, tests may include:
- Swabs: a soft-tipped stick is rubbed on the throat, a wound, the eye or the genitals to collect a sample.
- Urine test: to look for signs of infection and grow any bacteria present.
- Blood tests: to look for signs of infection and inflammation, and blood cultures to check for bacteria in the blood.
- Culture and sensitivity testing: the lab grows the bacteria from a sample to find out which type it is and which antibiotics will work against it. Results usually take a day or more.
- Rapid tests: such as a quick strep test, or molecular tests that detect the genetic material of bacteria.
- Imaging: a chest X-ray for pneumonia, or an ultrasound or CT scan to look for a pocket of pus (abscess).
- Lumbar puncture (spinal tap): a small sample of the fluid around the spinal cord, if meningitis is possible.
These tests also help tell bacterial infections apart from viral ones, which look similar but do not need antibiotics.
Treatment
Treatment depends on the type of bacteria, where the infection is and how sick you are. Some mild infections clear up on their own. Others need antibiotics, and some need care in hospital.
Antibiotics
Antibiotics can be taken as pills or liquids, put on the skin or in the eye as creams or drops, or given into a vein (intravenously) for more serious infections. There are many groups of antibiotics, and each works against certain bacteria. Some examples:
- Penicillins, such as penicillin V and amoxicillin, are often used for strep throat and some skin and chest infections.
- Macrolides, such as azithromycin, are used for some chest infections and for chlamydia. They are an option for some people who are allergic to penicillin.
- Tetracyclines, such as doxycycline and tetracycline, are used for some chest and skin infections, Lyme disease and some sexually transmitted infections. Omadacycline is a newer medicine in this group.
- Cephalosporins, such as cephalexin and ceftriaxone, treat a wide range of infections. Cefiderocol is a newer one kept for hard-to-treat gram-negative infections.
- Fluoroquinolones, such as ciprofloxacin and delafloxacin, are used for certain infections when other choices aren't suitable, because they can have serious side effects.
- Carbapenems, such as imipenem (given with cilastatin) and meropenem (sometimes given with vaborbactam), are strong hospital antibiotics for severe or resistant infections.
Sometimes your doctor will start a "broad" antibiotic that covers many bacteria, then switch to a more targeted one once test results come back.
Other treatments
- Draining pus: an abscess often needs to be opened and drained. For some small abscesses, this may be all that is needed.
- Surgery: to remove dead or badly infected tissue, or an infected device.
- Supportive care: fluids, oxygen, and medicines for pain and fever. Severe infections may need intensive care.
- Treating partners: for sexually transmitted infections, sexual partners usually need testing and treatment too.
Taking antibiotics safely
- Take your antibiotic exactly as prescribed, for as long as your clinician tells you. Don't stop early or change how you take it without checking first.
- Don't save leftover antibiotics or share them with others.
- Tell your clinician about any allergies, other medicines, and if you are pregnant or breastfeeding.
- Common side effects include upset stomach and diarrhea. Get help if you have a rash, swelling of the face or throat, trouble breathing, or severe or bloody diarrhea.
Antibiotic resistance
Bacteria can change over time so that antibiotics no longer work against them. This is called antibiotic resistance (or antimicrobial resistance). Resistant bacteria, such as MRSA (methicillin-resistant Staphylococcus aureus), are harder to treat and may need stronger medicines, longer treatment or a hospital stay.
Every time antibiotics are used, resistant bacteria have a chance to survive and spread. Using antibiotics only when they are needed, and using the right one, helps keep them working for everyone. That is why your clinician may not prescribe an antibiotic for a cold, most sore throats or most coughs, which are usually caused by viruses.
Self-care and recovery
- Rest and drink plenty of fluids, especially if you have a fever or diarrhea.
- Medicines such as acetaminophen (paracetamol) or ibuprofen can ease pain and fever, if they are safe for you.
- Keep wounds clean and covered, and change dressings as advised.
- Wash your hands often, and don't share towels, razors or cups while you are infected.
- Stay home from work, school or child care if your clinician advises it, to avoid spreading the infection.
- Go back to your clinician if you are not starting to improve within 2 to 3 days of starting treatment, or if you get worse at any point.
Complications
Most bacterial infections get better without lasting problems, especially when treated early. But some can spread or cause damage, including:
- Sepsis: a dangerous reaction in which the body's response to infection starts to harm its own organs. Sepsis is a medical emergency.
- Spread of infection to the blood, bones, joints, heart valves or brain
- Abscesses that need draining
- Lasting damage, such as hearing loss after meningitis, or infertility after untreated chlamydia or gonorrhea
- Problems linked to antibiotics, such as allergic reactions or Clostridioides difficile (C. diff), a gut infection that can cause severe diarrhea
Outlook
The outlook depends on the type of infection, how quickly it is treated and your general health. Most common bacterial infections, such as strep throat, impetigo and bladder infections, get better within days to a couple of weeks with the right care. Serious infections, such as meningitis, endocarditis and sepsis, can be life-threatening and need fast treatment in hospital. Getting help early makes a real difference.
Prevention
- Wash your hands with soap and water, especially before eating or preparing food, and after using the toilet, changing diapers or touching animals.
- Get vaccinated: vaccines protect against several bacterial diseases, including whooping cough (pertussis), tetanus, diphtheria, pneumococcal disease, meningococcal disease and Haemophilus influenzae type b (Hib). Ask which ones you and your family need.
- Handle food safely: cook meat and eggs well, keep raw and cooked foods apart, refrigerate leftovers promptly and avoid unpasteurized milk.
- Care for wounds: clean cuts and scrapes and keep them covered until healed.
- Practise safer sex: use condoms and get tested regularly if you are at risk.
- Protect against ticks: use insect repellent, wear long sleeves and pants outdoors, and check your body for ticks.
- Manage long-term conditions such as diabetes, and don't smoke.
- Use antibiotics wisely: only when prescribed for you, and as directed.
In the United States
In the USA, the Centers for Disease Control and Prevention (CDC) tracks antibiotic resistance and publishes treatment guidelines for sexually transmitted infections. Certain bacterial infections are nationally notifiable and are reported through state and local health departments. Vaccines recommended by the Advisory Committee on Immunization Practices (ACIP) are covered for children through the Vaccines for Children program and by most insurance plans.
When to get medical help
See a doctor or nurse if you have:
- A fever that lasts more than 2 to 3 days, or keeps coming back
- A wound or area of skin that is getting more red, swollen, warm or painful, or is leaking pus
- Burning or pain when you pee, or pain in your side or back
- A sore throat with fever and no cough, or a cough that brings up coloured mucus and is not improving
- Unusual discharge from the genitals, or a possible exposure to a sexually transmitted infection
- No improvement within 2 to 3 days of starting an antibiotic, or a rash or other side effects
Call emergency services or go to the nearest emergency department if you or someone else has:
- Confusion, slurred speech, or is very hard to wake
- Fast or difficult breathing
- A severe headache with a stiff neck, sensitivity to light, or a rash that does not fade when pressed with a glass
- Skin that is pale, blotchy, bluish or cold, or a very fast heartbeat
- Very little or no urine for a day
- A red, painful area of skin that is spreading quickly, or pain that seems much worse than the skin looks
- Swelling of the face, lips or throat, or trouble breathing after taking an antibiotic
- A baby under 3 months with a fever, or a baby or child who is floppy, not feeding or unusually sleepy
These can be signs of sepsis, meningitis or another serious infection that needs treatment right away.
In an emergency, call 911.
References
- U.S. National Library of Medicine. MeSH: Bacterial Infections. meshb.nlm.nih.gov
- MedlinePlus: Bacterial Infections. medlineplus.gov/bacterialinfections.html
- CDC: Antibiotic Prescribing and Use. cdc.gov/antibiotic-use/index.html
- CDC: Sepsis. cdc.gov/sepsis/index.html
- WHO: Antimicrobial resistance fact sheet. who.int/news-room/fact-sheets/detail/antimicrobial-resistance