The invention provides a high-pressure-resistant moving-magnet type bidirectional proportional electromagnet which comprises push rods, yokes, a shell, control coils, a first permanent magnet, a magnetic conduction ring, an armature, a second permanent magnet, limiting plates, guide sleeves and non-magnetic rings. Flanges of the yokes are matched with inner holes of the guide sleeves, and the three guide sleeves are magnetic conductors, are separated from one another by the non-magnetic rings made of non-magnetic-conduction materials and then are integrated with one another by means of welding. Compared with the prior art, the high-pressure-resistant moving-magnet type bidirectional proportional electromagnet has the advantages that the permanent magnets are used as main moving components, so that the shortcoming of constraints due to magnetic saturation and the like can be overcome, and outputted force of a system can be greatly increased; the outputted force or displacement can be bidirectionally and continuously controlled, and zero positions and dead zones can be prevented; the high-pressure-resistant moving-magnet type bidirectional proportional electromagnet is high-oil-pressure-resistant and can be used as a wet electro-mechanical converter; the high-pressure-resistant moving-magnet type bidirectional proportional electromagnet is simple in structure and low in manufacturing cost.