Explainer
How heredity works: genes, alleles and inheritance patterns
A gene is the basic physical and functional unit of heredity, and people typically have two copies of each gene, one from each parent.[1][2] When the two versions (alleles) differ, a dominant allele is expressed and masks the effect of a recessive one.[3] Gregor Mendel worked out these basic patterns with pea plants in the 19th century.[4] Some traits, such as height, depend on many gene variants plus environment, so they are hard to predict.[5][6]
Traits pass from parents to children in patterns first worked out by Gregor Mendel.[4] This page explains the units of heredity, the rules Gregor Mendel found, the main patterns that single-gene conditions follow, and why most everyday traits are more complicated.
This page is general information, not medical advice or genetic counselling. Questions about a family history of a genetic condition are best taken to a doctor or genetic counsellor.
Genes, chromosomes and alleles
A gene is the basic physical and functional unit of heredity.[1] The Human Genome Project estimated that humans have between 20,000 and 25,000 protein-coding genes.[7] In the nucleus of each cell, DNA is packaged into thread-like structures called chromosomes.[8] Humans have 22 pairs of numbered chromosomes, called autosomes, and one pair of sex chromosomes (XX or XY), 46 in total. One chromosome of each pair comes from each parent.[9] The DNA explainer covers the molecule itself.
People typically have two copies of each gene, one from each parent.[2] The different versions of a DNA sequence at the same spot are called alleles. Someone with two matching alleles is homozygous, and someone with two different alleles is heterozygous.[10]
How genes are passed on
Eggs and sperm are made by a special cell division called meiosis. One cell with two sets of chromosomes divides twice, giving four cells that each carry a single set.[11] This matters because body cells carry two sets of chromosomes, so the egg and sperm that join at fertilisation must each carry one.[12]
Mendel’s rules
The basic patterns of inheritance were worked out by the Austrian monk Gregor Mendel, who did thousands of experiments with pea plants in the 19th century.[4] He published his research, Experiments in Plant Hybridization, in 1865 and sent reprints to prominent scientists in several countries.[13] Naturalists of his time did not appreciate his abstract idea of genes, and his work lay fallow until 1900, when three European scientists independently confirmed his results.[14]
- No blending. Offspring generally seem to be a mix of their parents, but Mendel found that crossing pure-bred pea plants did not produce offspring with blended traits.[15]
- Dominant and recessive. When a person’s two alleles differ, the dominant one is expressed and the effect of the recessive one is masked.[3] A recessive trait shows only when both alleles are the recessive version.[16]
- One copy in each egg or sperm. Mendel deduced that sex cells carry only one parental gene of each pair. The half-sets from the sperm and the egg then restore a whole set of genes in the offspring.[17]
Patterns of inheritance
Some genetic conditions are caused by variants in a single gene, and they are usually inherited in one of several patterns:[18]
| Pattern | How it works |
|---|---|
| Autosomal dominant | One altered copy of the gene is enough for a person to be affected.[19] |
| Autosomal recessive | Both copies carry variants. Each parent carries one altered copy, usually without signs, so the condition often skips generations.[20] Sickle cell disease is inherited this way,[21] and cystic fibrosis is caused by inheriting two altered copies of the CFTR gene.[22] When two carriers of cystic fibrosis have a child, there is a 1 in 4 chance the child has the condition.[23] |
| X-linked | Males have one X chromosome, so one altered copy can cause the condition. Males are affected by X-linked recessive disorders much more often than females.[24] Fathers cannot pass X-linked traits to their sons.[25] |
| Mitochondrial | Mitochondria carry a little DNA of their own. Only egg cells contribute mitochondria to an embryo, so only mothers pass on mitochondrial variants.[26] |
Not every variant is inherited. Inherited variants are present in virtually every cell, while non-inherited variants arise during life and are found only in some cells.[27] They can be caused by environmental factors such as ultraviolet radiation, or by errors when DNA is copied during cell division.[28] New (de novo) variants are found in a child but in neither parent.[29]
Traits shaped by many genes
Height is an example of a trait shaped by many genes. Scientists estimate that about 80 percent of a person’s height is determined by inherited DNA variations, and more than 700 such variants have been found.[30] Because so many are involved, a pattern called polygenic inheritance, it is hard to predict how tall a child will be.[5] Environment matters too, including the mother’s nutrition, smoking and exposure to hazardous substances during pregnancy.[6]
Eye colour was once thought to follow a simple one-gene pattern, with brown dominant over blue. It is now known to involve multiple genes, most of them involved in the pigment melanin, and iris colour ranges on a continuum from very light blue to dark brown.[31]
Read next: how genes become proteins and how evolution works, which builds on inheritance.
Read next
How cells work: membranes, organelles and cell division
What a cell is, how prokaryotic and eukaryotic cells differ, what the nucleus, mitochondria and ribosomes do, and how cells divide.
Questions readers ask
What is a gene?
A gene is the basic physical and functional unit of heredity. People typically have two copies of each gene, one inherited from each parent, and the Human Genome Project estimated that humans have 20,000 to 25,000 protein-coding genes.[1][2][7]
How many chromosomes do humans have?
Humans have 22 pairs of numbered chromosomes and one pair of sex chromosomes (XX or XY), 46 in total. One chromosome of each pair comes from each parent.[9]
What is the difference between dominant and recessive?
When a person's two alleles of a gene differ, the dominant allele is expressed and the effect of the recessive allele is masked. A recessive trait appears only when both alleles are the recessive version.[3][16]
Why are some conditions more common in males?
Males have only one X chromosome, so a single altered copy of an X-linked gene can cause a condition. That is why males are affected by X-linked recessive disorders much more often than females.[24]
Can a child have a genetic variant that neither parent has?
Yes. New (de novo) variants are found in a child but not in either parent.[29]
Sources
· 31 claims from 6 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
A gene is the basic physical and functional unit of heredity. confirmedas of 2026-11-14
- What is a gene? · MedlinePlus Genetics (National Library of Medicine) · Primary source · What is a gene? (retrieved 2026-11-14)
- [2]
People typically have two copies of each gene, one inherited from each parent. confirmedas of 2026-11-14
- What is a gene? · MedlinePlus Genetics (National Library of Medicine) · Primary source · What is a gene? (retrieved 2026-11-14)
- [3]
When a person's two alleles of a gene differ, the dominant allele is expressed and the effect of the recessive allele is masked. confirmedas of 2026-11-14
- Dominant (Talking Glossary of Genomic and Genetic Terms) · National Human Genome Research Institute · Primary source · Definition (retrieved 2026-11-14)
- [4]
Traits pass from parents to offspring in patterns that were established by the Austrian monk Gregor Mendel through thousands of experiments with pea plants in the 19th century. confirmedas of 2026-11-14
- Mendelian Inheritance (Talking Glossary of Genomic and Genetic Terms) · National Human Genome Research Institute · Primary source · Definition (retrieved 2026-11-14)
- Mendelian Inheritance (Talking Glossary of Genomic and Genetic Terms) · National Human Genome Research Institute · Primary source · Definition (retrieved 2026-11-14)
- [5]
Because height depends on many gene variants, a pattern called polygenic inheritance, it is hard to predict how tall a child will be. confirmedas of 2026-11-14
- Is height determined by genetics? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Is height determined by genetics? (retrieved 2026-11-14)
- [6]
Height is also influenced by environmental factors, including the mother's nutrition, smoking and exposure to hazardous substances during pregnancy. confirmedas of 2026-11-14
- Is height determined by genetics? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Is height determined by genetics? (retrieved 2026-11-14)
- [7]
The Human Genome Project estimated that humans have between 20,000 and 25,000 protein-coding genes. confirmedas of 2026-11-14
- What is a gene? · MedlinePlus Genetics (National Library of Medicine) · Primary source · What is a gene? (retrieved 2026-11-14)
- [8]
In each cell's nucleus, DNA is packaged into thread-like structures called chromosomes. confirmedas of 2026-11-14
- What is a chromosome? · MedlinePlus Genetics (National Library of Medicine) · Primary source · What is a chromosome? (retrieved 2026-11-14)
- [9]
Humans have 22 pairs of numbered chromosomes (autosomes) and one pair of sex chromosomes (XX or XY), 46 in total, with one chromosome of each pair coming from each parent. confirmedas of 2026-11-14
- Chromosome (Talking Glossary of Genomic and Genetic Terms) · National Human Genome Research Institute · Primary source · Definition (retrieved 2026-11-14)
- [10]
An allele is one version of a DNA sequence at a given location in the genome; a person inherits two alleles, one from each parent, and is homozygous if they match and heterozygous if they differ. confirmedas of 2026-11-14
- Allele (Talking Glossary of Genomic and Genetic Terms) · National Human Genome Research Institute · Primary source · Definition (retrieved 2026-11-14)
- Allele (Talking Glossary of Genomic and Genetic Terms) · National Human Genome Research Institute · Primary source · Definition (retrieved 2026-11-14)
- [11]
Meiosis is the cell division that makes eggs and sperm: one diploid cell divides twice to give four haploid cells, each with a single set of chromosomes. confirmedas of 2026-11-14
- Meiosis (Talking Glossary of Genomic and Genetic Terms) · National Human Genome Research Institute · Primary source · Definition (retrieved 2026-11-14)
- Meiosis (Talking Glossary of Genomic and Genetic Terms) · National Human Genome Research Institute · Primary source · Definition (retrieved 2026-11-14)
- [12]
Body cells carry two sets of chromosomes, one from each parent, so the egg and sperm that join at fertilisation must each carry a single set. confirmedas of 2026-11-14
- Meiosis (Talking Glossary of Genomic and Genetic Terms) · National Human Genome Research Institute · Primary source · Definition (retrieved 2026-11-14)
- [13]
Mendel published his research, Experiments in Plant Hybridization, in 1865 and sent reprints to prominent scientists in several countries. reportedas of 2026-11-14
- Concept 6: Genes are real things (DNA from the Beginning) · Cold Spring Harbor Laboratory DNA Learning Center · Secondary source · Concept 6 (retrieved 2026-11-14)
- [14]
Mendel's abstract idea of genes was not appreciated by naturalists of his time, and his work lay fallow until 1900, when three European scientists independently confirmed his results. reportedas of 2026-11-14
- Concept 6: Genes are real things (DNA from the Beginning) · Cold Spring Harbor Laboratory DNA Learning Center · Secondary source · Concept 6 (retrieved 2026-11-14)
- Concept 6: Genes are real things (DNA from the Beginning) · Cold Spring Harbor Laboratory DNA Learning Center · Secondary source · Concept 6 (retrieved 2026-11-14)
- [15]
Offspring generally seem to be a mixture of their parents' characteristics, but Mendel found that crossing pure-bred pea plants did not produce offspring with blended traits. reportedas of 2026-11-14
- Concept 3: Genes don't blend (DNA from the Beginning) · Cold Spring Harbor Laboratory DNA Learning Center · Secondary source · Concept 3 (retrieved 2026-11-14)
- Concept 3: Genes don't blend (DNA from the Beginning) · Cold Spring Harbor Laboratory DNA Learning Center · Secondary source · Concept 3 (retrieved 2026-11-14)
- [16]
A recessive trait appears only when both alleles are the recessive version; one copy alone does not produce the trait. confirmedas of 2026-11-14
- Recessive (Talking Glossary of Genomic and Genetic Terms) · National Human Genome Research Institute · Primary source · Definition (retrieved 2026-11-14)
- Recessive (Talking Glossary of Genomic and Genetic Terms) · National Human Genome Research Institute · Primary source · Definition (retrieved 2026-11-14)
- [17]
Mendel deduced that sex cells, sperm and eggs, carry only one parental gene of each pair, and that the half-sets from sperm and egg restore a whole set of genes in the offspring. reportedas of 2026-11-14
- Concept 5: Genetic inheritance follows rules (DNA from the Beginning) · Cold Spring Harbor Laboratory DNA Learning Center · Secondary source · Concept 5 (retrieved 2026-11-14)
- Concept 5: Genetic inheritance follows rules (DNA from the Beginning) · Cold Spring Harbor Laboratory DNA Learning Center · Secondary source · Concept 5 (retrieved 2026-11-14)
- [18]
Some genetic conditions are caused by variants in a single gene and are usually inherited in one of several patterns. confirmedas of 2026-11-14
- What are the different ways a genetic condition can be inherited? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Introduction (retrieved 2026-11-14)
- [19]
In autosomal dominant inheritance, one altered copy of the gene in each cell is enough for a person to be affected. confirmedas of 2026-11-14
- What are the different ways a genetic condition can be inherited? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Patterns of inheritance table, Autosomal dominant (retrieved 2026-11-14)
- [20]
In autosomal recessive inheritance, both copies of the gene carry variants; the parents each carry one altered copy but typically show no signs, so these conditions often skip generations. confirmedas of 2026-11-14
- What are the different ways a genetic condition can be inherited? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Patterns of inheritance table, Autosomal recessive (retrieved 2026-11-14)
- What are the different ways a genetic condition can be inherited? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Patterns of inheritance table, Autosomal recessive (retrieved 2026-11-14)
- [21]
Sickle cell disease is caused by variants in the HBB gene, which makes beta-globin, and is inherited in an autosomal recessive pattern; sickle cell anaemia (HbSS), in which hemoglobin S replaces both beta-globin subunits, is the most common form, while in other forms one subunit is hemoglobin S and the other a different version such as hemoglobin C. confirmedas of 2026-11-07
- Sickle cell disease (MedlinePlus Genetics) · MedlinePlus (National Library of Medicine) · Primary source · Causes (retrieved 2026-11-07)
- Sickle cell disease (MedlinePlus Genetics) · MedlinePlus (National Library of Medicine) · Primary source · Inheritance (retrieved 2026-11-07)
- Sickle cell disease (MedlinePlus Genetics) · MedlinePlus (National Library of Medicine) · Primary source · Causes (retrieved 2026-11-07)
- Sickle cell disease (MedlinePlus Genetics) · MedlinePlus (National Library of Medicine) · Primary source · Causes (retrieved 2026-11-07)
- [22]
Cystic fibrosis is caused by inheriting two mutated copies of the CFTR gene; the faulty CFTR protein disrupts how salt and water move in and out of cells, making mucus thick and sweat extra salty. confirmedas of 2026-11-07
- Cystic Fibrosis: Causes and Risk Factors · National Heart, Lung, and Blood Institute (NIH) · Primary source · Causes (retrieved 2026-11-07)
- Cystic Fibrosis: Causes and Risk Factors · National Heart, Lung, and Blood Institute (NIH) · Primary source · How do CFTR mutations cause cystic fibrosis? (retrieved 2026-11-07)
- [23]
A person with one altered CFTR gene is a carrier without symptoms; if two carriers have a child, there is a 1 in 4 chance the child has cystic fibrosis, a 2 in 4 chance the child is a carrier and a 1 in 4 chance of neither. confirmedas of 2026-11-07
- Cystic fibrosis · NHS · Primary source · Causes (retrieved 2026-11-07)
- Cystic fibrosis · NHS · Primary source · Causes (retrieved 2026-11-07)
- Cystic fibrosis · NHS · Primary source · Causes (retrieved 2026-11-07)
- Cystic fibrosis · NHS · Primary source · Causes (retrieved 2026-11-07)
- [24]
Males have one X chromosome, so a single altered copy of an X-linked gene can cause a condition, which is why males are affected by X-linked recessive disorders much more often than females. confirmedas of 2026-11-14
- What are the different ways a genetic condition can be inherited? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Patterns of inheritance table, X-linked recessive (retrieved 2026-11-14)
- What are the different ways a genetic condition can be inherited? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Patterns of inheritance table, X-linked recessive (retrieved 2026-11-14)
- [25]
Fathers cannot pass X-linked traits to their sons. confirmedas of 2026-11-14
- What are the different ways a genetic condition can be inherited? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Patterns of inheritance table, X-linked (retrieved 2026-11-14)
- [26]
Mitochondria carry a small amount of their own DNA, and because only egg cells contribute mitochondria to an embryo, only mothers pass on mitochondrial variants. confirmedas of 2026-11-14
- What are the different ways a genetic condition can be inherited? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Patterns of inheritance table, Mitochondrial (retrieved 2026-11-14)
- What are the different ways a genetic condition can be inherited? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Patterns of inheritance table, Mitochondrial (retrieved 2026-11-14)
- [27]
Inherited gene variants are passed from parent to child and are present in virtually every cell; non-inherited variants arise during life and are present only in certain cells. confirmedas of 2026-11-14
- What is a gene variant and how do variants occur? · MedlinePlus Genetics (National Library of Medicine) · Primary source · What is a gene variant? (retrieved 2026-11-14)
- What is a gene variant and how do variants occur? · MedlinePlus Genetics (National Library of Medicine) · Primary source · What is a gene variant? (retrieved 2026-11-14)
- [28]
Non-inherited variants can be caused by environmental factors such as ultraviolet radiation, or by errors when DNA copies itself during cell division. confirmedas of 2026-11-14
- What is a gene variant and how do variants occur? · MedlinePlus Genetics (National Library of Medicine) · Primary source · What is a gene variant? (retrieved 2026-11-14)
- [29]
New (de novo) variants are found in a child but not in either parent. confirmedas of 2026-11-14
- What is a gene variant and how do variants occur? · MedlinePlus Genetics (National Library of Medicine) · Primary source · What is a gene variant? (retrieved 2026-11-14)
- [30]
Scientists estimate that about 80 percent of a person's height is determined by inherited DNA variations, and more than 700 such variants have been found. confirmedas of 2026-11-14
- Is height determined by genetics? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Is height determined by genetics? (retrieved 2026-11-14)
- Is height determined by genetics? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Is height determined by genetics? (retrieved 2026-11-14)
- [31]
Researchers used to think eye colour was set by a single gene, with brown dominant over blue; it is now linked to several genes, most involved in the pigment melanin, which combine to give a continuum of colours. confirmedas of 2026-11-14
- Is eye color determined by genetics? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Is eye color determined by genetics? (retrieved 2026-11-14)
- Is eye color determined by genetics? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Is eye color determined by genetics? (retrieved 2026-11-14)
- Is eye color determined by genetics? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Eye color (retrieved 2026-11-14)
- Is eye color determined by genetics? · MedlinePlus Genetics (National Library of Medicine) · Primary source · Is eye color determined by genetics? (retrieved 2026-11-14)
Revision history (1)
- Page created.
Created Nov 14, 2026. Last reviewed by an editor on Nov 14, 2026. Next scheduled review: Aug 14, 2027.
Cite this page
"How heredity works: genes, alleles and inheritance patterns." ContentLora, updated Nov 14, 2026. https://contentlora.com/explain/how-heredity-works
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.