A micromachining technique has been developed for the fabrication of microscale polymer-bonded magnet. Two types of lithographically defined molds, photoresist mold and electroplated metal mold, were introduced. Photoresist mold is convenient, while electroplated metal mold can be fabricated on the glass or steel substrate which can bear much more compression. NdFeB films of thickness between 50 and 500 µm were prepared by micro-patterning of composites containing 83-95wt% of commercial NdFeB powder after curing at the room temperature. Magnetic properties mainly depend on the types and percentage of volume loading of magnetic powder. Coercivity of 772.4kA/m (9.70kOe), remanence of 275.1mT (2.751kG), and energy product of 22.6kJ/m3 (2.8MGOe) have been achieved. This easily developed magnet could be a promising candidate for applications in magnetic microelectromechanical systems (MEMS).