Objective To investigate the value of transperineal 4-dimensional ultrasound imaging in the diagnosis of early postpartum stress urinary incontinence (SUl) in primiparous women. Methods A total of 110 primiparous women who had vaginal delivery and underwent transperineal 4-dimensional ultrasound 6-10 weeks after delivery at Jieyang People's Hospital were selected for the retrospective analysis. Among them, the 58 cases with SUI were set as a case group (SUI group) who were (29.00±3.88) years old, and the rest 50 cases without SUI as a control group (non-SUI group) who were (28.28±4.37) years old. Both groups underwent perineal 4-dimensional ultrasound examination. The structural parameters of the anal raphe were compared between the two groups at rest, retraction, and maximal Valsalva. The receiver operator characteristic curves (ROC) were drawn to assess the diagnostic efficacy of each parameter for SUI. t test and non-parametric test were used. Results In the resting state, there were no statistical differences in the area and circumference of the anal raphe fissure, the thickness of the anal raphe at the level of the anal sphincter, and area of the anal raphe between the two groups (all P>0.05). In the contracted state, there were no statistical differences in the area and circumference of the anal raphe fissure between the two groups (both P>0.05). The thickness of the anal raphe at the level of the anal sphincter and area of the anal raphe in the case group were lower than those in the control group [7.5 (7.0, 7.9) mm vs. 8.4 8.0, 8.6) mm and (10.98±1.79) cm2 vs. (11.90±2.22) cm2], with statistical differences (Z=-6.064 and t=-2.341; both P<0.05). Under the maximal Valsalva manoeuvre, there was no statistical difference in the anal raphe fissure circumference between the two groups (P>0.05); the anal raphe fissure area in the case group was bigger than that in the control group [23 (20, 28) cm2 vs. 17 (15, 20) cm2], with a statistical difference (Z=-6.005, P<0.05); the thickness of the anal raphe at the level of the anal sphincter and area of the anal raphe in the case group were less than those in the control group [6.2 (5.9, 6.4) mm vs. 6.5 (6.3, 6.7) mm and (10.14±3.21) cm2 vs. (12.02±2.80) cm2], with statistical differences (Z=-4.264 and t=-3.218; both P< 0.05). The sensitivities of the fissure area of the anal raphe >19.5 cm², the thickness of the anal raphe <6.0 mm, and the area of the anal raphe <8.5 cm² under the maximal Valsalva maneuver and the thickness of the anal raphe <7.5 mm, and the area of the anal raphe <12.5 cm² under the contracted state were 82.8%, 82.8%, 37.9%, 79.3%, and 79.3%, respectively; the specificities were 72.0%, 54.0%, 90.0%, 78.0%, and 46.0%, respectively; the areas under their curves (AUC) were 0.835, 0.738, 0.673, 0.839, and 0.625, respectively; the AUC for the combined analysis of the above five parameters was 0.924, with a sensitivity of 91.4% and a specificity of 80.0%. Conclusions Transperineal 4-dimensional ultrasound has high application value in the diagnosis of early postpartum SUI in primiparous women. The combined analysis of multiple ultrasound parameters can significantly improve the diagnostic efficacy of SUI.