We consider the problem of magnetization reversal of nanosized ferromagnetic sample caused by the spin-orbit interaction of electrons arising in the field of an incident electromagnetic wave. We consider the case when the frequency of the incident electromagnetic radiation is close to the frequency of interband transitions. We have shown that with the use of high power lasers, this mechanism causes the magnetization reversal of the sample when the frequency of the radiation falls within the optical range.