What is the difference between cefdinir and Keflex?
- Cefdinir and Keflex (cephalexin) are cephalosporin antibiotics used to treat a variety of infections.
- The brand name for cefdinir called Omnicef is discontinued in the U.S.
- Side effects of cefdinir and Keflex that are similar include diarrhea or loose stools, nausea, vomiting, abdominal pain, headache, vaginitis, skin rash, and rarely, abnormal liver tests.
- Side effects of cefdinir that are different from Keflex include vaginal yeast infection. Rare side effects of cefdinir include abnormal stool, constipation, and dry mouth.
- Side effects of Keflex that are different from cefdinir include dizziness or fever.
- Cefdinir and Keflex may cause pseudomembranous colitis (Clostridium difficile colitis), a potentially serious bacterial infection of the colon.
- Individuals who are allergic to the penicillin class of antibiotics may also be allergic to cefdinir or Keflex. Serious but rare allergic reactions include seizures, severe allergic reactions (anaphylaxis), and low platelet or red blood cell count.
What are cefdinir and Keflex?
Cefdinir and Keflex (cephalexin) are cephalosporin antibiotics used to treat infections caused by susceptible bacteria such as infections of the tonsils (tonsillitis), throat (strep throat), middle ear (otitis media), larynx (laryngitis), bronchi (bronchitis), lungs (pneumonia), sinuses (sinusitis), and skin and other soft tissues. Other cephalosporin antibiotics include cefuroxime (Zinacef), cefpodoxime (Vantin), cefaclor (Ceclor), cefixime (Suprax), and cefprozil (Cefzil).
What are the side effects of cefdinir and Keflex?
Cefdinir
- Cefdinir generally is well tolerated. The most common side effects are:
- Rare side effects include:
- Abnormal liver tests
- Allergic reactions
- Abnormal stool
- Constipation
- Dry mouth
- Cefdinir may cause false test results with some tests for sugar in the urine.
- Like most antibiotics, cefdinir may cause a condition called pseudomembranous colitis (Clostridium difficile colitis), a potentially serious bacterial infection of the colon. Patients who develop signs of pseudomembranous colitis after starting cefdinir (diarrhea, fever, abdominal pain, and possibly shock) should contact their doctor immediately.
- Persons who are allergic to the penicillin class of antibiotics, for example, amoxicillin, amoxicillin and clavulanic acid (Augmentin), which are related to cephalosporins, may or may not be allergic to cephalosporins.
Keflex
The most common side effects of cephalexin are:
- diarrhea,
- nausea,
- abdominal pain,
- vomiting,
- headaches,
- dizziness,
- skin rash,
- fever,
- abnormal liver tests, and
- vaginitis.
Individuals who are allergic to penicillin may also be allergic to cephalexin. Serious but rare reactions include seizures, severe allergic reactions (anaphylaxis), and low platelet or red blood cell count.
Cephalexin, like almost all antibiotics, may cause mild or severe cases of pseudomembranous colitis, a mild to severe inflammation of the colon. Antibiotics, including cephalexin alter the types of bacteria in the colon and permit overgrowth of a bacterium called Clostridium difficile. Studies indicate that toxins produced by Clostridium difficile are a primary cause of pseudomembranous colitis.
What is the dosage of cefdinir vs. Keflex?
Cefdinir
- Cefdinir is taken once or twice daily, depending on the type and severity of the infection.
- The capsules or suspension can be taken with or without food.
- Patients with advanced kidney disease may need to take lower doses to prevent accumulation of cefdinir since it is eliminated from the body by the kidneys.
- For adult infections the usual dose is 300 mg every 12 hours or 600 mg per day for 5-10 days depending on the nature and severity of the infection.
- The recommended dose for children 6 months to 12 years of age is 7 mg/kg every 12 hours or 14 mg/kg per day for 5-10 days depending on the type of infection.
- For most infections, once daily dosing is as effective as twice daily dosing, although once daily dosing has not been evaluated for the treatment of skin infections or pneumonia.
Keflex
- The dose of cephalexin for adults is 1 to 4 grams in divided doses.
- The usual adult dose is 250 mg every 6 hours.
- Some infections may be treated with 500 mg every 12 hours.
- Children are treated with 25-100 mg/kg/day in divided doses.
- The dosing interval may be every 6 or 12 hours depending on the type and seriousness of the infection.

SLIDESHOW
Bacterial Infections 101: Types, Symptoms, and Treatments See SlideshowWhat drugs interact with cefdinir vs. Keflex?
Cefdinir
- Aluminum or magnesium containing antacids reduce the absorption of cefdinir from the intestine. Separating the administration of cefdinir and such antacids by two hours prevents this interaction.
- Iron supplements also reduce the absorption of cefdinir. Separating the administration of cefdinir and iron supplements by two hours prevents this interaction. There have been reports of reddish stool in patients who have received cefdinir. This could be due to the formation of a chemical complex between cefdinir and iron in the stomach.
Keflex
Are cefdinir and Keflex safe to take while pregnant or breasfeeding?
Cefdinir
There are no adequate studies of cefdinir in pregnant women; however, studies in animals suggest no important effects on the fetus.
Cefdinir is not secreted in human milk.
Keflex
Cephalexin is excreted in breast milk. Cephalexin should be used with caution or stopped when breastfeeding.
Summary
Cefdinir and Keflex (cephalexin) are cephalosporin antibiotics used to treat a variety of infections. Side effects of cefdinir and Keflex that are similar include diarrhea or loose stools, nausea, vomiting, abdominal pain, headache, vaginitis, skin rash, and rarely, abnormal liver tests. Side effects of cefdinir that are different from Keflex include vaginal yeast infection. Rare side effects of cefdinir include abnormal stool, constipation, and dry mouth.
Multimedia: Slideshows, Images & Quizzes
-
Sore Throat or Strep Throat? How to Tell the Difference
Is this a sore throat or could it be strep throat? Explore the causes of a sore throat, including strep throat, and learn how to...
-
Strep (Streptococcal) Throat Infection Quiz: Test Your Infectious Disease IQ
Take the Strep (Streptococcal) Throat Infection Quiz to learn about causes, symptoms, treatments, prevention methods, diagnosis,...
-
Picture of Strep Throat
Strep infection often produces a distinct pattern of white patches in the throat and on the tonsils, as well as red swollen...
Related Disease Conditions
-
Is Strep Throat Contagious?
Strep throat is caused by group A streptococcus bacteria. Incubation period for strep throat is 1-5 days after exposure. If strep throat is treated with antibiotics, it is no longer contagious after 24 hours; if it is not treated with antibiotics, it is contagious for 2-3 weeks. Symptoms include fever, sore throat, tonsillitis, white spots or patches on the tonsils, and nausea and vomiting. Diagnosis of strep throat is performed through a rapid strep test.
-
Tonsillitis (Adenoiditis)
Tonsillitis is a contagious infection with symptoms of bad breath, snoring, congestion, headache, hoarseness, laryngitis, and coughing up blood. Tonsillitis can be caused by acute infection of the tonsils, and several types of bacteria or viruses (for example, strep throat or mononucleosis). There are two types of tonsillitis, acute and chronic. Acute tonsillitis lasts from 1-2 weeks while chronic tonsillitis can last from months to years. Treatment of tonsillitis and adenoids include antibiotics, over-the-counter medications, and home remedies to relieve pain and inflammation, for example, saltwater gargle, slippery elm throat lozenges, sipping warm beverages and eating frozen foods (ice cream, popsicles), serrapeptase, papain, and andrographism Some people with chronic tonsillitis may need surgery (tonsillectomy or adenoidectomy).
-
Strep Throat
Strep throat is a bacterial infection of the throat. Signs and symptoms of strep throat include headache, nausea, vomiting, sore throat, and fever. Strep throat symptoms in infants and children are different than in adults. Strep throat is contagious and is generally passed from person to person. Treatment for strep throat symptoms includes home remedies and OTC medication; however, the only cure for strep throat is antibiotics.
-
Is Tonsillitis Contagious?
Tonsillitis is a common infection, especially in kids. Tonsillitis is caused by viruses and bacteria like the flu and herpes simplex virus, and Streptococcus bacteria. These viruses and bacterium are spread person to person. Symptoms of tonsillitis are a yellow or white coating on the tonsils, throat pain, pain when swallowing, and hoarseness.
-
Acute Bronchitis
Bronchitis is inflammation of the airways in the lung. Acute bronchitis is short in duration (10-20 days) in comparison with chronic bronchitis, which lasts for months to years. Causes of acute bronchitis include viruses and bacteria, which means it can be contagious. Acute bronchitis caused by environmental factors such as pollution or cigarette smoke is not contagious. Common symptoms for acute bronchitis include nasal congestion, cough, headache, sore throat, muscle aches, and fatigue. Acute bronchitis in children also my include runny nose, fever, and chest pain. Treatment for acute bronchitis are OTC pain relievers, cough suppressants (although not recommended in children), and rest. Infrequently antibiotics may be prescribed to treat acute bronchitis.
-
Streptococcal Infections
Second Source article from Government
-
Group A Streptococcal Infections
Second Source article from Government
-
Group B Strep
Group B strep are bacteria called Streptococcus agalactiae that may sometimes cause infections both in a pregnant woman and her baby. Symptoms include fever, seizures, heart rate abnormalities, breathing problems, and fussiness. Intravenous antibiotics are used to treat group B strep infections.
-
Chronic Bronchitis
Chronic bronchitis is a cough that occurs daily with production of sputum that lasts for at least 3 months, 2 years in a row. Causes of chronic bronchitis include cigarette smoking, inhaled irritants, and underlying disease processes (such as asthma, or congestive heart failure). Symptoms include cough, shortness of breath, and wheezing. Treatments include bronchodilators and steroids. Complications of chronic bronchitis include COPD and emphysema.
-
Streptococcal Infections
Group A streptococcal infections are caused by group A Streptococcus, a bacteria that causes a variety of health problems, including strep throat, impetigo, cellulitis, erysipelas, and scarlet fever. There are more than 10 million group A strep infections each year.
Treatment & Diagnosis
Medications & Supplements

Report Problems to the Food and Drug Administration
You are encouraged to report negative side effects of prescription drugs to the FDA. Visit the FDA MedWatch website or call 1-800-FDA-1088.
Top Cefdinir vs Keflex Related Articles
Tonsillitis (Adenoiditis)
Tonsillitis is a contagious infection with symptoms of bad breath, snoring, congestion, headache, hoarseness, laryngitis, and coughing up blood. Tonsillitis can be caused acute infection of the tonsils, and several types of bacteria or viruses (for example, strep throat or mononucleosis). There are two types of tonsillitis, acute and chronic.
Acute tonsillitis lasts from one to two weeks while chronic tonsillitis can last from months to years. Treatment of tonsillitis and adenoids include antibiotics, over-the-counter medications, and home remedies to relieve pain and inflammation, for example, salt water gargle, slippery elm throat lozenges, sipping warm beverages and eating frozen foods (ice cream, popsicles), serrapeptase, papain, and andrographism Some people with chronic tonsillitis may need surgery (tonsillectomy or adenoidectomy).Acute Bronchitis
Bronchitis is inflammation of the airways in the lung. Acute bronchitis is short in duration (10-20 days) in comparison with chronic bronchitis, which lasts for months to years. Causes of acute bronchitis include viruses and bacteria, which means it can be contagious. Acute bronchitis caused by environmental factors such as pollution or cigarette smoke is not contagious. Common symptoms for acute bronchitis include nasal congestion, cough, headache, sore throat, muscle aches, and fatigue. Acute bronchitis in children also my include runny nose, fever, and chest pain. Treatment for acute bronchitis are OTC pain relievers, cough suppressants (although not recommended in children), and rest. Infrequently antibiotics may be prescribed to treat acute bronchitis.Chronic Bronchitis
Chronic bronchitis is a cough that occurs daily with production of sputum that lasts for at least 3 months, 2 years in a row. Causes of chronic bronchitis include cigarette smoking, inhaled irritants, and underlying disease processes (such as asthma, or congestive heart failure). Symptoms include cough, shortness of breath, and wheezing. Treatments include bronchodilators and steroids. Complications of chronic bronchitis include COPD and emphysema.Group B Strep
Group B strep are bacteria called Streptococcus agalactiae that may sometimes cause infections both in a pregnant woman and her baby. Symptoms include fever, seizures, heart rate abnormalities, breathing problems, and fussiness. Intravenous antibiotics are used to treat group B strep infections.Is Strep Throat Contagious?
Strep throat is caused by group A streptococcus bacteria. Incubation period for strep throat is 1-5 days after exposure. If strep throat is treated with antibiotics, it is no longer contagious after 24 hours; if it is not treated with antibiotics, it is contagious for 2-3 weeks. Symptoms include fever, sore throat, tonsillitis, white spots or patches on the tonsils, and nausea and vomiting. Diagnosis of strep throat is performed through a rapid strep test.Is Tonsillitis Contagious?
Tonsillitis is a common infection, especially in kids. Tonsillitis is caused by viruses and bacteria like the flu and herpes simplex virus, and Streptococcus bacteria. These viruses and bacterium are spread person to person. Symptoms of tonsillitis are a yellow or white coating on the tonsils, throat pain, pain when swallowing, and hoarseness.Rapid Strep Test
A rapid strep test is an easy and accurate test performed to diagnose strep bacteria, causing strep throat. A rapid strep test is performed in the health care practitioner's office. A rapid strep test can assist in ruling out other causes of sore throat, for example, flu, common cold, or mononucleosis. Treatment of strep throat is generally antibiotics.
Sore Throat or Strep Throat? How to Tell the Difference
Is this a sore throat or could it be strep throat? Explore the causes of a sore throat, including strep throat, and learn how to find relief from that raw, scratchy throat pain.Strep Throat Quiz
Take the Strep (Streptococcal) Throat Infection Quiz to learn about causes, symptoms, treatments, prevention methods, diagnosis, and complications of this common infectious disease.Strep Throat
Strep throat is a bacterial infection of the throat. Signs and symptoms of strep throat include headache, nausea, vomiting, sore throat, and fever.
Strep throat symptoms in infants and children are different than in adults. Strep throat is contagious and is generally passed from person-to-person. Treatment for strep throat symptoms include home remedies and OTC medication; however, the only cure for strep throat are antibiotics.
Strep Throat Picture
Strep infection often produces a distinct pattern of white patches in the throat and on the tonsils, as well as red swollen tonsils. See a picture of Step Throat and learn more about the health topic.Streptococcal Infections
Group A streptococcal infections are caused by group A Streptococcus, a bacteria that causes a variety of health problems, including strep throat, impetigo, cellulitis, erysipelas, and scarlet fever. There are more than 10 million group A strep infections each year.Suprax (cefixime) vs. Keflex (cephalexin)
Suprax (cefixime) and Keflex (cephalexin) are cephalosporin antibiotics used to treat infections of the middle ear (otitis media), tonsillitis, throat infections (pharyngitis), laryngitis, bronchitis, pneumonia, urinary tract infections (UTIs), gonorrhea, and acute bacterial bronchitis in patients with chronic obstructive pulmonary disease (COPD).Tonsillectomy and Adenoidectomy Surgery
Tonsillectomy is the surgical removal of both tonsils. A tonsillectomy may be performed in cases of recurrent tonsillitis, or treat sleep apnea and some speech disorders.