A method of machining, with a focused ion beam, a phase shift mask having a phase shifter disposed on a transparent substrate, formed into a predetermined pattern and acting to shift a phase of exposure light transmitted therethrough and an etching stopper layer disposed between said phase shifter and said transparent substrate, which is resistant to an etching to which said phase shifter is subjected and transparent for the exposure light, comprising steps of:
- in order to correct a lacking type defect of said phase shifter, making a laser beam incident upon a surface of said mask which is being subjected to perforating with a focused ion beam;
- obtaining an interfered light by allowing a light beam reflected, by said surface to be perforated, of said incident laser beam and a reference laser beam obtained by reflecting said incident laser beam at a reference surface which is different from said surface to be perforated to interfere with each other;
- and
- monitoring a depth of perforation by detecting a change in said interfered light during perforating.