The invention discloses a compression resistance detection device for automobile part production and processing. The device comprises a mounting rack, u-shaped plates, metering lines, rotary drums, L-shaped guide rods, guide columns, placement seats, striking hammers, adjusting plates, limiting grooves, electric push rods, telescopic columns, fixed pulleys, pull ropes, first stepping motors, winding wheels, driven bevel gears, electromagnets, clamping plates, driving bevel gears, mounting frames, small worms, large worms, second stepping motors, shaft rods, driving gears, sliding rods, U-shaped guide rods and driven gears. According to the device, spare and accessory parts can be better clamped; the position deviation of spare and accessory parts during impact is avoided; the striking hammers can strike the spare and accessory parts more sufficiently, the striking efficiency is greatly improved, different striking forces are better applied to the spare and accessory parts for strikingdetection, the detection efficiency is greatly improved, the detection result is also greatly improved, and meanwhile, the practicability is also enhanced.