The invention provides a mechanical leg and a wheel type mobile device, which belong to the technical field of computers. The mechanical leg comprises a rack, a telescopic piece, a wheel, a telescopicdriving piece, a walking driving piece, an auxiliary leg and an auxiliary wheel. The telescopic driving piece is located on the side of the rack, the telescopic piece is connected with the telescopicdriving piece, the wheel is connected with the telescopic piece and further connected with the walking driving piece, the first end of the auxiliary leg is connected with the auxiliary wheel, and thesecond end of the auxiliary leg is located on the rack. The telescopic piece is driven by the telescopic driving piece to stretch out and draw back to drive the wheel to jump, the wheel is driven bythe walking driving pieces to move, and when the auxiliary wheel makes contact with the ground, the mechanical leg moves under rolling of the wheel and the auxiliary wheel. By the adoption of the mechanical leg, the mechanical leg can rapidly move on the flat ground and can jump to pass through an obstacle when encountering the obstacle, and therefore the traffic capacity of the mechanical leg canbe improved.