Magnetic skyrmions, which are topological spin configuration, have gained interest in the past few years. However, skyrmions suffer from the skyrmion Hall effect, a phenomenon where skyrmions deflect from the path of the electron flow and annihilate at the edge of the track. There are attempts to overcome this effect using synthetic antiferromagnetic layer structures and ferrimagnetic layer structures. Herein, a new approach based on introducing Dzyaloshinskii–Moriya interaction (DMI) energy wells is reported to direct the motion of skyrmions in a nanowire. It is shown through simulations that by creating DMI energy wells with a critical DMI value, a skyrmion moves within the boundaries set by the energy wells. It is also shown that the diameter of a skyrmion can be reduced by decreasing the space between the DMI energy wells. The proposed DMI energy well enables packing of skyrmion tracks at a high density. In this view, the effect of magnetostatic interactions between multiple skyrmions on their motion in parallel tracks is also investigated. Furthermore, the effect of changing the distance between skyrmions on magnetostatic interactions is studied. These results offer a new path toward maneuvering the skyrmion motion for racetrack memory or logic devices.