NiO-hematite p-n junction photoanodes were fabricated via an in situ Ni-doping.
The fundamental mechanism of Ni2+ ions involved was elucidated.
The optimum Ni dopant was 25 M% for the highest photocurrent density.
It exhibited an excellent photoelectrochemical performance of 7-folds enhancement.