Magnetic domain walls can be controlled through a spin torque, which is usually influenced by extrinsic factors, such as defects, that pin the domain walls to specific configurations. It is now shown that intrinsic pinning conditions can be achieved, which will facilitate the development of efficient information storage devices based on domain wall control.