Evolution and life stagesHeart
How the Heart Develops: From a Simple Tube to Four Chambers
For general education about how the body works, not medical advice. Medical disclaimer.

The human heart begins as two thin tubes in the third week after fertilization. The tubes join into a single heart tube, which starts to beat at about day 22, folds into an S shape and is divided into the four chambers of the adult heart by about week 8. Each step follows a fixed order, so the same structures appear in nearly every embryo.
Contents
The heart as the first working organ
The heart is one of the first organs to work in the developing embryo. The embryo grows too quickly to rely on diffusion alone, so a circulation has to start early. Before the heart beats, oxygen and nutrients reach the embryo by diffusion through its thin outer layers, and later through the yolk sac and the placenta.
The heart forms from mesoderm, the middle of the three layers of cells that appear during gastrulation. Heart precursor cells appear in a region at the front of the embryo, near the developing head. These cells give rise to the heart’s muscle, its inner lining and its outer covering. The muscle layer is the myocardium, the inner lining is the endocardium and the outer covering is the epicardium.
Embryologists count time from fertilization, while clinicians often count pregnancy from the first day of the last menstrual period. That starting day falls about two weeks before fertilization, so day 22 after fertilization is about week 5 of pregnancy. This article uses the embryonic count.
Week 3: forming the heart tube
During the third week, heart precursor cells move toward the midline of the embryo and form two small tubes. Each tube has an inner layer of endothelium and an outer layer of muscle precursors. The two tubes fuse in the midline into one straight heart tube at about day 21 to 22 after fertilization. Between the layers, a jelly-like matrix called cardiac jelly keeps the muscle layer and the inner lining apart.
The straight tube connects at its back end to veins that bring blood from the yolk sac, the placenta and the embryo’s body. At its front end, it connects to the large arteries that carry blood away from the heart. Blood enters at the back of the tube and leaves at the front. At this stage the tube has no valves and no separate chambers.
The first heartbeats begin at about day 22. The contractions start near the back end of the tube, where the cells that later form the pacemaker are found, and they travel forward in a wave. The early beats are weak and irregular. The rhythm becomes more regular over the following days as the cells of the tube become electrically coupled. Fixed one-way flow through valves develops later, after the tube has folded.
Week 4: looping the heart tube
The heart tube grows faster than the space in the chest allows. As it lengthens, it bends first to the right and then folds back on itself, forming an S-shaped loop. This process is called cardiac looping, and it occurs at about day 23 to 28, during the fourth week. Looping brings the future chambers into their adult order.
Along the tube, bulges appear that become the adult chambers. From the back end to the front, these are the sinus venosus, the primitive atrium, the primitive ventricle, the bulbus cordis and the truncus arteriosus. The bulbus cordis and truncus arteriosus form the outflow tract, which later becomes the base of the aorta and the pulmonary trunk. The sinus venosus is absorbed into the right atrium, and tissue from its right side forms the sinoatrial node.
During looping the ventricle moves to the right, and the atrium moves up and behind it. The heart also moves down from the neck region into the chest. By the end of the fourth week it lies in the chest, enclosed by the pericardium, the membrane sac that surrounds it.
Valve formation starts during looping. Swellings called endocardial cushions form in the atrioventricular canal and in the outflow tract. The cushions later shape the atrioventricular valves, and ridges in the outflow tract form the semilunar valves at the base of the aorta and the pulmonary trunk.
Weeks 4 to 8: dividing into four chambers
Dividing the atria begins during the fourth and fifth weeks. A thin wall called the septum primum grows down from the roof of the primitive atrium toward the cushions. A gap, the ostium primum, is left at its lower edge, and this gap closes as the septum meets the cushions. Before it closes, a second opening, the ostium secundum, forms higher in the septum.
A second wall, the septum secundum, grows beside the first. It leaves an opening in its lower part called the foramen ovale, a flap-like gap between the two atria. The foramen ovale lets blood flow from the right atrium into the left atrium and bypass the lungs. Before birth the lungs are filled with fluid and do not exchange gas, so this route serves the fetus.
At birth, the first breaths expand the lungs, blood returns to the left atrium in larger volumes, and pressure on the left side rises. This pressure pushes the flap of the foramen ovale shut against the septum primum, and the two sides usually fuse over the following months. The change in the circulation after birth is described on the fetal circulation page.
The ventricular septum forms in two parts. The muscular part grows up from the floor of the ventricle during the fifth and sixth weeks. The membranous part forms from tissue that grows down from the endocardial cushions and closes the last gap near the top of the wall. The septum is complete by about week 8. The interventricular septum page describes the finished wall.
The outflow tract is divided by a spiral ridge, the aorticopulmonary septum, which separates the aorta from the pulmonary trunk. The ridge twists as it grows, so the two large arteries cross each other near the heart before they reach their final positions. By about week 8 the aorta is connected to the left ventricle and the pulmonary trunk to the right, and the four-chamber plan is in place.
Heart structure in other animals
The vertebrate heart shares a common early plan, a tube that forms from mesoderm and loops. The adult form differs between groups. Fish have a two-chamber heart with one atrium and one ventricle, which pumps blood through the gills and then on to the body. Amphibians have three chambers, two atria and one ventricle, so oxygen-rich and oxygen-poor blood mix to some degree.
Most reptiles have three chambers, with a ventricle that is partly divided. Crocodilians have four chambers, with a fully divided ventricle. Birds and mammals both have four chambers. These two groups have separate lineages, so the four-chamber heart is generally understood to have evolved more than once, even though both groups share the looped-tube pattern of early development.
A human embryo therefore passes through a stage that is structurally similar to the simple tube of a fish. This resemblance does not mean that a human embryo repeats the history of an ancestor’s adult heart. The tube forms first because it is the simplest working pump, and later steps add the chambers that a larger body needs.
Comparative anatomy and embryology together explain why a four-chamber design appears in several groups. Comparing the stages of different animals shows which steps are shared and which are added or lost. The human pattern is one of many, and the same basic tools are used in each.
What scientists still debate
Scientists still debate how the heart’s first cells are assigned to their roles. Studies in mice, chicks and zebrafish describe two groups of heart precursors, often called the first and second heart fields. The first field is thought to form most of the left ventricle and the atria, and the second field the outflow tract and much of the right ventricle. How strictly the two groups are separated, and how far they overlap, is still under study.
The origin of the pacemaker tissue is another open question. Researchers still work out exactly which cells from the sinus venosus region become the sinoatrial node, and how its electrical pattern is set before the chambers are fully formed. These details matter for understanding how the normal rhythm is established.
The timing of septum closure also varies between species. The same stages occur in humans, mice and birds, but the times differ, so comparisons must allow for that. Scientists also debate how closely the early heart tube of simpler animals resembles the adult heart of more complex ones, and the answer depends on which features are compared.
Much of what is known about human heart development comes from embryos studied under microscopes and from imaging. Some details in human embryos are hard to observe directly, so comparative studies fill part of the picture.
Frequently asked questions
When does the human heart start beating?
The heart starts to beat at about day 22 after fertilization, which is around week 5 of pregnancy when pregnancy is counted from the first day of the last menstrual period. The first beats are weak and irregular, and the rhythm becomes steadier over the following days.
Does the embryonic heart start with four chambers?
No. The early heart is a single straight tube with no separate chambers. Bulges form along the tube during looping and become the atria and ventricles, and the chambers are fully divided by about week 8.
What is the foramen ovale?
The foramen ovale is an opening between the two atria in the fetal heart. It lets blood bypass the lungs, which do not exchange gas before birth. It normally closes soon after birth, and the two sides fuse over the following months.
When does the heart's septum form?
The atrial septum starts to form in the fourth week and grows through the fifth week. The ventricular septum is complete by about week 8, and the outflow tract is divided into the aorta and pulmonary trunk at about the same time.
Do all animals form their hearts the same way?
Vertebrates share an early heart tube that loops, but the adult design differs. Fish have two chambers, most reptiles and amphibians have three, and birds and mammals have four.
Sources and further reading
- Moore, Keith L. and T.V.N. Persaud, "The Developing Human: Clinically Oriented Embryology"
- Larsen, William J., "Human Embryology"
- OpenStax, "Anatomy and Physiology 2e"
Cite this page
“How the Heart Develops: From a Simple Tube to Four Chambers.” Body Atlas, https://body.bigworldlist.com/evolution/how-the-heart-develops-in-the-embryo/.
Heart: more questions and guides
- ProfileHeart: Anatomy, Chambers and How the Human Heart Works
- ComparisonArteries vs Veins: Differences in Structure and Blood Flow
- ListChambers of the Heart: The 4 Chambers and What Each One Does
- ComparisonChild vs Adult Body: Key Differences in Anatomy and Physiology
- QuestionDoes the Human Body Produce Electricity? Bioelectricity Explained
- ListFacts About the Human Heart: Surprising Heart Facts
- Evolution and life stagesFetal Circulation: How Blood Flows Before Birth and Changes After
- Evolution and life stagesFetal Leftovers: Structures From Before Birth in the Adult Body
- ListHeart Facts for Kids: How Your Heart Pumps Blood Every Day