PtM (M = Ni, Fe, Co) alloy CEs are synthesized by a multistep electrodeposition.
The resultant PtM alloy CEs are fabricated into DSSCs.
The PtM alloy CEs have markedly enhanced catalytic activity.
The optimized DSSC yields a maximum efficiency of 8.65%.