TGA is often diagnosed through prenatal ultrasound or after birth via a physical examination and imaging studies. Common diagnostic tools include echocardiography, which uses sound waves to create detailed images of the heart, and cardiac MRI. In some cases, a chest X-ray or a CT scan may also be utilized.