Alloy 718 is a nickel-based superalloy that is widely used as a structural material for high-temperature applications. One concern that arises when Alloy 718 is manufactured using powder bed fusion (PBF) is that residual stresses appear due to the high thermal gradients. These residual stresses can be detrimental as they can degrade mechanical properties and distort components. In this work, residual stresses in PBF built Alloy 718, using both electron and laser energy sources, were measured by neutron diffraction. The effects of process parameters and thermal post-treatments were studied. The results show that thermal post-treatments effectively reduce the residual stresses present in the material. Moreover, the material built with laser based PBF showed a higher residual stress compared to the material built with electron-beam based PBF. The scanning strategy with the lower amount of residual stresses in case of laser based PBF was the chessboard strategy compared to the bi-directional raster strategy. In addition, the influence of measured and calculated lattice spacing (d0) on the evaluated residual stresses was investigated. © 2020 The Authors