Cephalexin is an antibiotic taken by mouth and it belongs to an older group of medicines called first-generation cephalosporins. People often come across cephalexin after an eyelid or skin infection near the eye, and they then want to know why a tablet or capsule was chosen over eye drops. Eye infections can affect very different parts of the eye and the eyelid, so the place where an infection sits has a large effect on whether a medicine that travels through the bloodstream is a sensible choice.
Cephalexin as a Medicine
The U.S. Food and Drug Administration approved cephalexin in 1970 and StatPearls classes it as a first-generation cephalosporin, so the drug has a long record of use for skin, throat, bone and urinary infections. Cephalexin has a beta-lactam ring (a chemical structure shared with penicillin) and this ring binds to proteins in the bacterial wall that are known as penicillin-binding proteins. The binding stops the bacteria from finishing the cross-links that hold their outer wall together, and the weakened bacterial cells then break down on their own.
Cephalexin tends to work well against a number of gram-positive bacteria that live on the skin, and these include many strains of Staphylococcus aureus and Streptococcus. The drug is absorbed from the gut into the blood and it reaches the soft tissues of the face and eyelids in that way, so the drug is able to act on infections in the skin and tissue around the eye in a way that eye drops will not.
Parts of the Eye That Infections Can Reach
Doctors in ophthalmology divide infections around the eye by the layer they affect, and a thin sheet of tissue (the orbital septum) that runs from the bony rim of the eye socket into the eyelid acts as the dividing line between two groups of infection. An infection in front of the septum stays in the eyelid skin and soft tissue and is called preseptal cellulitis (or periorbital cellulitis), and an infection behind the septum involves the fat and muscles around the eyeball and is called orbital cellulitis.
Infections of the surface of the eye are a separate group and these include conjunctivitis (infection of the clear lining over the white of the eye) and keratitis (infection of the cornea). Surface infections are usually handled with medicine placed directly on the eye, so an oral antibiotic such as cephalexin is not the usual focus in these cases.
Area of infection
Layer involved
Position relative to the septum
Conjunctivitis
Surface lining of the eye
On the eye surface and outside the septum layers
Keratitis
Cornea
On the clear front of the eye
Preseptal cellulitis
Eyelid skin and soft tissue
In front of the septum
Orbital cellulitis
Fat and muscles around the eyeball
Behind the septum
Contact our team
How can we help you? Share your contact details to prepare your request.
How can we help?
By submitting you confirm you have read the privacy information and consent to the processing of your personal data.
Cephalexin in Published Eyelid Infection Guidance
EyeWiki from the American Academy of Ophthalmology describes preseptal cellulitis as an infection of the eyelid and the skin around the eye that stays in front of the orbital septum, and it sets out the Chandler classification in which infections near the eye are grouped in stages that run from preseptal cellulitis through orbital cellulitis and collections of pus (abscesses) to clots in a nearby vein at the base of the brain. Doctors use this grouping as a shared language in order to describe how far an infection has reached, and the stage tends to be confirmed with an examination and in some people with a scan of the eye socket.
StatPearls lists infections of the skin and the tissue under it among the approved uses of cephalexin, and these infections are often caused by the same Staphylococcus and Streptococcus bacteria that are able to reach the eyelid skin through a small cut, an insect bite or a blocked gland. Choice of medicine and length of use depend on the age of the patient, the likely source of the bacteria and any allergies, so the ophthalmologic team and the prescribing doctor give advice that fits each person.
Research on Antibiotics for Styes
A stye (hordeolum) is a small infection of an oil gland at the edge of the eyelid, and people sometimes expect an oral antibiotic to be part of the plan for a stye. A Cochrane review on acute internal hordeolum published in 2017 searched for trials of common non-surgical approaches and found no studies that met its criteria, so the authors reported no evidence for or against antibiotics for this condition.
A separate Cochrane review from the same year looked at acupuncture for acute hordeolum and included six trials with about 531 participants in which acupuncture was compared with or added to standard care such as antibiotics and warm compresses, and the authors rated the certainty of that evidence as low. The gap in research means that decisions about antibiotics for styes rest mostly on clinical experience and on the doctor’s view of whether the infection has spread into the surrounding skin.
Penicillin Allergy and Cephalexin
Penicillin and cephalexin share the beta-lactam ring, so people with a penicillin allergy are often asked about earlier reactions before a cephalosporin is considered. An older figure of about 10% cross-reaction is still quoted in some places, and StatPearls states that the literature does not support that figure and that retrospective studies place the rate of reactions to cephalosporins after penicillin at around 1% to 3%.
Drug labeling and prescribing references advise caution with cephalexin in people who have had an immediate-type reaction to penicillin (such as hives, swelling or breathing trouble soon after a dose), and the U.S. prescribing label states that cephalexin should not be given to people with a known allergy to cephalosporins. The prescriber looks at the type of past reaction and the time when it happened in order to judge which antibiotic suits each patient.
Resistance and Responsible Antibiotic Use
Some strains of Staphylococcus aureus have become resistant to methicillin and the related beta-lactam drugs (MRSA), and cephalexin does not act on these strains. Doctors in an ophthalmological or emergency setting will take local patterns of resistance into account and they may choose a different antibiotic or add a second one when MRSA is a concern in the area.
Public health bodies such as the CDC point out that each course of antibiotics adds pressure on bacteria to develop resistance, so prescribers tend to keep antibiotics for infections where bacteria are the likely cause and where the drug is expected to reach the infected tissue. This approach is the reason that many mild cases of conjunctivitis are not given oral antibiotics at all, as a number of these infections are caused by viruses.
Frequently Asked Questions
Is cephalexin used as an eye drop?
Cephalexin is made as capsules, tablets and liquid taken by mouth, and it is not sold as an eye drop. Infections on the surface of the eye are usually handled with drops or ointments that contain other antibiotics, as these products put the medicine directly onto the eye.
Can cephalexin reach infections behind the eye?
Infections behind the orbital septum are classed as orbital cellulitis, and published guidance describes this condition as one that tends to need hospital care with antibiotics given into a vein. Oral cephalexin appears in guidance mainly for milder infections of the eyelid skin in front of the septum.
Does cephalexin work against viral conjunctivitis?
Antibiotics act on bacteria and they have no effect on viruses, so cephalexin is not expected to help conjunctivitis that is caused by a virus. Many cases of red, watery eyes come from viruses or allergies, and a doctor is able to judge the likely cause.
Are people with a penicillin allergy able to take cephalexin?
Current reviews place the cross-reaction rate between penicillin and cephalosporins at around 1% to 3%, and the type of past reaction is what matters most. People who have had a severe or immediate reaction to penicillin are generally not given cephalexin, so the prescriber reviews each allergy history.
Should a stye always be treated with antibiotics?
A 2017 Cochrane review found no trials that tested common non-surgical approaches for internal styes, including antibiotics. Doctors tend to decide case by case, often looking at whether the infection has spread beyond the eyelid gland into the nearby skin.
Speaking With an Eye Specialist
People who have questions about an eye or eyelid infection, or about an antibiotic they have been prescribed, can talk them through with an ophthalmology specialist or with the doctor who wrote the prescription, and anyone with eye changes that last should see a doctor. The specialist is able to explain which part of the eye is involved and how the chosen medicine fits that particular infection.
References
American Academy of Ophthalmology EyeWiki. Preseptal Cellulitis. https://eyewiki.aao.org/Preseptal_Cellulitis
U.S. National Library of Medicine DailyMed. Cephalexin capsules, prescribing information. https://dailymed.nlm.nih.gov/dailymed/search.cfm?query=cephalexin
Lindsley K, Nichols JJ, Dickersin K. Non-surgical interventions for acute internal hordeolum. Cochrane Database of Systematic Reviews. 2017. https://doi.org/10.1002/14651858.CD007742.pub4
Cheng K, Law A, Guo M, Wieland LS, Shen X, Lao L. Acupuncture for acute hordeolum. Cochrane Database of Systematic Reviews. 2017. https://doi.org/10.1002/14651858.CD011075.pub2
MSD Manual Professional Version. Preseptal and Orbital Cellulitis. https://www.msdmanuals.com/en-gb/professional/eye-disorders/orbital-diseases/preseptal-and-orbital-cellulitis