The experimental (X-ray diffraction and theoretical pseudopotential approximation} techniques are used to carry out the study of atomic short ranged order (SRO) in alloys of magnesium with holmium and terbium. The experimental investigations of SRO in these alloys are made at room as well as higher temperatures and in vacuum. The SRO of the type Mg 3 Cd is observed in Mg 3.3 at % Ho, whereas no diffuse maximum is observed on the diffractogroms of Mg 2.28 at % Tb. On the other hand complex phases of the type Mg24 Re5 are found to exist in both the alloys at higher temperatures. The calculation of ordering energy is carried out in the frame-work of pseudopotential approximation using Heine-Abarenkov type simple and 11-7-earth metal Animal's model potential. The results of the theoretical calculations of the SRO parameters for the first co-ordination sphere are found in agreement with the experimental values obtained from diffuse X-ray scattering intensity.