The foramen ovale is an opening between the right and left atria of the heart that allows blood to bypass the lungs. After birth, increased pressure in the left atrium relative to the right atrium causes the foramen ovale to close functionally, usually within the first few minutes to hours of life. Anatomical closure may take several months.