The paper presents examples of the use of pulse force nanolithography, performed with a probe of an atomic force microscope, to form magnetic nanowires, nanocontacts, one- and two-dimensional arrays with characteristic dimensions of about 50-100 nm.