Uniform amorphous aluminium phosphate thin films with precisely controlled thickness and tunable composition were deposited on nitrogen-doped carbon nanotubes at 150 °C through a new atomic layer deposition approach.