In this paper, thermoelastic diffusion theory is demonstrated on a two-dimensional half-space problem. The surface is subjected to thermal shock and hydrostatic loads. The chemical potential must be a known function of time. The solution is obtained by the direct method using the Laplace technique and the Fourier exponential transform. Local and non-local thermoelasticity are discussed, and the influence of non-local parameters on the general theory of thermoelastic diffusion is investigated. Chemical potential, concentration, temperature, stress and displacement distributions are calculated numerically and displayed graphically.