Kaposiform hemangioendothelioma is a rare tumour of vascular origin that rarely occurs in the heart. We provided a rare case of a 26-day-old infant with tachypnoea. Echocardiography showed a solid tumour in the pericardial cavity and a large amount of pericardial effusion. The solid tumour was confirmed by surgery, and the pathology was kaposiform hemangioendothelioma. We analysed this case and reviewed the related literature to explore the clinical features and echocardiographic manifestations to improve the understanding, diagnosis, and treatment of this disease for clinicians and sonographers.