This paper proposed a pulse-coupled synchronization protocol for wireless sensor networks. The time information of the node can be encoded at the Mac layer and then sent and received in the form of pulse waves. During the exchange of time information between a pair of nodes, one node will adjust its own clock information according to certain rules after receiving the pulse time signal of the other node. This process is repeated in the entire wireless sensor network. Under certain environmental and estimated parameter conditions, all nodes in the network can finally converge to a coherent frequency and phase, thus realizing time synchronization. The relationship between time synchronization and coupling coefficient was proved theoretically, and the optimal coupling coefficient was derived. An optimized algorithm was proposed after the optimization of the protocol. Finally, the correctness of the proposed protocol and its optimized algorithm was verified by data simulation.