The invention discloses a shifting register, a gate driving circuit, a display panel and a display device. The shifting register comprises an input module, a reset module, a pull-up module, a pull-down module and an output control module, and further comprises an input protection module. According to the shifting register, the input module, the reset module, the pull-up module, the pull-down module and the output control module can be controlled by respective control terminals to output scanning signals and achieve the gate driving effect; as the input protection module is additionally arranged, a signal input end is connected with a second reference signal end when the signal input end generates static electricity, the static electricity is directly discharged through the second reference signal end, it is prevented that the shifting register is damaged when the static electricity is led in, and the static-electricity protection capacity of the shifting register is improved.