4D flow MRI is a technique that uses phase contrast MRI to acquire 3D velocity data throughout the cardiac cycle, providing a time-resolved 3D velocity field. This allows for comprehensive visualization and quantification of blood flow in the heart and surrounding vessels. After acquisition, the 4D flow MRI data undergoes preprocessing and corrections before 3D visualization of blood flow patterns like streamlines or pathlines over the cardiac cycle. Whole heart 4D flow MRI has been used to assess congenital heart disease patients after surgery and has identified abnormal flow patterns in the pulmonary arteries of patients with repaired tetralogy of Fallot.