Sickle cell anemia can be diagnosed in newborns through a routine screening test called the newborn screening. This test, often performed using a blood sample from a heel prick, detects the presence of hemoglobin S. Early diagnosis is crucial for managing and treating the disease effectively.