Skip navigation

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

URL of this page: https://medlineplus.gov/genetics/understanding/basics/gene/

What is a gene?

A gene is the basic physical and functional unit of heredity. Genes are made up of DNA. Some genes act as instructions to make molecules called proteins, which are needed for the body to function. However, many genes do not code for proteins, instead they help control other genes. 

The information in DNA is encoded in genetic building blocks called base pairs. In humans, genes vary in size from a few hundred DNA base pairs to more than 2 million base pairs. Between 1990 and 2003, an international research effort called the Human Genome Project worked to sequence all of the DNA in a human (known as the human genome). The project estimated that humans have between 20,000 and 25,000 genes that provide instructions for making proteins. Later studies sought to build on the work of the Human Genome Project and have provided additional details on the genome sequence. We now know that the human genome contains about 19,900 genes used to produce proteins.

Typically, people have two copies of each gene, one inherited from each parent. Most genes are the same in all people, but a small number of genes (less than 1 percent of the total) are slightly different between people. Forms of the same gene with small differences in their sequence of DNA bases are called alleles. These small differences contribute to each person’s unique physical features.

Scientists keep track of genes by giving them unique names. Because gene names can be long, genes are also assigned symbols, which are short combinations of letters (and sometimes numbers) that represent an abbreviated version of the gene name. For example, one of the genes on chromosome 7 is called the cystic fibrosis transmembrane conductance regulator because variants in this gene can cause cystic fibrosis. The symbol for this gene is CFTR.

Genes are made up of DNA. Each chromosome contains many genes.

A gene is labeled along the length of a chromosome.
Credit: U.S. National Library of Medicine

The information on this site should not be used as a substitute for professional medical care or advice. Contact a health care provider if you have questions about your health.