The application discloses a depth-adjustable soil sampler, which comprises a sampling frame, bottom plates fixed on both sides of the sampling frame, and plug rods connected with the two bottom plates; when sampling, the sampling frame is placed at a sampling position, the plug rods are inserted into the soil, the sampling frame is fixed, and the soil is sampled; when the sampling is completed, a person steps on a pedal, the pedal is driven to rotate downward, the rotation of the pedal drives the rotation of a rotating shaft, the rotation of the rotating shaft drives the upward rotation of a rotating rod, the rotating rod drives the upward rotation of a baffle, the baffle impacts a moving plate during the rotation, the moving plate is driven to move upward, the moving plate drives the upward movement of the plug rods, and the automatic resetting of the pedal after each time of stepping is realized by the arrangement of a reset component, the next time of stepping on the pedal is facilitated, the plug rods can be pulled out under the repeated stepping on the pedal, the plug rods can be quickly pulled out, the use of the sampler is facilitated, and the use efficiency of the sampler is improved.