Gram Stain

Note: this site is for informational purposes only. To view test results or book a test, use the NHS app in England or contact your GP.

A gram stain test involves placing a sample (such as fluid, tissue, or a swab) onto a microscope slide and applying special stains so microorganisms can be seen under a microscope. It is used to rapidly detect and help identify bacteria (and sometimes fungi) in suspected infections, particularly in normally sterile body sites.

Also known as 
Gram’s Stain 
Formal name 
Gram Stain 

Why get tested?

To identify the cause of a bacterial infection so appropriate treatment can be given.

When to get tested?

Seek advice from your doctor if you have an area of inflamed, red or a painful skin, a wound which does not seem to be healing or any other concerns which might lead you to believe you may have a bacterial infection.

Sample required?

A skin swab or fluid/​pus (if present) from the site of infection.

Test preparation needed?

None

What is being tested?

A Gram stain is used to determine if bacteria are present in an area of the body that is normally sterile, such as spinal fluid. A sample from the infected area is smeared on a glass slide and allowed to dry. A series of stains are applied and then the stained slide is examined under a microscope where bacteria appear either purple (gram positive) or pink (gram negative). The test is named after Dr. Christian Gram, who invented the process.

A Gram stain can predict the type of bacteria causing an infection, such as pneumococcal pneumonia or a staphylococcal abscess. Viruses cannot be seen with a Gram stain since they lack the cell wall, which takes up the stain.

How is the sample collected for testing?

Usually, samples are collected using sterile swabs to obtain cells or exudate (fluid or pus containing cellular matter) at the site of suspected infection. Body fluids may be collected in sterile containers or by needle and syringe.

Is any test preparation needed to ensure the quality of the sample?

No test preparation is needed.

Common questions