We aimed to compare the associations of metabolic dysfunction-associated steatotic liver disease (MASLD) and metabolic dysfunction-associated fatty liver disease (MAFLD) with coronary artery calcification (CAC). Patients who simultaneously underwent ultrasonography to diagnose hepatic steatosis and cardiac computed tomography to detect CAC were included. The presence and severity of CAC were defined with CAC-score thresholds of > 0 and > 300, respectively, and patients were divided into the following groups: no MASLD or MAFLD (reference), MASLD-only, MAFLD-only, and overlapping groups. Overall, 1,060/2,773 (38.2%) patients had CAC, of which 196 (18.5%) had severe CAC. The MASLD and MAFLD prevalence rates were 32.6% and 45.2%, respectively, with an overlap of 30.7%. In an ASCVD risk score-adjusted model, both MASLD (adjusted odd ratios [aOR], 1.21; 95% confidence interval [CI], 1.02-1.44; p = 0.033) and MAFLD (aOR 1.20; 95% CI 1.01-1.42, p = 0.034) were associated with CAC, whereas only MASLD (aOR 1.38; 95% CI 1.01-1.89, p = 0.041) was associated with severe CAC. Compared to the reference group, the overlapping group showed an association with CAC (aOR 1.22; 95% CI 1.01-1.47; p = 0.038); however, the MASLD and MAFLD subgroups did not differ in their association with CAC. MASLD may predict a higher risk of ASCVD more effectively than MAFLD.