The CsNiF_3 has been for long time studied as a prototype of quasi-1D planar ferromagnetic system. At very low temperature the studied system is insulator and therefore the magnetic exchange interactions should decay very rapidly. We treated the magnetic exchange coupling within the Heisenberg model for the nearest neighbor interaction between the anti-ferromagnetically coupled Ni-chains. The influence of up to the second-nearest neighbors on the ferromagnetic exchange coupling along the Ni-chains was determined. The exchange interactions were calculated for the experimental volume by the density functional theory, within the all-electron approach using the local density approximation for the exchange and correlation. The Néel temperature was calculated by means of the mean-field theory and by the random-phase approximation method.