Magnets can be machined. However, hard magnet materials – as opposed to the flexible or rubber covered magnets materials- are extremely difficult to machine. Magnets should be machined using diamond tools or soft grinding wheels, and in the un-magnetized state as far as possible. In general, it is best not to try and machine hard magnet materials unless you are familiar with these specialized machining techniques.