JCI-accredited · 45+ hospitals & clinics · 90+ countries served · 24/7 multilingual support
Medications

Cephalexin 500 MG Capsule: Uses, Dosage, and Side Effects — A Clinical Overview

9 min read Published July 28, 2026
Hospital corridor with medical staff and patients waiting and talking.
Quick answer

Cephalexin 500 mg capsule is an antibiotic used for selected bacterial infections, not viral infections. Common side effects include nausea, diarrhea, stomach discomfort, and rash.

Key Takeaways

  • Cephalexin 500 mg capsule is an antibiotic used for selected bacterial infections, not viral infections.
  • Common side effects include nausea, diarrhea, stomach discomfort, and rash.
  • People with a history of allergy to cephalexin, cephalosporins, or some penicillins need medical review before use.
  • Drug interactions and kidney function can affect how cephalexin is prescribed and monitored.
  • A doctor should be contacted promptly for severe diarrhea, signs of allergy, or if symptoms do not improve.

Medically reviewed by the Acıbadem International Medical Board — July 28, 2026

Dr. Bahadır Kaynarkaya, MD Dr. Mohamed Al-Qadi, MD Dr. Şule Eren, MD Dr. Tarek Arafat, MD

Cephalexin 500 mg capsule is a prescription cephalosporin antibiotic used to treat certain bacterial infections. It does not treat viral illnesses such as colds or flu, and questions about the right dose or duration should always be directed to a qualified clinician.

Overview: what cephalexin 500 mg capsule is used for

Cephalexin 500 mg capsule is a prescription antibiotic in the cephalosporin class. It is used to treat certain bacterial infections by interfering with bacterial cell wall formation. In practical terms, it may be prescribed for infections affecting the skin, throat, respiratory tract, ear, urinary tract, bones, or other areas when the suspected or confirmed cause is a susceptible bacterium.

This medicine is not effective against viruses. That means it should not be used for common viral illnesses such as colds, most sore throats caused by viruses, or influenza. Using antibiotics when they are not needed can contribute to antibiotic resistance, making future bacterial infections harder to treat.

The exact reason for prescribing cephalexin depends on a person’s symptoms, examination findings, health history, and sometimes culture results. A clinician may also compare it with other antibiotic options depending on allergy history, local resistance patterns, and the likely site of infection.

How it works and which infections it may treat

Medical professionals monitoring heart activity in a hospital setting.

Cephalexin belongs to the first-generation cephalosporin group of antibiotics. It works against a range of bacteria that commonly cause community-acquired infections. It is often considered when a clinician suspects a mild to moderate bacterial infection that is likely to respond to this class of medicine.

Examples of conditions for which cephalexin may be used include uncomplicated skin and soft tissue infections, some urinary tract infections, and certain upper respiratory tract or ear infections. If a skin infection is being evaluated, a doctor may also consider related conditions such as cellulitis when deciding whether an oral antibiotic is appropriate.

Cephalexin is only one part of treatment planning. The doctor may decide that testing, wound care, drainage, hydration, or a different antibiotic is more suitable depending on the source and severity of infection. In some cases, formal antibiotic treatment planning is guided by culture results or specialist review.

Important label information about dosage and how to take it

Doctor explaining medication to patient in clinic setting.

Cephalexin should be taken exactly as prescribed on the label. The correct dose, timing, and length of treatment vary based on the infection being treated, age, kidney function, and other individual medical factors. For safety, dosing questions should be discussed directly with a pharmacist or prescribing clinician rather than estimated from general online advice.

Some people are instructed to take cephalexin with or without food depending on tolerance, but if stomach upset occurs, taking it with food may help unless a clinician advises otherwise. It is important not to skip doses and not to stop the antibiotic early unless the prescriber says to do so, because incomplete treatment can reduce effectiveness and contribute to recurrence.

If a dose is missed, the patient should follow the instructions provided with the prescription or ask a pharmacist for guidance. Doubling up without advice is generally not recommended. Safe use also includes checking the label carefully for strength and formulation, since capsules, suspensions, and other products may not be interchangeable in the same way.

Common side effects and possible serious reactions

Like many antibiotics, cephalexin can cause digestive side effects. Commonly reported effects include nausea, vomiting, diarrhea, stomach discomfort, indigestion, and sometimes a mild skin rash. Some people also notice headache, dizziness, or vaginal yeast overgrowth after antibiotic use.

Most mild side effects improve after the medicine is stopped, but persistent or bothersome symptoms should be discussed with a clinician. Diarrhea deserves special attention because antibiotics can sometimes disturb the natural balance of bacteria in the gut. Severe, ongoing, or bloody diarrhea should not be ignored.

Although uncommon, allergic reactions can occur. Warning signs include hives, swelling of the lips or face, wheezing, trouble breathing, or a widespread rash. Rare but serious skin reactions are also possible. These reactions need urgent medical attention rather than watchful waiting.

  • Common: nausea, diarrhea, abdominal discomfort, rash
  • Less common: vomiting, dizziness, headache, yeast infection symptoms
  • Urgent concerns: facial swelling, breathing difficulty, severe rash, severe or bloody diarrhea

Who should use caution: allergies, interactions, and contraindications

Cephalexin is contraindicated in people with a known serious hypersensitivity to cephalexin or other cephalosporin antibiotics. A history of allergy to penicillin does not always rule out cephalexin, but it is an important part of prescribing because some people may have cross-reactivity. A doctor will weigh the type of past reaction before deciding if cephalexin is suitable.

Kidney function matters because cephalexin is cleared from the body largely through the kidneys. People with kidney disease may need closer supervision or dose adjustment by their clinician. Additional caution may also be needed in those with a history of antibiotic-associated colitis or severe gastrointestinal illness.

Drug interactions are another important review point. Medicines that can affect kidney function, as well as certain laboratory tests, may be relevant. Cephalexin may interact with medicines such as metformin or probenecid in ways that require clinical attention. Patients should share a full list of prescription medicines, over-the-counter products, and supplements before starting treatment.

How doctors decide if cephalexin is the right choice

Choosing an antibiotic is not only about the name of the infection. A clinician looks at the likely bacteria, severity of symptoms, prior antibiotic exposure, allergies, pregnancy status, kidney function, and whether the person can safely take oral medication. This approach helps avoid unnecessary antibiotic use and improves the chance of effective treatment.

In some situations, physical examination alone may be enough to start treatment. In others, tests such as throat swabs, urine testing, or bacterial cultures can guide therapy more precisely. If a deeper infection is suspected, further evaluation may be needed before deciding on cephalexin or an alternative treatment.

When symptoms point to a condition that may need more than routine outpatient antibiotics, referral can be appropriate. Depending on the body system involved, clinicians may use imaging, laboratory testing, or specialist care to confirm the diagnosis and monitor response. For selected cases, a broader infectious disease assessment or infectious diseases consultation may be helpful.

Practical self-care while taking cephalexin

Antibiotics work best when they are taken as directed and paired with sensible supportive care. Rest, hydration, and attention to symptoms can make recovery more comfortable while the medicine treats the bacterial infection. Good hand hygiene and not sharing medicines are also important steps.

Patients should monitor how they feel over the first few days and keep track of any new rash, worsening pain, fever, or digestive symptoms. If cephalexin was prescribed for a skin infection, gentle skin care and following wound-care advice are just as important as taking the capsule. If it was prescribed for a urinary infection, adequate fluid intake may support overall comfort unless a clinician has advised fluid restriction.

It is best not to use leftover antibiotics or keep them for future illnesses. A similar symptom on another occasion may have a different cause. If symptoms return after treatment or keep recurring, the person may need reassessment for another diagnosis or a different treatment plan.

When to seek medical care

Medical advice should be sought promptly if symptoms are getting worse, not improving as expected, or returning soon after treatment. This is especially important if there is high fever, increasing redness or swelling, significant pain, shortness of breath, or signs that the infection may be spreading.

Urgent care is needed for symptoms of a serious allergic reaction, such as swelling of the face or throat, wheezing, faintness, or trouble breathing. Severe or persistent diarrhea, particularly if bloody or associated with abdominal cramping, also needs prompt evaluation because it can signal an antibiotic-related complication.

For people with complex health needs, clinician review is wise before starting or continuing any antibiotic. This includes pregnancy, kidney disease, older age with multiple medicines, or previous severe reactions to antibiotics. Near the end of the care pathway, patients seeking coordinated evaluation may find support from Acibadem International, where multidisciplinary specialists in JCI-accredited hospitals diagnose and treat infections and related conditions for international patients, including care linked to urology or other specialty services when needed.

Frequently asked questions

What is cephalexin 500 mg capsule mainly used for?

Cephalexin 500 mg capsule is mainly used to treat certain bacterial infections. These may include some skin, urinary tract, ear, throat, and respiratory infections, depending on the clinician’s assessment.

Does cephalexin treat colds, flu, or other viral infections?

No. Cephalexin is an antibiotic, so it does not work against viruses such as the common cold or influenza. Taking antibiotics when they are not needed can also contribute to antibiotic resistance.

What are the most common side effects of cephalexin?

Common side effects include nausea, diarrhea, stomach upset, vomiting, and rash. Many people tolerate the medicine well, but persistent or troublesome symptoms should be discussed with a doctor or pharmacist.

Can someone with a penicillin allergy take cephalexin?

Sometimes, but not always. Some people with penicillin allergy may also react to cephalosporins such as cephalexin, so the decision depends on the type and severity of the previous allergic reaction. A clinician should review this history before prescribing.

Are there important drug interactions with cephalexin?

Yes, there can be. Kidney-related medicines, probenecid, metformin, and some laboratory test situations may be relevant. Patients should tell their clinician about all prescription drugs, nonprescription medicines, and supplements they use.

When should a person call a doctor while taking cephalexin?

A doctor should be contacted if symptoms worsen, fail to improve, or return after treatment. Immediate medical care is needed for signs of allergy, trouble breathing, severe rash, or severe or bloody diarrhea.

This article is for general information only and is not a substitute for professional medical advice. Please consult a qualified doctor about your individual situation.

Add Acıbadem on Google

Add us as a Preferred Source to see more of our trusted health content across Google Search, AI Overviews and Discover.

Share this page
Was this content helpful?
Your feedback helps us improve.
Dr. Şule Eren
Dr. Şule Eren, MD
Author
View profile →
Keep Reading

More from the Health Library

We’re With You at Every Step

How can we help you today?

We value your privacy We use essential cookies to run this site and, with your consent, analytics cookies to understand how it is used and improve it. You can accept, reject, or choose what to allow. See our Cookie Policy.