Core–shell microstructure proposed for enhancing the coercivity thermal stability. Coercivity enhanced to nearly 2 T by diffusion-processing with Nd–Co alloy. Good squareness and highly textured microstructure obtained. Nd-rich phases observed by TEM after diffusion process. Coercivity thermal stability improved with minor Co addition in grain boundary regions.