As the activation of N2 molecules is generally regarded as the bottleneck in N2 reduction, it is of significant importance to develop promising strategies to efficiently activate N2 molecules. Herein, we discovered an innovative approach to activate N2 molecules via hydrogen-bond interaction in N2 photofixation. Porous Cu with surface modification of S atoms (3%-S/Cu) exhibited remarkable catalytic activity and stability in N2 photofixation. Further mechanistic studies revealed that surface S atoms directly participated in the catalytic process by accepting and donating H atoms. In addition, the forming S–H bond significantly promoted the activation of N2 molecules via hydrogen-bond interaction, contributing to the enhanced catalytic activity.