To get rid of marching ants in Photoshop, follow the steps given below:
- Click on Select in the menu bar
- Choose Deselect, and the marching ants will disappear.
OR
- You can just press the Esc button or press Ctrl + D (for Windows) or Cmd + D (for iOS users).