A case of right-sided congenital diaphragmatic hernia was detected at 33 weeks of gestation. Fetal echocardiography revealed the presence of an intrapericardial mass (3.5 x 3 cm) localized at the right of the heart and surrounded by a massive pericardial effusion. This mass had the same echogenicity as the liver, with which it shared vascular channels. The diagnosis of right diaphragmatic hernia with protrusion of hepatic tissue into the pericardial sac and secondary pericardial effusion was made and confirmed after birth. In utero diagnosis of this anomaly enabled correct assessment of perinatal risk, and optimal fetal and infant management.