Differences and Similarities Between Bacteria and Viruses
Bacteria vs viruses compared: size, structure, genome, and replication, plus what they share and whether viruses are alive. A clear side-by-side for students.
On this page
Bacteria and viruses are both invisible causes of disease, and students routinely blur them together, yet they are profoundly different kinds of thing. A bacterium is a complete living cell that can grow and divide on its own.
A virus is not a cell at all, and cannot reproduce without hijacking a living host. This article sets them side by side: first what they share, then how they differ in size, structure, genome, and replication, and finally the question the comparison always raises, whether a virus is truly alive.
Viruses are submicroscopic particles built from proteins, nucleic acid, and sometimes a lipid envelope. They infect humans, animals, plants, and even bacteria, and because they cannot replicate without a living host, they are obligate intracellular parasites. Bacteria, by contrast, are unicellular prokaryotes that live almost everywhere and play both helpful roles (fermenting food, acting as probiotics, manufacturing industrial compounds) and harmful ones (causing disease from minor boils to meningitis and plague).
Similarities between bacteria and viruses
Although one is a living cell and the other is not, bacteria and viruses share several features that explain why they are so often discussed together:
Both are microscopic or submicroscopic infectious agents invisible to the naked eye (with rare exceptions such as the giant bacterium described below). Both carry genetic material, DNA or RNA, that directs their reproduction. Both can cause infectious disease in humans, animals, and plants, ranging from trivial to fatal. Both are transmissible, spreading by overlapping routes such as air, water, food, contact, and vectors. Both trigger the host immune system, and both can be targeted by specific medical countermeasures, antibiotics for bacteria, antivirals and vaccines for viruses. And both are studied within microbiology, using many of the same laboratory disciplines.
The shared features stop at reproduction, which is exactly where the most important differences begin.
The major structural and functional differences are summarized below.
| Variable | Bacteria | Viruses |
|---|---|---|
| Size | Typically 1 to 5 μm. The giant Thiomargarita magnifica reaches 1 to 2 cm and is visible to the naked eye, about 50 times larger than other giant bacteria and thousands of times larger than an average bacterium. | Most are 0.02 to 0.2 μm. The giant Mimivirus reaches about 0.7 μm. Viruses are generally far smaller than bacteria. |
| Living status | Living organisms. | Debated. Because they cannot replicate independently, viruses are often classed as non-living (see below). |
| Cellular nature | True cells. A nucleoid of condensed DNA with no surrounding membrane sits in cytoplasm where proteins are made and energy generated. No membrane-bound nucleus. | Not cells. An inner core of DNA or RNA with no cytoplasm; they depend entirely on host machinery for protein synthesis and energy. |
| Outer surface | Rigid cell wall containing peptidoglycan. | Protein capsid, sometimes with a lipoprotein envelope. |
| Motility | Some are motile, using flagella. | Non-motile. |
| Nucleic acid | Contain both DNA and RNA. | Contain either DNA or RNA, never both. |
| Genome size | Roughly 0.6 to 8 megabases, encoding 600 to 6,000 proteins. E. coli K-12 is about 4.6 Mb. | Vary enormously, from under 1 kbp (Circovirus) to about 1.2 to 2.5 Mbp (Mimivirus). Influenza carries only about 13,500 nucleotides. |
| Replication | Binary fission: one cell divides into two, keeping its structure throughout. | Disassembly and reassembly: the virus copies its nucleic acid and proteins separately inside a host cell, then assembles many new particles. |
| Host requirement | Most replicate extracellularly. Exceptions such as Rickettsia and Chlamydia need host cells. | Always require a living host cell; obligate intracellular parasites. |
| Treatment | Antibiotics (selected by susceptibility testing). | Antivirals where available; antibiotics do not work. |
| Examples | Escherichia coli, Salmonella Typhi, Staphylococcus aureus, Streptococcus pneumoniae, Mycobacterium tuberculosis, Neisseria gonorrhoeae. | Influenza, rhinovirus, rotavirus, coronavirus, measles virus, HIV, hepatitis B virus, rabies virus. |
(1 Mb = 1,000,000 bases.)
Are viruses bigger or smaller than bacteria?
This is one of the most common student questions, and the answer is clear: viruses are almost always much smaller than bacteria. A typical bacterium is 1 to 5 μm across; a typical virus is 0.02 to 0.2 μm, roughly ten to a hundred times smaller. The size ranges do overlap at the extremes, the giant Mimivirus (about 0.7 μm) is larger than the smallest bacteria, but as a rule of thumb, bacteria are the larger of the two and viruses are the smaller. This size gap is why bacteria can be seen with an ordinary light microscope while most viruses require an electron microscope.
Are viruses alive?
The page title's comparison always leads here, and it is worth answering directly rather than leaving it open. Viruses sit on the boundary between living and non-living. Arguments that viruses are not alive: they have no cells, no independent metabolism, and cannot generate energy or synthesize proteins on their own; outside a host they are inert particles. Arguments that viruses are alive: they carry genetic material, evolve by natural selection, and reproduce (using a host's machinery). The mainstream position in most textbooks is that viruses are not truly alive because they cannot reproduce independently, but the question remains genuinely debated, which is itself a useful thing for a student to understand: the definition of life does not have a perfectly clean boundary.
How to Remember
Cell versus not-a-cell is the whole comparison. Nearly every difference flows from one fact: a bacterium is a complete cell, a virus is not. Cells have walls, cytoplasm, their own machinery, and divide by fission. A virus has none of that, so it must borrow a host's machinery to reproduce. Anchor on "cell vs particle" and the rest follows.
Bacteria carry both nucleic acids; viruses pick one. A bacterium has both DNA and RNA, like any cell. A virus carries either DNA or RNA, never both. "Both for the cell, one for the particle."
Big bug, small bug. Bacteria are the big ones (micrometres, visible by light microscope), viruses the small ones (tens of nanometres, needing an electron microscope). The giants on each side, Thiomargarita and Mimivirus, are the memorable exceptions that prove the rule.
Antibiotics need a cell to attack. Antibiotics target bacterial structures such as the cell wall. A virus has no such structures and hides inside host cells, so antibiotics do nothing against it.
Key exam facts in one table
| Point | Bacteria | Viruses |
|---|---|---|
| Cell or not | True cell (prokaryote) | Not a cell |
| Living status | Living | Debated; usually classed non-living |
| Typical size | 1 to 5 μm | 0.02 to 0.2 μm |
| Nucleic acid | Both DNA and RNA | DNA or RNA, never both |
| Outer covering | Peptidoglycan cell wall | Protein capsid ± envelope |
| Replication | Binary fission | Assembly inside a host cell |
| Independent growth | Yes (most) | No; obligate intracellular |
| Ribosomes / own machinery | Present | Absent |
| Treatment | Antibiotics | Antivirals; not antibiotics |
| Giant exception | Thiomargarita magnifica (1 to 2 cm) | Mimivirus (~0.7 μm) |
Where Students Get Confused
Viruses are just very small bacteria. No. The difference is categorical, not one of degree. A bacterium is a living cell with its own machinery; a virus is a non-cellular particle that cannot reproduce without a host. Size is the least important difference between them.
Bacteria and viruses both have DNA, so they are similar inside. Both carry genetic material, but a bacterium has both DNA and RNA and its own ribosomes and metabolism, while a virus has only one type of nucleic acid and none of the machinery to use it. It must borrow the host's.
Viruses are alive because they reproduce*.* They reproduce only by hijacking a living host cell; they cannot do it alone. That dependence is the main reason most textbooks class them as non-living, though the question is genuinely debated.
Antibiotics can treat a viral infection if the dose is high enough. Dose is irrelevant. Antibiotics act on bacterial structures a virus does not possess, so they cannot work against a virus at any dose. This misunderstanding drives antibiotic misuse.
All bacteria are microscopic. Almost all are, but Thiomargarita magnifica grows to 1 to 2 centimetres and is visible to the naked eye, a striking exception worth remembering precisely because it is so unusual.
References and further readings
- Madigan MT, Bender KS, Buckley DH, Sattley WM, Stahl DA. Brock Biology of Microorganisms. 16th ed. Hoboken: Pearson; 2021.
- Louten J. Essential Human Virology. 2nd ed. London: Academic Press; 2022.
- Volland JM, Gonzalez-Rizzo S, Gros O, et al. A centimeter-long bacterium with DNA contained in metabolically active, membrane-bound organelles. Science. 2022;376(6600):1453–1458. https://doi.org/10.1126/science.abb3634
- Brown N, Bhella D. Are viruses alive? Microbiology Today. 2016. Microbiology Society.
Frequently Asked Questions
What is the simplest difference between a bacterium and a virus?
What is the simplest difference between a bacterium and a virus?
A bacterium is a complete living cell that can grow and divide on its own. A virus is not a cell and cannot reproduce without invading a living host cell. Almost every other difference, in size, structure, and treatment, follows from that one distinction.
Are viruses bigger or smaller than bacteria?
Are viruses bigger or smaller than bacteria?
Viruses are almost always much smaller. A typical virus is ten to a hundred times smaller than a typical bacterium, which is why bacteria can be seen under an ordinary light microscope while most viruses need an electron microscope.
Are viruses living or non-living?
Are viruses living or non-living?
It is debated. Viruses carry genetic material and evolve, but they have no cells, no independent metabolism, and cannot reproduce on their own. Most textbooks class them as non-living for that reason, while acknowledging they sit at the boundary of life.
Why do antibiotics not work on viruses?
Why do antibiotics not work on viruses?
Antibiotics attack structures found only in bacteria, such as the cell wall or bacterial protein-making machinery. Viruses have none of these and replicate inside the host's own cells, so there is nothing for an antibiotic to target.
What do bacteria and viruses have in common?
What do bacteria and viruses have in common?
Both are infectious agents that carry genetic material, cause disease, spread from host to host, and trigger the immune system. The key thing they do not share is independent reproduction: bacteria can divide on their own, viruses cannot. For how these two kinds of agent differ once they cause infection in a patient, including how the laboratory tells a bacterial infection from a viral one, see the related article on bacterial versus viral infections.

Tankeshwar Acharya, MSc (Medical Microbiology)
Tankeshwar Acharya is an Assistant Professor in the Department of Microbiology at Patan Academy of Health Sciences (PAHS), Nepal, where he has been teaching and practicing clinical microbiology for over 14 years. He is the founder of Microbe Online, one of the leading free microbiology education resources on the web, covering bacteriology, mycology, parasitology, immunology, and clinical laboratory diagnostics written from direct experience in both the classroom and the diagnostic laboratory.
Comments
No comments yet. Be the first to share your thoughts.
Leave a comment
All comments are reviewed before they appear.