Cefazolin is an antibiotic medicine. It helps fight certain types of infections caused by bacteria. It works by stopping bacteria from building their protective outer walls. Doctors often use it for infections in the skin, blood, or urinary tract.
Every report comes from a Lived member, sent anonymously.
Have you tried Cefazolin for Osteomyelitis?
Cefazolin is an antibiotic given by injection, usually through an IV line in a hospital, surgery center or infusion clinic. It belongs to the cephalosporins, a large family of antibiotics related to penicillin, and is one of the original "first-generation" members of that family. In the US it is sold under its generic name; Ancef and Kefzol are former brand names that are no longer marketed. It has two main jobs. The first is preventing infection around surgery. A dose given shortly before the operation is a standard choice for many procedures, and for joint replacement surgery cefazolin (or a close relative, cefuroxime) remains the preferred option. The second is treating infections caused by bacteria it can kill, particularly staphylococcus (staph) and streptococcus (strep). These include skin and soft-tissue infections, bone and joint infections, bloodstream infections, infection of the heart valves (endocarditis), and some urinary, respiratory, gallbladder and genital infections. Clinicians also sometimes use it for people with a penicillin allergy in specific situations, such as giving it during labor to prevent infection in the newborn, or preventing heart valve infection in people with certain heart conditions before dental work.
Bacteria are held together by a tough outer cell wall that they must keep building as they grow. Cefazolin blocks the construction of that wall, so the bacteria break apart and die rather than simply stopping their growth. The kidneys clear cefazolin from the body fairly quickly; in healthy adults about half of a dose is gone within about two hours. That is why treatment doses are repeated through the day, and why doses are timed around surgery so that enough antibiotic is already in the blood and tissues when the first incision is made. Cefazolin works well against many staph and strep bacteria, but not against all germs. It does not work against MRSA (methicillin-resistant Staphylococcus aureus, a drug-resistant form of staph), many of the bacteria that cause hospital-acquired infections, or viruses such as colds and flu. When a lab identifies the bacteria causing an infection, the care team uses those results to confirm cefazolin is the right choice or switch to another antibiotic.
Cefazolin comes as a powder that is mixed with liquid or as a premixed IV bag. It is usually given into a vein over about 30 minutes, sometimes as a slower push over a few minutes, and the powder form can also be injected into a large muscle. Premixed bags come only in fixed 1, 2 and 3 gram doses, so the powder is used when a different dose is needed, as it often is for children. For surgery, a dose is given within the hour before the operation starts. Larger doses are used for people who weigh 120 kilograms (about 265 pounds) or more, an extra dose may be given during a long operation, and preventive doses are usually stopped within 24 hours after surgery. For an infection, doses are typically given every 6, 8 or 12 hours, with the amount depending on the type and severity of the infection and, for children, on body weight. Because the kidneys remove cefazolin, people with reduced kidney function receive smaller or more widely spaced doses, based on blood tests of how well the kidneys are filtering. This matters: when the dose is not adjusted, cefazolin can build up and, rarely, cause seizures. People who give doses at home are trained first. If a home dose is missed, it is usually given when remembered unless the next one is nearly due; never give two doses together, and ask the care team if unsure.
Most people tolerate cefazolin well. Nausea, vomiting, diarrhea and rash are the most commonly reported side effects. Some people notice pain, redness or swelling where the IV or injection goes in, or irritation of the vein. Because antibiotics also disturb the body's normal bacteria, a yeast infection of the mouth (thrush, white patches) or vagina can follow. Serious allergic reactions are uncommon but can happen. Staff watch for them when cefazolin is given in a clinic or hospital. If you are receiving it at home or have just left the clinic and develop trouble breathing or swallowing, swelling of the face, lips or throat, or feel faint or dizzy, stop any infusion and call 911. Hives or a new rash without those symptoms should be reported to the care team the same day. Antibiotics can allow an overgrowth of C. difficile, a gut bacterium that causes severe diarrhea and colon inflammation. Watery or bloody diarrhea, stomach cramps or fever, during treatment or even two or more months afterward, needs a call to the care team right away. Also contact the team promptly for blistering or peeling skin, much less urine than usual, dark urine or yellowing of the skin or eyes, or new swelling in the legs. A seizure during treatment needs emergency care.
Cefazolin should not be used by people who have had a serious allergic reaction to cefazolin or other cephalosporins. Allergy to penicillin needs a more careful conversation. The label lists a serious immediate reaction to penicillins or related antibiotics as a reason not to use it, and older data suggest cross-reactions in up to 10 percent of people with a penicillin allergy. However, cefazolin's chemical structure differs from penicillin's in the part the immune system usually reacts to, and allergy specialists increasingly find that many people labeled penicillin-allergic, including some with past anaphylaxis, can receive it safely. Avoiding cefazolin when it is not necessary can mean receiving a less effective substitute before surgery. The main exception is a history of severe delayed skin or organ reactions to penicillin, such as Stevens-Johnson syndrome (a severe reaction with blistering and peeling of the skin and mouth) or DRESS (a drug reaction with rash, fever and organ inflammation). Describe exactly what happened during any past reaction, so the team and, if needed, an allergist can decide. Cefazolin can lower the level of clotting proteins in some people, particularly those taking a blood thinner such as warfarin, those with kidney or liver disease or poor nutrition, and those on long courses. People taking warfarin may need extra INR (international normalized ratio) checks, the blood test that measures how long blood takes to clot. Probenecid, a gout medicine, slows cefazolin's removal by the kidneys and is not recommended with it. Premixed bags contain dextrose, which may be made from corn, so mention a corn allergy. Studies over several decades have not linked cephalosporins, including cefazolin, to birth defects or miscarriage, and only small amounts pass into breast milk. Pregnancy and breastfeeding should still be discussed with the care team.
For surgery, cefazolin is usually a single dose given through the IV before the operation, sometimes with a few more over the following day. Most people notice nothing beyond the IV itself. When treating an infection, people usually begin to feel better within the first few days. If symptoms do not improve or get worse, the care team should know, since the bacteria may not respond to cefazolin or the infection may need another approach. Lab results identifying the bacteria may lead to a change of antibiotic. How long treatment lasts depends on the type of infection and how the body responds, and longer courses are sometimes completed at home. It is important to complete the course the care team sets, even after feeling better, because stopping early can leave the infection incompletely treated; the team decides when treatment can stop. During longer courses, the care team may order blood tests to check kidney function and blood counts.
Last reviewed • Oct 2026
Educational content, not medical advice.
Share your experience taking Cefazolin, what you've noticed, or ask the community a question.