The hyperfine fields and magnetic properties of amorphous and crystallized RxNd4-xFe77.5B18.5 (R identical to Y, Pr, Cd or Dy; 0<or=x<or=4) alloys have been investigated by means of magnetization measurements, zero-field spin-echo nuclear magnetic resonance (NMR) and the Mossbauer effect (ME). It is found that the Curie temperatures of amorphous alloys change slightly on the addition of R, but the coercive fields of crystallized alloys decrease monotonically with increasing x for R identical to Y, Pr and Gd. A small addition of Dy increases the coercivity; full substitution of Nd by Dy leads to low coercivity owing to the formation of the magnetically soft Dy3Fe62B14. NMR, ME and X-ray diffraction indicate that the samples with R identical to Pr and Gd for 0<or=x<or=4 and R identical to Y and Dy for 0<or=x<or=2 consist of Fe3B with a body-centred tetragonal (BCT) structure and a small amount alpha -Fe. Furthermore, the NMR results indicate that the 11B hyperfine fields of BCT Fe3B increase linearly from 25.3 kOe (34.7 MHz) to 26.3 kOe (36.0 MHz) on the addition of Dy or Gd, but that of alpha -Fe does not change with increasing R concentration; the Mossbauer spectra show that the relative intensity of the subspectrum corresponding to 57Fe at FeIII(8g) sites in BCT Fe3B is about 5% weaker than those of the other two, implying that about 5 at.% Fe atoms in this site are substituted by other atoms. According to this, it may be reasonable to assume that R atoms enter into BCT Fe3B.