The formation of barium sulfate scale is a persistent and formidable challenge across various industrial processes. In order to effectively mitigate this problem, this study proposed the development of an innovative azacrown ether-based macrocycle descaling agent. Using density functional theory, an in-depth analysis of the surface energy of different barium sulfate crystal facets was carried out, together with a detailed investigation into the adsorption properties of the functional groups on the (001) surface. A further comprehensive investigation was carried out to determine how changes in the nitrogen and oxygen atoms in the crown ether framework influence its adsorption affinity to barium ions. In addition, a detailed analysis was carried out to elucidate the molecular interactions between crown ethers with pyridine carboxylic acid side chains and barium sulfate. The newly developed decalcifying macrocycle descaling agent exhibited superior adsorption performance, achieving an adsorption energy for barium ions approximately -4.1512 ev higher than that of conventional DTPA decalcifiers. This remarkable improvement is mainly attributed to the pivotal role of electrostatic forces in the coordination process between the macrocycle descaling agent and barium ions, with an electrostatic potential value reaching -143.37 kcal/mol. This discovery not only introduces a novel approach to the removal of barium sulfate scale but also highlights the significant potential of macrocycle chemistry in industrial applications.