This study investigated the influence of movable oil on the pore structure of various shale types, analyzing 19 shale samples from Well X in the Mahu Sag of the Junggar Basin. Initially, X-ray diffraction (XRD) analysis classified the shale samples. Subsequently, the geochemical properties and pore structures of the samples, both pre and post oil Soxhlet extraction, were comparatively analyzed through Total Organic Carbon (TOC) content measurement, Rock-Eval pyrolysis, and nitrogen adsorption experiments. Additionally, fractal theory quantitatively described the impact of movable oil on the pore structure of different shale types. Results indicated higher movable oil content in siliceous shale compared to calcareous shale. Oil extraction led to a significant increase in specific surface area and pore volume in all samples, particularly in siliceous shale. Calcareous shale predominantly displays H2–H3 type hysteresis loops, indicating a uniform pore structure with ink-bottle-shaped pores. Conversely, siliceous shale exhibited diverse hysteresis loops, reflecting its complex pore structure. The fractal dimension in calcareous shale correlated primarily with pore structure, exhibiting no significant correlation with TOC content before or after oil extraction. Conversely, the fractal dimension changes in siliceous shale samples do not have a clear correlation with either TOC content or pore structure, suggesting variations may result from both TOC and pore structure.