The embodiment of the invention provides experiment equipment used for studying gas invasion and migration mechanism of oil and gas pitshaft. The experiment equipment comprises a pitshaft, a pitshaft pressure controlling unit, a drilling fluid injecting and discharging unit, a temperature controlling unit, a rock core clamp holder, a gas invading unit and a measuring device, wherein the pitshaft pressure controlling unit is used for controlling the pressure within the pitshaft; the drilling fluid injecting and discharging unit is used for controlling the amount of the drilling fluid within the pitshaft; the temperature controlling method is used for controlling the temperature within the pitshaft; the rock core clamp holder is used for clamping a rock core, one side of the rock core is exposed to the drilling fluid within the pitshaft; the gas invading unit is used for injecting gases to the rock core; and the measuring device is used for measuring information concerned with one or several of the following: bubble migration velocity, diffusion concentration and particle size distribution, bubble fusion process, hydrate phase transition process, as well as the migration velocity, the diffusion concentration and the particle size distribution of the hydrate after the phase change. The experiment equipment can study stratum gas invading pitshaft mechanism and bubbles migration, integration and / or phase change mechanism within the pitshaft, therefore providing experimental evidence for establishing a deepwater oil and gas pitshaft gas invading theoretical model.