Plasma-facing divertors and limiters are armoured with castellated tiles to withstand intense heat fluxes. Recent experimental studies show that a non-negligible amount of deuterium is deposited in the gaps between tiles. We present here a numerical study of plasma deposition in this critical region. For this purpose we have developed a particle-in-cell code with realistic boundary conditions determined from kinetic calculations. We find a strong asymmetry of plasma deposition into the gaps. A significant fraction of the plasma influx is expelled from the gap to be deposited on the leading edge of the downstream tile. (c) 2007 Elsevier B.V. All rights reserved.