Susceptibility to heat-affected zone (HAZ) cracking during electron-beam welding was studied in two INCONEL 718-based alloys doped with different levels of boron. By lowering the carbon, sulfur, and phosphorous concentrations to be "as low as possible," the occurrence of HAZ cracking was related directly to the level of segregation of boron at grain boundaries, which occurred by nonequilibrium segregation during a preweld heat treatment. The study has demonstrated a direct correlation between the amount of boron segregated at grain boundaries and their susceptibility to HAZ cracking, in terms of the total crack length and number of cracks observed in the HAZ. The analysis of results suggests that both the melting and resolidification temperatures of the boron-segregated grain boundaries can be about 100 ЊC to 200 ЊC lower than those of the grain boundaries that were susceptible to constitutional liquation of Nb carbides on them, making boron more deleterious in causing HAZ cracking.