Objective To study the effect of milrinone(Mil) and prostaglandin E1(PGE1) on postoperative right ventricular failure(RVF). Methods 28 patients with congenital heart diseases and pulmonary hypertension undergoing cardiopulmonary bypass (CPB) were randomly divided into four groups: control group (group I), receiving Mil (Group II), receiving PGE1 (Group III), and receiving both Mil and PGE1(group IV). The hemodynamic indexes of all the patients, including mean pulmonary artery pressure (PAP), mean arterial blood pressure (MAP), cardiac index(CI), systemic vascular resistance (SVR) and pulmonary vascular resistance(PVR), were measured and compared. Intubation time and side effects were observed. Results Compared with the other three groups, postoperative PAP、PVR and SVR in group IV deceased and CI increased significantly. The intubation time was also shorter in group IV. Conclusion Postoperative RVF can be treated efficiently by using Mil and PGE1.