The invention discloses a mechanical arm with a good clamping effect. The mechanical arm with the good clamping effect comprises a power box, wherein a first sliding rod is arranged below the power box, a first fixing rod is arranged on the first sliding rod, second protruding tables are arranged at the left end and the right end of the first fixing rod correspondingly, second sliding rods are arranged on the front sides of the second protruding tables, clamping blocks are arranged at the ends, far away from the second protruding tables, of the second sliding rods, swinging rods are arranged at the end, away from the power box, of the first sliding rod, and internal clamping blocks are arranged at the ends, away from the first sliding rod, of the swinging rods. According to the mechanicalarm with the good clamping effect, when the device runs, a power mechanism in the power box is used, so that the first sliding rod moves upwards, the effect of simultaneously clamping the interior andthe exterior of a pipeline is achieved, and the clamping effect is obvious, and meanwhile, the first sliding rod serves as a driving rod, it is guaranteed that under the condition that one of external clamping and internal clamping fails, the clamping effect can be achieved by using the other clamping, the accident rate is reduced, and the device is suitable for large-scale popularization.