Embodiments disclosed herein generally relate to a method for forming a HAMR head. The method includes depositing a drop-on-demand mask on a portion of a surface of a slider using a drop-on-demand tool. The surface of the slider includes at least a portion of an NFT. A first protective layer is deposited over a remaining portion of the surface of the slider and over the drop-on-demand mask. The drop-on-demand mask and a portion of the first protective layer disposed on the drop-on-demand mask are removed, exposing at least the portion of the NFT. A second protective layer is deposited on the first protective layer and at least the exposed portion of the NFT. By using the drop-on-demand tool to deposit the drop-on-demand mask, the alignment between the drop-on-demand mask and the portion of the NFT is less stringent, and the drop-on-demand mask can be easily removed using a wiping tool.