Magnetocardiographic mapping was performed on a 2-year-old boy who suffered from the Wolff-Parkinson-White syndrome in association with a complex congenital heart defect. The pre-excitation site was determined noninvasively from the measured cardiac magnetic fields. The location was in the same anatomic region as found by intraoperative epicardial mapping. This result shows that magnetocardiography can be helpful for determining an accessory pathway also in patients with grossly abnormal cardiac anatomy.