Community-acquired infections
Community-acquired infections are infections you catch in everyday life, at home, school, work or in public, rather than in a hospital or other health care setting.
Clinician view: includes diagnostic criteria, management and safety detail.

Overview
A community-acquired infection is any infection you pick up in your day-to-day life: at home, at school, at work, while travelling, or out in public. Doctors use this term to set these infections apart from health care-associated infections (sometimes called hospital-acquired or nosocomial infections), which people catch while staying in a hospital, nursing home or other care facility.
This is not one single disease. It is a way of grouping infections by where they were caught. That matters because the germs (microbes such as bacteria, viruses and fungi) found in the community are often different from those found in hospitals. Germs in hospitals are more likely to be resistant to antibiotics, which means some medicines no longer work well against them. Knowing where an infection started helps your health care team guess which germ is most likely causing it and choose the right treatment, often before test results come back.
An infection is usually counted as community-acquired if it started outside a health care facility, or within the first two days of a hospital stay, and you had not recently been treated in a hospital or care home.
Most community-acquired infections are common and mild, like colds or a sore throat, and get better on their own. Some, such as pneumonia or a kidney infection, can be serious and need prompt medical care.
Common types
Many everyday infections fall into this group. Some of the most common are:
- Respiratory infections: colds, flu (influenza), COVID-19, sinus infections, strep throat, bronchitis and community-acquired pneumonia, an infection of the lungs caught outside of hospital. Pneumonia is one of the most important community-acquired infections because it can become serious, especially in older adults.
- Urinary tract infections (UTIs): infections of the bladder (cystitis) or kidneys (pyelonephritis). These are especially common in women.
- Skin and soft tissue infections: such as cellulitis (a spreading infection of the skin and the tissue under it), impetigo, boils and abscesses (pockets of pus). Some of these are caused by a type of staph bacteria called community-associated MRSA, which resists some common antibiotics.
- Gut infections (gastroenteritis): "stomach bugs" and food poisoning caused by viruses like norovirus or bacteria like Salmonella and Campylobacter.
- Ear and eye infections: such as middle ear infections in children and pink eye (conjunctivitis).
- Sexually transmitted infections: such as chlamydia and gonorrhea.
- Less common but serious infections: such as meningitis (infection of the lining around the brain and spinal cord) and sepsis that starts from an infection caught in the community.
Symptoms
Symptoms depend on which part of the body is infected. Many infections share some general signs, such as:
- Fever, chills or sweats
- Feeling tired, achy or generally unwell
- Loss of appetite
Other symptoms point to where the infection is:
- Lungs or airways: cough, phlegm (mucus), shortness of breath, chest pain when breathing, sore throat or a stuffy nose.
- Urinary tract: burning when you pee, needing to pee often or urgently, cloudy or bloody urine, or pain low in the belly. Pain in the back or side with fever can mean the kidneys are involved.
- Skin: redness, warmth, swelling and pain that may spread, or a tender lump filled with pus.
- Gut: diarrhea, nausea, vomiting and stomach cramps.
Older adults may not have a fever. Instead, they might seem confused, sleepy, weak or more likely to fall. Babies and young children may be fussy, feed poorly or be unusually drowsy.
Causes and how they spread
Community-acquired infections are caused by viruses, bacteria, and less often fungi or parasites. Common causes include:
- Viruses, such as influenza, respiratory syncytial virus (RSV), the virus that causes COVID-19, rhinoviruses (colds) and norovirus.
- Bacteria, such as Streptococcus pneumoniae (a leading cause of pneumonia), group A strep (strep throat), Staphylococcus aureus (skin infections) and E. coli (most UTIs).
Germs spread in several ways:
- Through droplets or tiny particles in the air when someone coughs, sneezes or talks.
- By touching people, or surfaces like door handles and phones, and then touching your eyes, nose or mouth.
- Through food or water that has been contaminated.
- Through sexual contact.
- From germs that normally live harmlessly on your own skin or in your gut, which can cause infection when they get into the wrong place, such as a cut or the bladder.
Risk factors
Anyone can get a community-acquired infection. You may be more likely to get one, or to get very sick from one, if you:
- Are a young child or an adult over 65
- Have a long-term health condition such as diabetes, heart disease, lung disease (like COPD or asthma), kidney disease or liver disease
- Have a weakened immune system (the body's defence system) from illness or from medicines such as chemotherapy or steroids
- Smoke or drink a lot of alcohol
- Are pregnant
- Live or spend time in crowded places, such as child care centres, shelters, dormitories or military barracks
- Play contact sports or share personal items like towels and razors (for skin infections)
- Are not up to date with recommended vaccines
Diagnosis
Your health care provider will ask about your symptoms, when they started, any recent travel, and whether you have been in a hospital or care home lately. They will also examine you. For many mild infections, this is all that is needed.
Depending on your symptoms, tests may include:
- Swab tests of the nose or throat to check for viruses like flu or COVID-19, or for strep throat
- Urine tests to look for signs of infection and to grow (culture) the bacteria
- Blood tests to check for signs of infection or inflammation, and blood cultures if a serious infection is suspected
- A chest X-ray if pneumonia is suspected
- A stool (poop) sample for some cases of diarrhea
- A sample of pus or fluid from a wound or abscess
A culture can show which germ is causing the infection and which antibiotics will work against it.
Treatment
Treatment depends on the type of germ, where the infection is, and how sick you are.
Viral infections
Antibiotics do not work against viruses. Most viral infections, like colds, get better on their own with rest and fluids. For some, like flu or COVID-19, antiviral medicines such as oseltamivir (for flu) or nirmatrelvir with ritonavir (for COVID-19) may help, especially for people at higher risk if started early.
Bacterial infections
Bacterial infections may need antibiotics. Because community germs are usually less resistant than hospital germs, common antibiotics often work well. Examples include:
- amoxicillin, a penicillin-type antibiotic used for many chest, ear and throat infections
- doxycycline or azithromycin, which may be used for some chest infections
- cefpodoxime and other cephalosporins, which treat a range of infections, including some chest and urinary infections
- nitrofurantoin, often used for bladder infections
- cephalexin, often used for skin infections
Your provider will choose the medicine based on your infection, your allergies, your other health conditions and local resistance patterns. Take antibiotics exactly as prescribed, and talk to your provider before stopping early, even if you feel better.
Other treatments
- An abscess may need to be drained by a health care provider.
- For diarrhea and vomiting, drinking enough fluids (or using oral rehydration solutions) is the most important treatment.
- Serious infections, like severe pneumonia, may need care in hospital with antibiotics given through a vein (IV), oxygen or extra fluids.
Self-care
While you recover:
- Rest and drink plenty of fluids.
- Use acetaminophen or ibuprofen to ease fever and aches, if these are safe for you. Check with a pharmacist if you have other health conditions or take other medicines.
- Stay home from work or school while you have a fever, or until your provider says it is safe to return, to avoid spreading the infection.
- Cover coughs and sneezes, and wash your hands often.
- Keep any skin wounds clean and covered.
- Watch your symptoms. If they get worse or do not start to improve within a few days, contact your provider.
Complications
Most community-acquired infections clear up without problems. Sometimes, an infection can spread or become severe. Possible complications include:
- Sepsis: a life-threatening reaction where the body's response to infection damages its own organs. It needs emergency treatment.
- Spread of infection, for example from the bladder to the kidneys, or from the skin into the blood or bones.
- Dehydration from vomiting and diarrhea, especially in babies and older adults.
- Worsening of long-term conditions, such as heart failure, COPD or diabetes.
Outlook
The outlook is usually very good. Most people recover fully, often within a few days to a couple of weeks. People who are older or who have other health problems may take longer to recover and are more likely to need hospital care. Getting help early for serious symptoms improves the chances of a good recovery.
Prevention
You can lower your risk of catching and spreading infections:
- Wash your hands often with soap and water, or use an alcohol-based hand sanitizer, especially before eating and after using the toilet.
- Get vaccinated. Vaccines protect against flu, COVID-19, pneumococcal disease (a common cause of pneumonia), whooping cough, measles, RSV for some groups, and more. Ask your provider which vaccines are right for you.
- Handle food safely: cook meat well, keep raw and cooked foods apart, and refrigerate leftovers promptly.
- Cover coughs and sneezes and stay home when you are sick.
- Don't share personal items like towels, razors or sports gear.
- Practise safer sex, including using condoms.
- Don't smoke, and manage long-term conditions like diabetes well.
- Use antibiotics only when needed. Taking them for viral infections does not help and adds to antibiotic resistance.
In Canada
Vaccine recommendations for Canada are set by the National Advisory Committee on Immunization (NACI) and published in the Canadian Immunization Guide; publicly funded vaccines vary by province and territory. Community-associated MRSA rates are higher in some northern and Indigenous communities, so local antibiograms should guide empirical therapy.
Definition and epidemiology
Community-acquired (community-onset) infection: onset outside a health care facility or within 48 hours of admission, in a patient without recent health care exposure (e.g. hospitalisation, residence in long-term care, dialysis or IV therapy). Distinguishing community from health care-associated infection guides empirical therapy, as community isolates usually carry less resistance; however, community-associated MRSA, ESBL-producing Enterobacterales in UTI, and macrolide-resistant S. pneumoniae are increasingly seen. Use local antibiograms.
Assessment
- Identify the source (respiratory, urinary, skin/soft tissue, gastrointestinal, CNS) and severity. Screen for sepsis using vital signs and an early warning score (e.g. NEWS2); do not rely on qSOFA alone as a screening tool (Surviving Sepsis Campaign 2021). Measure lactate when sepsis is suspected.
- Document risk factors for resistant organisms: antibiotic use or hospitalisation in the past 90 days, prior MRSA or Pseudomonas isolation, travel to high-prevalence regions.
- Obtain cultures before antibiotics where feasible in moderate to severe illness (blood, urine, sputum, wound/abscess fluid). Use point-of-care or PCR testing for influenza, SARS-CoV-2 and group A strep when results would change management.
- For CAP, chest radiography confirms diagnosis; use CURB-65 or PSI to guide site of care.
Management
- CAP: follow ATS/IDSA 2019 guidance. Healthy outpatients: amoxicillin, or doxycycline (macrolide only where pneumococcal macrolide resistance is under 25%). With comorbidities: amoxicillin-clavulanate or a cephalosporin (e.g. cefpodoxime) plus a macrolide or doxycycline, or a respiratory fluoroquinolone. Treat for a minimum of 5 days with clinical stability.
- Uncomplicated cystitis: nitrofurantoin, fosfomycin, or trimethoprim-sulfamethoxazole where local resistance is low (IDSA, NICE NG109). Nitrofurantoin and fosfomycin do not reach adequate kidney tissue levels and should not be used for pyelonephritis; send urine culture and use an agent with renal tissue penetration (e.g. a cephalosporin, trimethoprim-sulfamethoxazole or a fluoroquinolone guided by susceptibility and local resistance).
- Skin and soft tissue: non-purulent cellulitis is mainly streptococcal (cephalexin); purulent infections require incision and drainage, with MRSA-active therapy (trimethoprim-sulfamethoxazole, doxycycline) when antibiotics are indicated (IDSA 2014).
- Sepsis: give antimicrobials within 1 hour for possible septic shock or a high likelihood of sepsis (Surviving Sepsis Campaign 2021), with fluid resuscitation and source control.
Practise antimicrobial stewardship: avoid antibiotics for viral illness, use the narrowest effective agent and shortest effective duration, and de-escalate on culture results. Fluoroquinolones carry warnings for tendinopathy, aortic aneurysm, QT prolongation, dysglycaemia and C. difficile risk; reserve them where alternatives exist. Check penicillin allergy history carefully, as most labels are not true allergy.
Follow-up and prevention
Reassess at 48 to 72 hours; lack of improvement should prompt review of diagnosis, resistance, complications (empyema, abscess) or non-adherence. Promote vaccination (influenza, pneumococcal, COVID-19, RSV for eligible older adults and in pregnancy, pertussis) per national schedules.
When to get medical help
Contact your health care provider if you:
- Have a fever that lasts more than 2 to 3 days, or keeps coming back
- Have symptoms that are getting worse, or not improving after a few days
- Have burning when you pee, or pain in your side or back with a fever
- Have skin redness, swelling or pain that is spreading
- Have a long-term health condition or weakened immune system and feel unwell
- Have diarrhea that lasts more than a few days, or blood in your stool
Go to the emergency department or call emergency services right away if you or someone you care for has:
- Trouble breathing, or lips or face turning blue or grey
- New confusion, extreme sleepiness or being hard to wake
- Very fast breathing or heartbeat, cold or clammy skin, or feeling like you might pass out
- A stiff neck with fever, severe headache, or a rash that does not fade when pressed
- Signs of severe dehydration, such as not peeing for many hours
- A baby under 3 months with a fever
In an emergency, call 911.
References
- U.S. National Library of Medicine. MeSH: Community-Acquired Infections. meshb.nlm.nih.gov
- MedlinePlus: Bacterial Infections. medlineplus.gov/bacterialinfections.html
- MedlinePlus: Pneumonia. medlineplus.gov/pneumonia.html
- CDC: Antibiotic Prescribing and Use. cdc.gov/antibiotic-use/index.html
- ATS/IDSA: Diagnosis and Treatment of Adults with Community-acquired Pneumonia (2019). doi.org/10.1164/rccm.201908-1581ST