Background Dilated cardiomyopathy (DCM) is a common cause of sudden cardiac death and heart failure in children, its different etiologies are significantly associated with the prognosis of children with DCM. However, there is a lack of accurate etiologic diagnosis and effective risk stratification programs. Primary DCM has the highest prevalence and relatively poor prognosis, especially in children with genetic factors. Therefore, the analysis of mortality risk factors based on genetic background would be beneficial for the accurate prognosis and risk stratification of children with DCM. Objective To explore the proportion of genetic etiology, genetic characteristics and factors related to poor prognosis of primary DCM in children. Methods The clinical data and genetic testing results of 42 children with primary DCM who were hospitalized in Hebei Children's Hospital from July 2018 to December 2022 and completed genetic testing were retrospectively collected, and the included children were regularly followed up in the cardiology outpatient department of Hebei Children's Hospital after discharge. With the time of death or 2022-12-31 as the end point of follow-up, the children were divided into the death group (9 cases) and survival group (33 cases) according to the follow-up outcomes. Survival curves of the children were plotted using the Kaplan-Meier method, and comparisons between groups were performed using the Log-rank test. Multivariate COX proportional risk model was used to analyze the risk factors for death. Results The median age of first diagnosis was 12 (7, 96) months, and the median follow-up time was 24 (9, 36) months. The median follow-up time was 8 (0, 11) months in the death group and 30 (12, 39) months in the survival group, the difference was statistically significant (Z=-2.19, PT) in the dead children with negative gene mutation was classified as unclear clinical significance. The Kaplan-Meier survival curve of the children was plotted, and the Log-rank test results showed that the survival rate of children with negative gene mutation was higher than that of children with positive gene mutation (χ2=18.1, P