The aim of this work is to find some intriguing optical soliton solutions in ([Formula: see text]) dimensions. These soliton solutions including rational, dark, periodic, and elliptic solitons are discovered using the unified technique and the fractional order Local M-derivative to address the temporal fractional Kundu–Mukherjee–Naskar equation. It is the modification of familiar Nonlinear Schrödinger equation and used to describe the bending of an optical solitonic beam in the domain of nonlinear fiber optics and communication system. The obtained solutions are suggested with relevant conditions for their existence and displayed against 3D graphics. Also, to observe and identify the effect of fractional-order parameter on constructed solutions is shown through 2D graphs. The findings highlight that the suggested approach is simple, efficient and successful in determining the exact solution of models in optics, engineering, and other nonlinear sciences.