A Gram stain is a common laboratory test that can help diagnose the presence of a bacterial infection quickly. Healthcare providers often order it alongside a bacteria culture to diagnose the type of bacterium causing the infection.
Advertisement
Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy
A Gram stain is a laboratory test that checks for bacteria at the site of a suspected infection or in certain bodily fluids. A medical laboratory scientist processes the Gram stain, which gives relatively quick results, so healthcare providers can know if bacteria are present, and, if so, the general type(s). This can help guide further identification tests and treatment options.
Advertisement
Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy
Bacteria are a large group of one-celled organisms. They can live in different places in your body and on your skin. While some types of bacteria are harmless or even beneficial, others can cause infections and disease. A Gram stain helps diagnose harmful bacteria.
Under a Gram stain, different kinds of bacteria change one of two sets of colors (pink to red or purple to blue) under a special series of stains and are categorized as “gram-negative” or “gram-positive,” accordingly. Gram staining works by differentiating bacteria by the chemical and physical properties of their cell walls.
However, not all forms of bacteria can be tested using the Gram stain method, and Gram stains don’t usually provide a diagnosis alone. Instead, they help to broadly determine the type of bacteria.
Gram staining is an essential staining technique in microbiology that scientists have used for hundreds of years. It’s named after Danish bacteriologist Hans Christian Gram, who first introduced it in 1882, mainly to identify organisms causing pneumonia.
If bacteria are present on a Gram stain slide, a medical laboratory scientist classifies them as gram-negative or gram-positive based on which color they turn under a series of stains. There are also gram-variable bacteria, which means they stain irregularly, and there’s a mix of pink- and purple-colored bacteria.
Advertisement
It’s important to note that gram-negative doesn’t mean there are no bacteria, and “positive” and “negative” don’t mean “good” and “bad” in this case.
Gram-positive bacteria have cell walls that contain thick layers of peptidoglycan, a substance that forms the cell walls of many bacteria. The peptidoglycan forms about 90% of the cell wall in gram-positive bacteria. This causes them to appear blue to purple under a Gram stain.
Gram-positive organisms include:
Gram-negative bacteria have cell walls with thin layers of peptidoglycan (10% of the cell wall) and high lipid (fatty acid) content. This causes them to appear red to pink under a Gram stain.
Gram-negative organisms include:
Healthcare providers use both Gram stains and bacteria cultures if they suspect you have a bacterial infection. However, these tests provide different information.
Providers usually request bacteria culture tests alongside Gram stain tests. In a bacteria culture test, a medical laboratory scientist takes cells from the sample that’s also for the Gram stain and puts it in a special environment to encourage cell growth. Results are often available within a few days, but some types of bacteria grow slowly, which may take several days or longer. Once the cells have multiplied and grown enough, a medical laboratory scientist examines the cultured bacteria to determine their exact identity.
A Gram stain involves applying a stain to a sample in glass microscope slides and looking at it under a microscope to determine if bacteria are present at all. If bacteria are present, the medical laboratory scientists can see if they’re gram-negative or gram-positive based on if the bacteria appear pink to red or purple to blue under the stain. Different types of bacteria are either gram-negative or gram-positive.
While Gram stains provide quicker results than bacteria cultures, in most cases, a Gram stain can’t diagnose the type of bacterium, unlike a bacteria culture. However, Gram stains can help point healthcare providers in the right direction for prescribing treatment.
Healthcare providers order Gram stains to help diagnose and treat certain bacterial infections, such as urinary tract infections (UTIs) and bacterial pneumonia. Providers may not always request a Gram stain to help diagnose conditions caused by bacteria. For example, they usually don’t Gram stain for food poisoning, but it’s possible to do so through a stool (poop) sample.
Examples of gram-negative bacteria (in italics) and the conditions they can cause include:
Advertisement
Examples of gram-positive bacteria (in italics) and the conditions they can cause include:
Healthcare providers typically request a Gram stain along with a bacteria culture when they suspect you have a bacterial, or sometimes fungal, infection. It’s one of the most common ways to quickly diagnose bacterial infection in your body.
Depending on what kind of infection you may have, many types of healthcare providers could collect a sample for a Gram stain test. For example, a gynecologist may collect a swab for a gonorrhea Gram stain test and a pulmonologist may collect a sample of your spit or mucus from your cough to use for a bacterial pneumonia Gram stain test.
Your provider then puts the sample in a sterile container and sends it to a laboratory for testing. A medical laboratory scientist applies the sample to microscope slides, applies a series of stains and looks at the sample under a microscope. They put together a report and share it with your healthcare provider.
Advertisement
You don’t need to do anything special to prepare for a Gram stain test.
There are three general steps involved in a Gram stain test, including:
A Gram stain test involves your healthcare provider collecting a sample from a site of suspected infection. Some of the ways a provider can collect Gram stain test samples include:
Sites collected by a swab with brushing and scraping may include your:
Samples that you can collect directly into a sterile container include:
Areas in your body that may require the use of fine-needle aspiration include:
Your provider then puts the sample in a sterile container and sends it to a laboratory for testing.
At the lab, a medical laboratory scientist smears or spreads the sample on glass microscope slides. These slides are known as smears. They then apply a series of stains to the smear to perform a Gram stain.
Advertisement
The Gram staining process includes four basic steps, including:
The medical laboratory scientist then categorizes any bacteria that may be present by color and shape during the microscopic evaluation:
The medical laboratory scientist also looks for additional characteristics of the sample by observing the groupings of the bacteria on the slide. Examples include:
The medical laboratory scientist then puts together a report and sends it to your healthcare provider.
There’s no risk to having a Gram stain that involves a swab or fluid collection of sputum (spit), urine or stool.
There’s very little risk to having blood tests. You may have slight tenderness or a bruise at the site of the blood draw, but this usually resolves quickly.
Possible fine-needle aspiration risks include:
Gram stain test results reveal one of two categories: a negative Gram stain or a positive Gram stain. This is not to be confused with gram-negative bacteria or gram-positive bacteria.
If your test result reveals a negative Gram stain or “no organism seen,” it usually means that there are too few bacteria present to be able to be seen using the Gram stain method. Bacteria might still be detected by culture if a culture is performed on the specimen.
If your test result reveals a positive Gram stain, it means that bacteria were present in your sample. If your result is positive, it usually includes information about what kind of organism was present on the sample slide, including:
This information, along with signs and symptoms and other clinical findings, will help your healthcare provider determine which treatment may be most effective, sometimes before bacteria culture results are available.
Gram stains generally provide quick results. However, Gram stain results are usually considered preliminary, meaning they can’t always provide a diagnosis alone. Results of a bacteria culture and/or other tests, such as antigen and antibody testing for particular types of bacteria, might be necessary to confirm a diagnosis.
If you’ve been diagnosed with an infection and are having issues with your treatment or your infection isn’t improving, contact your healthcare provider.
A note from Cleveland Clinic
Gram stains are a very common and often painless way to determine the presence of a bacterial or fungal infection. While it can be stressful to wait for the results of a diagnostic test, know that your healthcare team is there to support you no matter what the results are. Don’t be afraid to ask your healthcare provider questions about your test or results.
Last reviewed on 03/16/2022.
Learn more about the Health Library and our editorial process.