The micro-arc oxidation coating of pure titanium was tested by mercury intrusion porosimetry (MIP), and the porosity were corrected by the proportion of coating volume, and finally a more accurate coating porosity was obtained. At the same time, the fractal dimension of pore structure was calculated by linear regression equation using mercury intrusion data. The results show that: the traditional image method is limited to the statistics of the pore area on the two-dimensional plane, while the MIP can not only obtain the average pore size and pore size distribution of the sample, but also eliminate the influence of the matrix by correcting the test results, and obtain the accurate porosity value. The results of the verification experiment also show that the change of the porosity of the MIP is positively correlated with the oxidation time, which reflects the consistency of the test results. By processing and calculating the pressure, pore size, cumulative mercury intrude volume and incremental mercury intrude volume obtained by mercury intrusion experiment, the fractal dimension of coating pore structure will be further obtained, which provides more reference factors for the relationship between coating performance and pore structure.