In this paper, we report on domain wall (DW) pinning and depinning behavior using square notch and antinotch in NiFe nanowires. The presence of the DW in the samples was probed experimentally from focus magneto-optical Kerr effect (MOKE) measurement and anisotropic magnetoresistance (AMR). Pinning strengths as well as distribution of depinning field were measured. DW traps with antinotches were found to be more effective than notches, and the DW kept its structure during the depinning processes. Simulations of the magnetization orientation agreed with our results.