Two-dimensional Lagrangian acceleration statistics of inertial particles in a turbulent boundary layer with free-stream turbulence are determined by means of a particle tracking technique using a high-speed camera moving along the side of the wind tunnel at the mean flow speed. The boundary layer is formed above a flat plate placed horizontally in the tunnel, and water droplets are fed into the flow using two different methods: sprays placed downstream from an active grid, and tubes fed into the boundary layer from humidifiers. For the flow conditions studied, the sprays produce Stokes numbers varying from 0.47 to 1.2, and the humidifiers produce Stokes numbers varying from 0.035 to 0.25, where the low and high values refer to the outer boundary layer edge and the near-wall region, respectively. The Froude number is approximately 1.0 for the sprays and 0.25 for the humidifiers, with a small variation within the boundary layer. The free-stream turbulence is varied by operating the grid in the active mode as well as a passive mode (the latter behaves as a conventional grid). The boundary layer momentum-thickness Reynolds numbers are 840 and 725 for the active and passive grid respectively. At the outer edge of the boundary layer, where the shear is weak, the acceleration probability density functions are similar to those previously observed in isotropic turbulence for inertial particles. As the boundary layer plate is approached, the tails of the probability density functions narrow, become negatively skewed, and their peak occurs at negative accelerations (decelerations in the streamwise direction). The mean deceleration and its root mean square (r.m.s.) increase to large values close to the plate. These effects are more pronounced at higher Stokes number. In the vertical direction, there is a slight downward mean deceleration and its r.m.s., which is lower in magnitude than that of the streamwise component, peaks in the buffer region. Although there are free-stream turbulence effects, and the complex boundary layer structure plays an important role, a simple model suggests that the acceleration behaviour is dominated by shear, gravity and inertia. The results are contrasted with inertial particles in isotropic turbulence and with fluid particle acceleration statistics in a boundary layer. The background velocity field is documented by means of hot-wire anemometry and laser Doppler velocimetry measurements. These appear to be the first Lagrangian acceleration measurements of inertial particles in a shear flow.