CHD can often be detected prenatally through fetal echocardiography, which uses ultrasound to create images of the developing heart. After birth, CHD may be diagnosed using various imaging techniques such as echocardiograms, chest X-rays, and MRI scans.