The Structure and Function of a Cell Wall

Leaf Cells
This is a microscope image of moss leaf cells showing cell walls (between cells) and chloroplasts (green).

Alan Phillips/E+/Getty Images

A cell wall is a rigid, semi-permeable protective layer in some cell types. This outer covering is positioned next to the cell membrane (plasma membrane) in most plant cells, fungi, bacteria, algae, and some archaea. Animal cells however, do not have a cell wall. The cell wall has many important functions in a cell including protection, structure, and support.

Cell wall composition varies depending on the organism. In plants, the cell wall is composed mainly of strong fibers of the carbohydrate polymer cellulose. Cellulose is the major component of cotton fiber and wood, and it is used in paper production. Bacterial cell walls are composed of a sugar and amino acid polymer called peptidoglycan. The main components of fungal cell walls are chitin, glucans, and proteins.

Plant Cell Wall Structure

A section of the cell wall in a plant cell
By LadyofHats (Own work) [Public domain], via Wikimedia Commons

The plant cell wall is multi-layered and consists of up to three sections. From the outermost layer of the cell wall, these layers are identified as the middle lamella, primary cell wall, and secondary cell wall. While all plant cells have a middle lamella and primary cell wall, not all have a secondary cell wall.

  • Middle lamella: This outer cell wall layer contains polysaccharides called pectins. Pectins aid in cell adhesion by helping the cell walls of adjacent cells to bind to one another.​
  • Primary cell wall: This layer is formed between the middle lamella and plasma membrane in growing plant cells. It is primarily composed of cellulose microfibrils contained within a gel-like matrix of hemicellulose fibers and pectin polysaccharides. The primary cell wall provides the strength and flexibility needed to allow for cell growth.​
  • Secondary cell wall: This layer is formed between the primary cell wall and plasma membrane in some plant cells. Once the primary cell wall has stopped dividing and growing, it may thicken to form a secondary cell wall. This rigid layer strengthens and supports the cell. In addition to cellulose and hemicellulose, some secondary cell walls contain lignin. Lignin strengthens the cell wall and aids in water conductivity in plant vascular tissue cells.

Plant Cell Wall Function

Plant Cell
This micrograph image shows a plant cell and its internal organelles. The cell wall appears as the thin layer between the cells and the nucleus is the prominent, round organelle with the smaller red nucleolus.

Dr. Jeremy Burgess/Science Photo Library/Getty Images

A major role of the cell wall is to form a framework for the cell to prevent over expansion. Cellulose fibers, structural proteins, and other polysaccharides help to maintain the shape and form of the cell. Additional functions of the cell wall include:

  • Support: The cell wall provides mechanical strength and support. It also controls the direction of cell growth.​
  • Withstand turgor pressure: Turgor pressure is the force exerted against the cell wall as the contents of the cell push the plasma membrane against the cell wall. This pressure helps a plant to remain rigid and erect, but can also cause a cell to rupture.​
  • Regulate growth: The cell wall sends signals for the cell to enter the cell cycle in order to divide and grow.
  • Regulate diffusion: The cell wall is porous allowing some substances, including proteins, to pass into the cell while keeping other substances out.​
  • Communication: Cells communicate with one another via plasmodesmata (pores or channels between plant cell walls that allow molecules and communication signals to pass between individual plant cells).​
  • Protection: The cell wall provides a barrier to protect against plant viruses and other pathogens. It also helps to prevent water loss.​
  • Storage: The cell wall stores carbohydrates for use in plant growth, especially in seeds.

Plant Cell Structures and Organelles

Plant Cell Nucleus
This micrograph image of a section through a plant cell reveals its internal structure. Inside the cell wall are chloroplasts (dark green), the site of photosynthesis, and the nucleus (orange), which contains the cell's genetic information.

Dr. David Furness, Keele University/Science Photo Library/Getty Images

The plant cell wall supports and protects internal structures and organelles. These so called 'tiny organs' perform needed functions for the support of cell life. Organelles and structures that can be found in a typical plant cell include:

  • Cell (Plasma) Membrane: This membrane surrounds the cytoplasm of a cell, enclosing its contents.​
  • Cell Wall: The outer covering of the cell that protects the plant cell and gives it shape is the cell wall.
  • Centrioles: These cell structures organize the assembly of microtubules during cell division.​
  • Chloroplasts: The sites of photosynthesis in a plant cell are chloroplasts.​
  • Cytoplasm: This gel-like substance within the cell membrane supports and suspends organelles.​
  • Cytoskeleton: The cytoskeleton is a network of fibers throughout the cytoplasm.​
  • Endoplasmic Reticulum: This organelle is an extensive network of membranes composed of both regions with ribosomes (rough ER) and regions without ribosomes (smooth ER).​
  • Golgi Complex: This organelle is responsible for manufacturing, storing and shipping certain cellular products.​
  • Lysosomes: These sacs of enzymes digest cellular macromolecules.​
  • Microtubules: These hollow rods function primarily to help support and shape the cell.​
  • Mitochondria: These organelles generate energy for the cell through respiration.​
  • Nucleus: This large, membrane bound structure with in the cell contains the cell's hereditary information.​
  • Nucleolus: This circular structure within the nucleus helps in the synthesis of ribosomes.​
  • Nucleopores: These tiny holes within the nuclear membrane allow nucleic acids and proteins to move into and out of the nucleus.​
  • Peroxisomes: These tiny structures are bound by a single membrane and contain enzymes that produce hydrogen peroxide as a by-product.​
  • Plasmodesmata: These pores, or channels, between plant cell walls allow molecules and communication signals to pass between individual plant cells.​
  • Ribosomes: Composed of RNA and proteins, ribosomes are responsible for protein assembly.​
  • Vacuole: This typically large structure in a plant cell helps to support the cell and participates in a variety of cellular functions including storage, detoxification, protection, and growth.

The Cell Wall of Bacteria

Bacterial Cell
This is a diagram of a typical prokaryotic bacterial cell. By Ali Zifan (Own work)/ Wikimedia Commons/CC BY-SA 4.0

Unlike in plant cells, the cell wall in prokaryotic bacteria is composed of peptidoglycan. This molecule is unique to bacterial cell wall composition. Peptidoglycan is a polymer composed of double-sugars and amino acids (protein subunits). This molecule gives the cell wall rigidity and helps to give bacteria shape. Peptidoglycan molecules form sheets which enclose and protect the bacterial plasma membrane.

The cell wall in gram-positive bacteria contains several layers of peptidoglycan. These stacked layers increase the thickness of the cell wall. In gram-negative bacteria, the cell wall is not as thick because it contains a much lower percentage of peptidoglycan. The gram-negative bacterial cell wall also contains an outer layer of lipopolysaccharides (LPS). The LPS layer surrounds the peptidoglycan layer and acts as an endotoxin (poison) in pathogenic bacteria (disease causing bacteria). The LPS layer also protects gram-negative bacteria against certain antibiotics, such as penicillins.

Cell Wall Key Points

  • The cell wall is an outer protective membrane in many cells including plants, fungi, algae, and bacteria. Animal cells do not have a cell wall.
  • The main functions of the cell wall are to provide structure, support, and protection for the cell.
  • The cell wall in plants is composed mainly of cellulose and contains three layers in many plants. The three layers are the middle lamella, primary cell wall, and secondary cell wall.
  • Bacterial cell walls are composed of peptidoglycan. Gram-positive bacteria have a thick peptidoglycan layer and gram-negative bacteria have a thin peptidoglycan layer. 


  • Lodish, H, et al. "The Dynamic Plant Cell Wall." Molecular Cell Biology. 4th ed., W. H. Freeman, 2000,
  • Young, Kevin D. “Bacterial Cell Wall.” Wiley Online Library, Wiley/Blackwell (10.1111), 19 Apr. 2010,
mla apa chicago
Your Citation
Bailey, Regina. "The Structure and Function of a Cell Wall." ThoughtCo, Apr. 5, 2023, Bailey, Regina. (2023, April 5). The Structure and Function of a Cell Wall. Retrieved from Bailey, Regina. "The Structure and Function of a Cell Wall." ThoughtCo. (accessed June 10, 2023).