The invention discloses a prostate puncturing mechanism applied to an inner part of a magnetic resonance imaging machine and a working method. The mechanism comprises an outer needle rotation unit, an inner needle feeding unit and an anti-friction unit, wherein when a prostate puncturing needle is a rigid needle, friction resistance in a puncturing process can be reduced through high-frequency vibration of the anti-friction unit; and when the prostate puncturing needle is a flexible needle, rotation of the flexible needle can be controlled through the outer needle rotation unit, so that guidance and obstacle avoidance are realized. According to the prostate puncturing mechanism disclosed by the invention, by adopting a nonmagnetic or weak-magnetic material such as resin and aluminum alloys, and the prostate puncturing mechanism is not affected by a magnetic field, has a less influence on image quality and has good nuclear magnetic compatibility; and meanwhile, by adopting direct driving of nonmagnetic ultrasonic motors of a variety of forms, motion conversion mechanism is eliminated, and therefore, the prostate puncturing mechanism has the characteristics of being compact in structure, high in displacement controlling property and high in response speed.