Congenital abnormalities can be detected during pregnancy through prenatal screening and diagnostic tests such as ultrasound, maternal blood tests, amniocentesis, and chorionic villus sampling (CVS). These tests help identify genetic disorders, physical malformations, and certain chromosomal abnormalities in the developing fetus.