Using a quark-diquark model of baryons and by working in the framework of perturbative quantum chromodynamics we present, for the first time, the next-to-leading-order (NLO) corrections to the fragmentation process of a heavy quark into a ground state triply heavy baryon. For a complete analysis, we also study the effect of nonperturbative dynamic of baryon bound state on the extracted fragmentation functions considering a typical wave function which is different from the Dirac-delta function that was applied in all previous works. Our results show that the NLO corrections are significant, while the effect of the baryonic wave function is of minor importance.