Bacterial Cell Walls: Structure, Function & Types

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: Bacterial Structures and Their Functions

You're on a roll. Keep up the good work!

Take Quiz Watch Next Lesson
Your next lesson will play in 10 seconds
  • 0:06 Osmotic Pressure
  • 2:32 Cell Envelope
  • 2:58 Cell Wall
  • 4:13 Peptidoglycan
  • 5:14 Gram-Positive
  • 5:47 Gram-Negative
Save Save Save

Want to watch this again later?

Log in or sign up to add this lesson to a Custom Course.

Log in or Sign up

Speed Speed Audio mode

Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Angela Hartsock

Angela has taught college Microbiology and has a doctoral degree in Microbiology.

The bacterial cell wall has to be strong to prevent cell lysis but also porous to allow transport across the cell membrane. In this lesson, we will examine the structure of the bacterial cell wall and how it accomplishes both of these crucial tasks.

Osmotic Pressure

Bacterial cells appear simple, but building these cells represents quite an engineering challenge. To understand this challenge, we first have to understand osmotic pressure and its relationship to bacterial cells.

Osmosis is defined as the movement of water through a semipermeable membrane from areas of low solute concentration to areas of high solute concentration. A solute is simply any substance dissolved in a solvent liquid, which is typically water. The water is able to pass through the membrane, but the solute cannot. If one side has more solute (a hypertonic solution) than the other side (a hypotonic solution), the water will move to the more concentrated side in an attempt to balance the solute concentrations. If the hypertonic solution is in an enclosed vessel, the inflow of water can create significant pressure, possibly enough to rupture the vessel.

So what does this have to do with bacteria? Bacteria are covered by a cell membrane, which is semipermeable. Water is able to freely diffuse into or out of the cell via transport proteins, depending on the solute concentrations. Generally, on the inside of the cell, there's a considerable amount of solute. The bacteria have DNA, proteins, enzymes, salts, nutrients, and ions in solution in the cytoplasm that are held in by the semipermeable nature of the membrane. It is crucial for the survival of the bacterium that these molecules stay in the cytoplasm. Inside the cell, the cytoplasmic solution is hypertonic compared to the environment. What we have just learned about water is that it strives for balance and should diffuse into the cell. Unfortunately for the cell, the resulting osmotic pressure can be up to 2 atmospheres, which is about the same pressure as your car tires!

So, going back to that engineering challenge, the bacteria need to develop some mechanism that will prevent the cell from rupturing but still be porous enough for materials like nutrients or wastes to get into and out of the cell.

Cell Envelope

Bacterial cells are covered by a cell envelope that is composed of a cell membrane and a cell wall. The cell membrane is a phospholipid bilayer that regulates the transport of molecules into and out of the cell. This is the weak structure that would burst from the osmotic pressure without reinforcement. The cell wall is the component of the envelope that provides that reinforcement.

Cell Wall

Nearly every genus of bacteria has a cell wall, which is a rigid, carbohydrate-containing structure that surrounds the bacterial cell. As is always the case in biology, there are a few oddballs, like the genus Mycoplasma, that have lost their cell walls, but since they are a minority, having a cell wall must be a major advantage to the bacteria.

This cell wall exoskeleton provides the bacteria with several benefits. The cell wall protects the bacterium from damage by encircling it with a tough, rigid structure. This structure is also porous. Small molecules are able to freely pass through the cell wall to the membrane, but large molecules are excluded. In this way, the cell wall acts as a coarse filter. The primary function of the cell wall, however, is to maintain the cell shape and prevent bursting from osmotic pressure (called lysis).

Not surprisingly, nature seems to have solved the challenge perfectly. The cell wall maintains its shape and its permeability! By digging into the details, we can understand how the cell wall accomplishes this.


The major structural component of the cell wall is peptidoglycan, which is a complex molecule composed of alternating units of N-acetylglucosamine (NAG) and N-acetylmuramic acid (NAM) cross-linked by short peptides. What results is a flat, crosshatch pattern that is very strong and rigid, yet open enough for movement of particles. As you can see, peptidoglycan resembles a chain-link fence.

Nearly all bacteria have cell walls made of peptidoglycan. But there is more to a cell wall than just peptidoglycan. In nature, there are two major types of cell walls, Gram-positive and Gram-negative, each with very different structures. The term 'Gram' refers to the Gram-staining technique that differentiates bacteria with the two different cell walls. For this lesson, it's not important to know the exact staining procedure.

To unlock this lesson you must be a Member.
Create your account

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use

Become a member and start learning now.
Become a Member  Back
What teachers are saying about
Try it risk-free for 30 days

Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it risk-free for 30 days!
Create an account