Gram Staining Technique

Gram staining is a fundamental microbiological technique employed to differentiate bacteria according to the structural and chemical characteristics of their cell envelopes. Introduced by the Danish bacteriologist Hans Christian Gram in 1884, this staining method remains an essential procedure in bacteriology because it provides a rapid and practical means of distinguishing bacterial groups under a light microscope. The technique categorizes bacteria primarily into two groups: Gram-positive bacteria, which appear purple or violet, and Gram-negative bacteria, which appear pink or red following the staining procedure.

The underlying principle of Gram staining is associated with variations in the composition and organization of bacterial cell walls. Gram-positive bacteria possess a relatively thick peptidoglycan layer that enables them to retain the primary stain during decolorization. In contrast, Gram-negative bacteria have a thinner peptidoglycan layer and an additional outer membrane, which influence their response to the staining reagents. These structural differences produce distinct staining outcomes, allowing microorganisms to be differentiated based on their colour after the procedure is completed.

The Gram staining technique involves four principal reagents: crystal violet, Gram’s iodine, a decolorizing agent such as alcohol or acetone-alcohol, and a counterstain, commonly safranin. Crystal violet initially colours the bacterial cells purple, while Gram’s iodine acts as a mordant by forming a crystal violet–iodine complex. During decolorization, Gram-positive bacteria generally retain this complex, whereas Gram-negative bacteria lose the primary stain. The subsequent application of safranin colours the decolorized Gram-negative cells pink or red, while Gram-positive cells remain predominantly purple.

Beyond its role in differentiating bacterial groups, Gram staining provides valuable preliminary information about bacterial morphology, including cell shape and arrangement. Under microscopic examination, bacteria may be observed as cocci, bacilli, or other characteristic forms, occurring singly, in pairs, chains, or clusters. Combining these morphological observations with staining reactions helps microbiologists narrow the range of possible bacterial identities and determine appropriate directions for further laboratory investigations.

Gram staining is widely applied in clinical microbiology, medical diagnostics, food microbiology, environmental studies, and educational laboratories. In clinical settings, examination of stained specimens may offer early clues about the microorganisms associated with an infection and support decisions regarding subsequent diagnostic procedures. Nevertheless, the technique has limitations: some bacteria stain inconsistently, while certain microorganisms do not respond reliably to conventional Gram staining. The age of the bacterial culture, smear thickness, and accuracy of decolorization may also influence the final appearance.

Gram staining serves as a foundational method for the preliminary classification and microscopic examination of bacteria. Although it cannot independently establish the identity of every microorganism, its simplicity, speed, and diagnostic value make it an indispensable component of routine microbiological investigation.

Principle of Gram staining technique

Gram staining is a differential staining technique that distinguishes bacteria into two major groups, Gram-positive and Gram-negative, according to differences in their cell envelope structure and their ability to retain specific dyes during the staining procedure. The fundamental principle of this technique lies in the interaction between the primary stain, crystal violet, the mordant, Gram’s iodine, and the bacterial cell wall during decolorization.

Gram-positive bacteria possess a thick, multilayered peptidoglycan cell wall that provides structural support and helps maintain cellular shape. During staining, crystal violet penetrates the bacterial cells and imparts a purple colour. When Gram’s iodine is added, it combines with crystal violet to form a relatively large crystal violet–iodine complex within the cells. During the decolorization stage, alcohol or acetone-alcohol dehydrates the thick peptidoglycan layer, reducing its permeability and restricting the escape of the dye complex. Gram-positive bacteria retain the primary stain and remain purple or violet after the procedure is completed (Figure 1).

Figure 1. Illustration of Gram positive stain result. The stained organism is Gram-positive cocci – since it appeared purple (blue-violet) and with a spherical shape under the microscope.

In contrast, Gram-negative bacteria possess a comparatively thin peptidoglycan layer located within the periplasmic space between the inner cytoplasmic membrane and the outer membrane. The outer membrane contains lipopolysaccharides, phospholipids, and proteins, which contribute to the distinctive properties of the Gram-negative cell envelope. When a decolorizing agent is applied, it disrupts the lipid-rich outer membrane and increases the permeability of the cell envelope. Because the peptidoglycan layer is thin, it cannot effectively retain the crystal violet–iodine complex, allowing the primary stain to escape from the cells.

Following decolorization, Gram-negative bacteria become nearly colourless and are subsequently stained by safranin, the counterstain. Safranin imparts a pink or red appearance, making Gram negative bacteria distinguishable from Gram-positive organisms under a light microscope (Figure 2). Although Gram-positive cells may also absorb safranin, the intense purple colour retained from the primary staining reaction generally masks the counterstain.

Figure 2. Illustration of Gram negative stain result. The stained organism is Gram-negative bacilli – since it appeared pink or red under the microscope.

The accuracy of Gram staining depends largely on the proper execution of the decolorization step. Excessive decolorization may cause Gram-positive bacteria to appear falsely Gram-negative, whereas insufficient decolorization can cause Gram-negative bacteria to retain crystal violet and appear falsely Gram-positive. Other factors, including the age of the bacterial culture, smear thickness, and the condition of the cell envelope, may also influence the final staining outcome.

Gram staining differentiates bacteria primarily through variations in cell envelope architecture and differential retention of the crystal violet–iodine complex. The resulting purple and pink colour patterns provide an important preliminary basis for bacterial classification and guide further microbiological investigation.

Materials and reagents required for Gram staining technique

Gram staining requires a carefully selected combination of laboratory equipment, bacterial specimens, and chemical reagents to ensure accurate differentiation of microorganisms. Each material serves a specific function in preparing the bacterial smear, applying the staining procedure, and examining the stained cells under a microscope.

1. Clean glass slides: Glass slides provide a suitable surface for preparing and staining bacterial smears. They should be free from dust, grease, and other contaminants, as these may interfere with smear preparation or microscopic observation.

2. Bacterial culture: A bacterial culture containing the microorganisms to be examined serves as the specimen for Gram staining. A fresh, pure culture is generally preferred because it improves the reliability of the staining reaction and reduces the possibility of misleading results.

3. Inoculating loop: An inoculating loop is used to transfer a small quantity of bacterial culture onto the glass slide. It should be sterilized appropriately before and after use to prevent contamination and maintain aseptic conditions.

4. Bunsen burner or suitable heat source: A Bunsen burner or another approved heat source may be used to sterilize the inoculating loop. Heat fixation may also be performed after the smear has completely air-dried, helping the bacterial cells adhere to the slide during subsequent staining and washing.

5. Crystal violet: Crystal violet is the primary staining reagent used in Gram staining. It initially imparts a purple colour to both Gram-positive and Gram-negative bacterial cells, providing the foundation for their subsequent differentiation.

6. Gram’s iodine: Gram’s iodine acts as a mordant by combining with crystal violet to form a crystal violet–iodine complex within bacterial cells. This complex contributes to the retention of the primary stain, particularly in bacteria with a thick peptidoglycan cell wall.

7. Decolorizing agent: Alcohol, acetone, or an appropriate alcohol-acetone mixture is used to remove the primary stain from bacterial cells that do not retain the crystal violet-iodine complex during the decolorization stage. Precise application is essential because excessive or insufficient decolorization may produce erroneous staining results.

8. Safranin: Safranin serves as the counterstain and colours decolorized bacterial cells pink or red. Gram-positive cells generally remain purple because they retain the primary stain, whereas Gram-negative cells become pink or red after counterstaining.

9. Microscope: A compound light microscope is required to examine the stained bacterial smear. The oil-immersion objective, commonly 100×, enables detailed observation of bacterial morphology, including cell shape, arrangement, and staining characteristics.

10. Immersion oil: Immersion oil is applied between the stained slide and the 100× oil-immersion objective to improve optical resolution and facilitate clearer visualization of bacterial cells.

11. Additional laboratory supplies: Distilled water, a wash bottle, absorbent paper, staining racks, and appropriate personal protective equipment may also be required. These materials support controlled rinsing, safe handling of reagents, effective slide drying, and the maintenance of proper laboratory hygiene.

Preparation of the bacterial smear for Gram staining technique

The preparation of a bacterial smear is an essential preliminary stage in the Gram staining technique, as the quality of the smear directly influences the accuracy and clarity of the microscopic examination. A properly prepared smear allows bacterial cells to be distributed evenly across the glass slide, facilitating effective staining and the observation of their morphological characteristics.

The procedure begins with the selection of a clean, grease-free glass slide to prevent contamination and ensure uniform spreading of the bacterial suspension. Using an appropriate sterile inoculating loop, a small quantity of bacterial culture is transferred onto the centre of the slide. If a solid culture medium is used, a small drop of sterile distilled water or normal saline may first be placed on the slide to facilitate the suspension of the bacterial material. For a liquid culture, a small drop of the broth culture can be transferred directly.

The bacterial material is then spread gently over the surface of the slide to produce a thin, even layer. The smear should not be excessively thick, because densely packed bacterial cells may overlap and interfere with the penetration of staining reagents. Similarly, a smear that is too thin may contain an insufficient number of cells for satisfactory microscopic observation. Therefore, uniform distribution of the bacterial material is important for obtaining distinct and interpretable staining results.

Following the spreading process, the smear is allowed to air-dry completely at room temperature. Complete drying is necessary before fixation, as heating a wet smear may cause cellular distortion, splashing or the formation of aerosols. The slide should be handled carefully throughout this stage to maintain the integrity of the specimen and minimise the risk of contamination.

Once the smear has dried, fixation is performed according to the laboratory’s established procedure. In conventional Gram staining, gentle heat fixation may be used to promote the attachment of bacterial cells to the glass surface, thereby reducing the likelihood of their removal during subsequent washing steps. The slide is exposed to heat briefly and cautiously, avoiding excessive heating that could alter the natural morphology of the cells or compromise the staining reaction. In laboratories using alternative fixation methods, the prescribed protocol should be followed.

After fixation, the smear is ready for the application of the staining reagents. Proper smear preparation provides a suitable foundation for the successive stages of Gram staining and contributes to the reliable differentiation of Gram-positive and Gram-negative bacteria. Careful attention to cleanliness, smear thickness, drying and fixation improves the quality of the final microscopic preparation.

Application of the primary stain and mordant in Gram staining technique

The application of the primary stain and mordant is a crucial stage in the Gram staining technique, as it initiates the differentiation of bacterial cells according to the structural characteristics of their cell walls. Crystal violet serves as the primary stain, while Gram’s iodine functions as a mordant that enhances the retention of the dye within bacterial cells.

Application of crystal violet: After preparing, air-drying, and appropriately fixing the bacterial smear on a clean glass slide, the smear is covered completely with crystal violet solution. The stain is allowed to act for approximately one minute, ensuring sufficient contact with the bacterial cells. Crystal violet penetrates the bacterial cell envelopes and stains both Gram-positive and Gram-negative bacteria purple. Following the staining period, the slide is gently rinsed with clean water to remove excess dye without disturbing the smear. At this stage, both groups of bacteria generally appear violet, and differentiation between them has not yet occurred.

Application of Gram’s iodine: Following the removal of excess crystal violet, Gram’s iodine solution is applied evenly over the smear and allowed to remain for approximately one minute. Iodine acts as a mordant by interacting with crystal violet to produce a larger crystal violet–iodine complex within the bacterial cells. This complex is less readily removed during the subsequent decolorization stage, particularly in Gram-positive bacteria, whose thick peptidoglycan layer contributes to the retention of the dye complex. After the recommended exposure time, the slide is gently rinsed with water to eliminate residual iodine solution.

Care should be taken to ensure that the smear remains intact throughout the procedure. The slide is then ready for the decolorization step, during which the differences in the bacterial cell envelopes become more apparent. The combined action of crystal violet and Gram’s iodine establishes the foundation for differential staining. Although both Gram-positive and Gram-negative bacteria initially acquire a purple appearance, their responses to the subsequent decolorization process differ because of variations in cell wall architecture and membrane composition.

Proper timing, uniform reagent application, and careful rinsing are essential for obtaining reliable staining results. Any deviation from the recommended procedure may affect stain retention and lead to incorrect interpretation of the Gram reaction. Therefore, accurate application of the primary stain and mordant is essential for the successful differentiation of bacterial groups in microbiological examination.

Decolorization of the smear for Gram staining technique

Decolorization is a critical stage in the Gram staining technique because it differentiates Gram-positive bacteria from Gram-negative bacteria according to their ability to retain the primary stain. This step involves applying a suitable decolorizing agent, usually ethanol, acetone, or an acetone-alcohol mixture, to remove excess crystal violet stain from the bacterial smear. The effectiveness of decolorization depends on the composition of the bacterial cell envelope, the duration of exposure to the reagent, and the thickness of the smear.

After treating the smear with crystal violet and Gram’s iodine, the bacterial cells contain a crystal violet–iodine complex. When the decolorizing agent is applied, Gram-positive bacteria retain this complex because their cell walls contain a thick peptidoglycan layer. The alcohol dehydrates this layer, reducing its permeability and restricting the escape of the dye complex. Consequently, Gram-positive cells remain purple or violet throughout the subsequent staining procedures.

In contrast, Gram-negative bacteria possess a relatively thin peptidoglycan layer and an outer membrane rich in lipids. The decolorizing agent disrupts the outer membrane and facilitates the removal of the crystal violet–iodine complex. As a result, Gram-negative cells become colourless at this stage. Their original colour is restored during counterstaining with safranin, which causes them to appear pink or red under the microscope.

The decolorization procedure must be performed carefully to ensure reliable differentiation. The reagent should be applied evenly across the smear for the duration specified by the laboratory protocol. The slide should then be rinsed immediately with water to terminate the decolorization process. Excessive exposure to the decolorizer may remove the primary stain from Gram-positive bacteria, producing false Gram-negative results. Insufficient decolorization may allow Gram-negative bacteria to retain the crystal violet-iodine complex, leading to false Gram-positive results.

Several factors can influence the outcome, including smear thickness, bacterial culture age, reagent concentration, and the timing of each staining step. A thin, evenly distributed smear and consistent application of the decolorizing agent are essential for accurate interpretation. Decolorization is the differential step that reveals variations in bacterial cell wall structure through distinct staining responses. Proper control of this process improves the reliability of Gram staining and supports the preliminary classification of bacteria into Gram-positive and Gram-negative groups.

Counterstaining and microscopic examination of the Gram stained slides

Counterstaining and microscopic examination constitute the final stages of the Gram staining technique, enabling the differentiation and morphological assessment of bacterial cells. Following decolorization, the smear is treated with safranin, a secondary stain that imparts a contrasting colour to bacteria that have lost the primary crystal violet stain. This step enhances cellular visibility and facilitates the distinction between Gram-positive and Gram-negative organisms.

Application of the counterstain: Safranin solution is applied evenly over the decolorized bacterial smear and allowed to act for approximately 30-60 seconds, depending on the laboratory protocol. During this period, Gram-negative bacteria, which have lost the crystal violet–iodine complex during decolorization, absorb the safranin and develop a pinkish-red appearance. Gram-positive bacteria, however, retain the crystal violet–iodine complex within their thick peptidoglycan layer and consequently remain purple or violet. After the staining interval, the slide is gently rinsed with clean water to remove excess dye. The preparation is then carefully blotted with absorbent paper to eliminate moisture without disturbing or damaging the stained smear.

Microscopic examination: Once the slide has dried, it is examined under a light microscope to determine the staining characteristics and morphological features of the bacterial cells. Initial focusing may be performed using a lower-power objective before switching to the high-power oil-immersion objective, typically 100× magnification. A small drop of immersion oil is placed over the stained smear, and the oil-immersion objective is used to obtain a clearer, higher-resolution image of the microorganisms. Appropriate illumination and fine focusing are adjusted to improve cellular visibility and facilitate accurate observation.

Observation and recording of results: During microscopic examination, the predominant cellular colour is noted to establish the Gram reaction. Purple or violet cells are interpreted as Gram-positive, whereas pink or red cells are classified as Gram-negative. In addition to colour differentiation, bacterial morphology is documented according to cell shape and arrangement. Common morphological forms include cocci (spherical cells), bacilli (rod-shaped cells), and spiral-shaped bacteria. Their arrangements may include pairs, chains, clusters, or single cells, depending on the organism.

The observed characteristics are systematically recorded to provide a preliminary description of the bacterial specimen. Accurate interpretation depends on adequate smear preparation, appropriate decolorization, effective counterstaining, and proper microscopic focusing. These observations contribute to the initial characterization of bacteria and help guide subsequent microbiological investigations.

Protocol for Gram staining technique

Preparation of the bacterial smear

  • Place a small quantity of the test bacterial culture on a clean glass slide.
  • Spread the bacterial culture evenly to produce a thin, uniform smear that allows individual bacterial cells to be distinguished during microscopic examination.
  • Allow the smear to air-dry completely on a staining rack before proceeding to the staining procedure.
  • Gently heat-fix the dried smear to improve bacterial adherence to the slide.

Application of crystal violet

  • Flood the heat-fixed dried smear with crystal violet, which serves as the primary staining reagent.
  • Allow the stain to remain on the smear for approximately 60 seconds to facilitate its penetration into the bacterial cells.
  • Rinse gently with clean water to remove excess dye without dislodging the smear.

Treatment with Lugol’s iodine

  • Cover the entire stained area with Lugol’s iodine solution using a dropper.
  • Allow the reagent to act for approximately 60 seconds.
  • Rinse the slide gently with clean water to eliminate excess iodine solution.
  • Lugol’s iodine functions as a mordant by forming a crystal violet-iodine complex that enhances retention of the primary stain within bacterial cells.

Decolorization of the smear

  • Apply acetone or ethanol as decolorizer to the stained smear.
  • Allow the decolorizer to act briefly, not more than 10 seconds.
  • Immediately rinse the slide with clean water to terminate the decolorization process.
  • This stage differentiates bacterial groups according to their cell envelope characteristics. Gram-positive bacteria generally retain the violet complex, whereas Gram-negative bacteria lose the primary stain during decolorization.
  • Excessive or insufficient decolorization may produce misleading staining results; therefore, this step requires particular care.

Counterstaining with safranin

  • Cover the decolorized smear with safranin, the counterstaining reagent.
  • Allow the stain to remain for approximately 60 seconds.
  • Rinse gently with clean water to remove excess counterstain.
  • Position the slide upright on the staining rack and allow it to air-dry completely. Avoid wiping the bacterial smear itself.
  • Carefully clean the underside of the slide with a clean cloth or cotton wool to remove watermarks and staining residues.

Preparation for microscopic examination

  • Place a small drop of immersion oil directly on the dried, stained smear.
  • Position the slide on the microscope stage and focus the specimen using the appropriate lower-power objective before switching to the 100× oil-immersion objective, as appropriate for the microscope.
  • Adjust the illumination and focus to obtain a clear image of the bacterial cells.
  • Examine several representative fields to assess the staining characteristics, cellular morphology and arrangement of the organisms.

Observation and interpretation of results

  • Gram-positive bacteria typically appear blue-violet or purple because their thick peptidoglycan layer retains the crystal violet-iodine complex.
  • Gram-negative bacteria generally appear pink or red because they are decolorized and subsequently take up the safranin counterstain.
  • Observe and record the bacterial morphology, including cocci (spherical cells), bacilli (rod-shaped cells) and coccobacilli (short, oval rods).
  • Describe the cellular arrangement where identifiable, such as pairs, chains, clusters or individual cells.
  • Record the predominant staining reaction, morphology and arrangement in the laboratory report. Gram staining provides preliminary information and does not, by itself, establish the identity of a bacterial species.

Quality control and precautions during Gram staining technique

  • Use a clean slide and prepare a thin smear to prevent uneven staining and overlapping bacterial cells.
  • Ensure that the smear is completely air-dried before heat fixation, if performed.
  • Apply each reagent for the specified duration and rinse gently between staining stages.
  • Control the decolorization step carefully, as it is a major source of false Gram-positive or false Gram-negative reactions.
  • Use appropriate positive and negative control organisms when required by the laboratory procedure.
  • Handle bacterial cultures, staining reagents and microscope slides according to laboratory biosafety guidelines, and dispose of contaminated materials appropriately.

As aforesaid, Gram-positive bacteria appear purple or violet, whereas Gram-negative bacteria appear pink or red under oil-immersion microscopy. The final report should include the Gram reaction, bacterial morphology and cellular arrangement observed.

Results interpretation of Gram staining technique

The results of Gram staining are determined by observing the colour, morphology, and arrangement of bacterial cells under a microscope. The staining reaction provides important information about the structural characteristics of the bacterial cell wall and helps distinguish between two major groups of bacteria: Gram-positive and Gram-negative bacteria.

Gram-positive bacteria appear purple or violet because their thick peptidoglycan layer retains the crystal violet–iodine complex during the decolorization process. In contrast, Gram-negative bacteria appear pink or red because their thinner peptidoglycan layer does not retain the primary stain after treatment with alcohol or acetone-alcohol. These cells subsequently absorb the counterstain, safranin, which produces the characteristic pink or red coloration.

During microscopic examination, the bacterial cells should be assessed according to their shape and arrangement in addition to their staining colour. Bacteria may occur as cocci (spherical cells), bacilli (rod-shaped cells), or spiral forms. Their arrangement may include pairs, chains, clusters, or individual cells. Recording these characteristics provides a more comprehensive description of the specimen and supports the preliminary identification of the microorganisms present.

The accuracy of Gram staining depends on the proper execution of each procedural step. An excessively thick smear may prevent uniform staining and make individual cells difficult to distinguish. Over-decolorization can cause Gram-positive bacteria to appear falsely Gram-negative, whereas insufficient decolorization may cause Gram-negative bacteria to retain the purple stain. Furthermore, the use of old bacterial cultures may produce unreliable staining reactions because changes in cell wall integrity can affect the retention of the primary stain. Contamination, inadequate fixation, and incorrect staining times may also influence the final appearance of the specimen.

Gram staining is an essential differential staining method in microbiology that facilitates the preliminary classification of bacteria according to their staining response and cellular morphology. The distinction between purple Gram-positive cells and pink Gram-negative cells provides valuable diagnostic information and assists in selecting appropriate procedures for further investigation. However, the staining reaction alone is insufficient to establish a definitive bacterial identification. Additional examinations, such as biochemical tests, culture characteristics, or molecular techniques, may be necessary to determine the identity of the organism accurately.

References

Tripathi, N., Zubair, M., & Sapra, A. (2025). Gram staining. In StatPearls. StatPearls Publishing.

Claus, D. (1992). A standardized Gram staining procedure. World Journal of Microbiology and Biotechnology, 8, 451–452.

Brucker, M. C. (1986). Gram staining: A useful laboratory technique. Journal of Nurse-Midwifery, 31(3), 156–158.

Basic laboratory procedures in clinical bacteriology. World Health Organization (WHO), 1991. Available from WHO publications, 1211 Geneva, 27-Switzerland.

Beers M.H., Porter R.S., Jones T.V., Kaplan J.L and Berkwits M (2006). The Merck Manual of Diagnosis and Therapy. Eighteenth edition. Merck & Co., Inc, USA.

Cheesbrough M (2010). District Laboratory Practice in Tropical Countries. Part I. 2nd edition. Cambridge University Press, UK.

Cheesbrough M (2010). District Laboratory Practice in Tropical Countries. Part 2. 2nd edition. Cambridge University Press, UK.

Collins C.H, Lyne P.M, Grange J.M and Falkinham J.O (2004). Collins and Lyne’s Microbiological Methods. Eight edition. Arnold publishers, New York, USA.

Garcia L.S (2010). Clinical Microbiology Procedures Handbook. Third edition. American Society of Microbiology Press, USA.

Dubey, R. C. and Maheshwari, D. K. (2004). Practical Microbiology. S.Chand and Company LTD, New Delhi, India.

Gillespie S.H and Bamford K.B (2012). Medical Microbiology and Infection at a glance. 4th edition. Wiley-Blackwell Publishers, UK.


Discover more from Microbiology Class

Subscribe to get the latest posts sent to your email.

Leave a Reply

Discover more from Microbiology Class

Subscribe now to keep reading and get access to the full archive.

Continue reading