The paper also presents the growth kinetics of the hard layers on the surface grade machinery steels type AISI 9840 with a boron dehydrated paste. The thermochemical treatment was performed at three different temperatures: 1173, 1223, and 1273 K, with 2, 4, 6, and 8 h treatment time for each temperature. The presence of the hard layers FeB and Fe2B formed on the surface AISI 9840 was confirmed by cross sectional observation by scanning electron microscopy (SEM), XRD analysis and the distribution of alloy elements from hard layers was confirmed by energy dispersive spectroscopy (EDS). Using the law of parabolic growth the mobility of boron was included potential influence of boron, treatment time, temperature and time incubation in hard layers. Finally, nanoindentation technique test the modulus and hardness are obtained of the FeB and Fe2B hard layers.