The invention discloses a gravel foundation pit enclosure structure. The structure comprises guardrail bodies, a fixing mechanism, fixing blocks, fixing holes, locking mechanisms, a fastening mechanism, compression springs, pressing rods, a push rod, an extrusion spring, push blocks, a telescopic spring and a pressing plate. The structure has the beneficial effects that bolts and the fixing blocks are fixed to the ground through a plurality of fixing holes, after the bolts are inserted into the fixing holes, the bolts can abut against baffles to rotate so as to abut against the push blocks to move, one ends of the push blocks abut against the pressing rods to get rid of the acting force of the compression springs to move downwards, and a plurality of push rods abut against the ground outside the fixing blocks. The fixing blocks are fixed to the ground more stably and firmly, meanwhile, dismounting and transferring are convenient without damage, the fixing blocks are convenient to recycle repeatedly, resource consumption is reduced, then the bottoms of the guardrail bodies are inserted into the fixing blocks correspondingly to be clamped, under the action of the locking mechanisms, the guardrail bodies are convenient to dismount and take out, and the mounting and dismounting efficiency of the guardrail bodies is improved.