ObjectivesBoth contrast‐enhanced ultrasound (CEUS) and contrast‐enhanced magnetic resonance (CEMR) are important imaging methods for hepatocellular carcinoma (HCC). This study aimed to establish a model using preoperative CEUS parameters to predict microvascular invasion (MVI) in HCC, and compare its predictive efficiency with that of CEMR model.MethodsA total of 93 patients with HCC (39 cases in MVI positive group and 54 cases in MVI negative group) who underwent surgery in our hospital from January 2020 to June 2021 were retrospectively analyzed. Their clinical and imaging data were collected to establish CEUS and CEMR models for predicting MVI. The predictive efficiencies of both models were compared.ResultsBy the univariate and multivariate regression analyses of patients' clinical information, preoperative CEUS static and dynamic images, we found that serrated edge and time to peak were independent predictors of MVI. The CEUS prediction model achieved a sensitivity of 92.3%, a specificity of 83.3%, and an accuracy of 84.6% (Az: 0.934). By analyzing the clinical and CEMR information, we found that tumor morphology, fast‐in and fast‐out, peritumoral enhancement, and capsule were independent predictors of MVI. The CEMR prediction model achieved a sensitivity of 97.4%, a specificity of 77.8%, and an accuracy of 83.2% (Az: 0.900). The combination of the two models achieved a sensitivity of 84.6%, a specificity of 87.0%, and an accuracy of 86.2% (Az: 0.884). There was no significant statistical difference in the areas under the ROC curve of the three models.ConclusionThe CEUS model and the CEMR model have similar predictive efficiencies for MVI of HCC. CEUS is also an effective method to predict MVI before operation.