Conclusion: Determining the risk factors of late extubation is useful to make a logical and exactly decision for weaning the mechanical ventilation in children with congenital heart diseases undergoing complete repair during postoperative period.