Your immune system doesn't rely on a single "friend or foe" test. Instead, it combines multiple signals to decide whether a cell is healthy, infected, cancerous, or harmless. This layered approach helps it attack genuine threats while avoiding most healthy tissues.
Here are the main ways it tells the difference:
1. Cells display "ID badges" on their surface
Almost every cell in your body displays proteins called major histocompatibility complex (MHC) molecules. These molecules continuously present small fragments of proteins from inside the cell.
- Healthy cells display normal fragments from the body's own proteins.
- Virus-infected cells display viral protein fragments.
- Cancer cells may display abnormal protein fragments (called tumor antigens) created by mutations.
Specialized immune cells called T cells inspect these displayed fragments.
- If the fragments look normal, the T cell usually ignores the cell.
- If they contain foreign or abnormal proteins, the T cell may attack.
2. Immune cells are trained to tolerate "self"
When T cells and B cells develop, they undergo a selection process.
- Cells that strongly recognize the body's own proteins are usually eliminated or permanently inactivated.
- Cells that recognize foreign molecules are kept.
This process, called immune tolerance, greatly reduces the risk of attacking healthy tissues, although it isn't perfect (which is why autoimmune diseases can occur).
3. Immune cells sense signs of danger
The immune system also responds to molecules that signal infection or tissue damage.
These include:
- Pieces of bacterial cell walls
- Viral genetic material
- Molecules released by injured or dying cells
These "danger signals" activate the immune system even before it knows exactly what the invader is.
Cells like macrophages and dendritic cells use receptors called pattern recognition receptors (PRRs) to detect these common features of microbes.
When a macrophage recognizes a pathogen, it engulfs and digests it through phagocytosis:
4. Natural killer (NK) cells check for missing ID
Some viruses and cancers try to avoid detection by reducing their MHC molecules.
This creates another problem: T cells can't inspect cells that aren't displaying their protein fragments.
Natural killer (NK) cells solve this by looking for cells that have too little MHC.
- Normal MHC → leave the cell alone.
- Missing or unusually low MHC → the NK cell becomes more likely to kill the cell.
This is often called the "missing-self" mechanism.
5. Cancer cells are recognized as altered self
Cancer cells originate from your own tissues, so distinguishing them is especially challenging.
The immune system may recognize them because they:
- Produce mutated proteins that normal cells don't have.
- Express unusually high amounts of certain proteins.
- Become stressed and display stress signals.
- Lose normal MHC expression, making them targets for NK cells.
However, many cancers evolve ways to hide from immune cells or actively suppress immune responses, which is why tumors can sometimes grow despite immune surveillance.
6. The immune system uses multiple "yes/no" checkpoints
Immune cells rarely attack based on one signal alone. Instead, they integrate several cues:
| Signal | What it suggests |
|---|
| Normal self proteins | Healthy cell |
| Foreign protein fragments | Infection |
| Mutated protein fragments | Possible cancer |
| Danger signals | Tissue damage or infection |
| Missing MHC | Possible infected or cancerous cell |
| Co-stimulatory signals from other immune cells | Confirms an immune response is appropriate |
Only when enough activating signals outweigh inhibitory ones does an immune cell launch an attack.
Putting it all together
Imagine a security system at an airport:
- MHC molecules are like ID badges showing what is happening inside each cell.
- T cells are inspectors checking those badges.
- Pattern recognition receptors are sensors that detect common features of intruders.
- NK cells look for people trying to avoid inspection by removing their badges.
- Immune tolerance is the training that teaches security not to stop ordinary travelers.
Rather than relying on a single test, the immune system combines identity, behavior, and danger signals to distinguish healthy cells from microbes and many cancer cells while minimizing damage to the body's own tissues.