Recent advances in Middle Permian gas exploration in the southern Sichuan Basin have uncovered significant knowledge gaps regarding hydrocarbon sourcing and accumulation mechanisms, which are crucial for informing deep exploration strategies. This research systematically investigates the gas composition, stable isotopes (δ
13C, δD), and fault architecture of the Maokou Formation to clarify the hydrocarbon origin, genetic characteristics, and accumulation processes. The main findings are as follows: 1) The Maokou reservoirs contain predominantly dry gas (dryness index >.99) rich in methane, with minor amounts of heavy hydrocarbons. Non-hydrocarbon gases (N
2, CO
2, H
2S) have distinct sources: CO
2 primarily originates from the thermal cracking of organic matter in overmature marine source rocks, while localized inorganic CO
2 likely arises from the thermal decomposition of carbonates; H2S is mainly produced through the thermochemical breakdown of sulfur-containing organic compounds (TDS). 2) The gas is indicative of high-over-maturity crude oil-cracked gas. Isotopic reversals (δ
13C
1 > δ
13C
2 < δ
13C
3; δD
1 > δD
2) are attributed to: (a) Mixing of early-stage oil-associated gas and later-stage cracking gas; (b) Hybrid sourcing from Middle Permian and Lower Silurian Longmaxi Formation source rocks. 3) The fault system displays thrust-dominated deformation with superimposed strike-slip and multiphase reactivation. Grade I–II thrust faults and strike-slip zones facilitate the vertical migration of gas sourced from the Silurian. Structures lacking such faults rely on near-source accumulation, primarily through self-sourced reservoirs in the first member of the Maokou Formation. Gas distribution is controlled by both Permian and Silurian dual-source charging and multiple tectonic stages, creating a combined oil and gas formation model of "early accumulation - mid-stage cracking - late adjustment."