We study theoretically the Ruderman-Kittel-Kasuya-Yosida (RKKY) interaction in one-and twodimensions in presence of a Rashba spin-orbit (SO) coupling. We show that rotation of the spin of conduction electrons due to SO coupling causes a twisted RKKY interaction between localized spins which consists of three different terms: Heisenberg, Dzyaloshinsky-Moriya, and Ising interactions. We also show that the effective spin Hamiltonian reduces to the usual RKKY interaction Hamiltonian in the twisted spin space where the spin quantization axis of one localized spin is rotated.There has been a great deal of interest in the field of spintronics where spin degrees of freedom of electrons are manipulated to produce a desirable outcome 1,2 . Eminent examples are given by the giant magnetoresistance (GMR) effect 3,4,5 and the interlayer exchange coupling in magnetic multilayers 6,7,8 . The interlayer exchange coupling is explained in the context of Ruderman-KittelKasuya-Yosida (RKKY) interaction 9,10 , equivalently, or in terms of spin-dependent electron confinement 11,12 . The RKKY interaction is an indirect exchange interaction between two localized spins via the spin polarization of conduction electrons 13,14,15,16 .Recently, much attention has been focused on the effect of the Rashba spin-orbit (SO) coupling in twodimensional electron gases (2DEG) 17 . Investigation of the Rashba effect of 2DEG in semiconductor heterostructures has been stimulated by the proposition of a spin field effect transistor 18 . It has been established the Rashba SO coupling can be controlled by means of a gate voltage 19,20,21,22 . The Rashba effect has also been observed in 2DEG formed from surface states electrons at metal surfaces such as Au (111) 23,24,25,26,27 , Li/W(110) or Li/Mo(110) 28 . It has also been found that confinement of the surface state due to atomic steps on vicinal surfaces leads to quasi one-dimensional (1D) surface states, which also exhibit the Rashba effect 29,30,31 .Usually the RKKY interaction yields a parallel or antiparallel coupling of localized spins (Heisenberg coupling). However, if spin of conduction electrons precesses due to the spin-orbit coupling, it can be possible to produce a non-collinear Dzyaloshinsky-Moriya (DM) coupling of localized spins 32,33,34 . In this paper, we investigate the RKKY coupling between localized spins embedded in a 1D-or 2DEG with Rashba SO coupling. We show that rotation of the spin of conduction electrons due to the Rashba SO coupling causes a twisted RKKY interaction between localized spins which consists of three different terms: Heisenberg, Dzyaloshinsky-Moriya, and Ising interactions. We point out that a perturbative treatment of the SO coupling as is usually done 32,33,34 is valid only for small distances between the localized spins; in this case the DM and Ising terms are respectively linear and quadratic with respect to the SO coupling strength. In the limit of large distances, a non-perturbative treatment of the SO coupling is necessary, and one obtains DM and Ising terms...