The invention provides a security fence, and relates to the technical field of safety protection devices. The security fence comprises fixing assemblies, a coiling device, a connecting rope, a dryingdevice and a purse net assembly. The coiling device is connected with the inner walls of the fixing assemblies, the connecting rope is arranged on the coiling device, the purse net assembly is arranged at the end, stretching out of the coiling device, of the connecting rope, the coiling device is used for enabling the connecting rope and the purse net assembly to have the motion tend into a containing cavity, the end, stretching out of the coiling device, of the connecting rope runs through an opening and is connected with any adjacent fixing assemblies so that the purse net assembly is arranged between any two adjacent fixing assemblies, the drying device is located at the bottoms of the fixing assemblies, the drying device is used for heating and drying the purse net assembly inside thecontaining cavity, combination complexity of a purse net and a fence is relieved, the technical purpose of automatically coiling the purse net cannot be achieved, and the technical effects that integrated connection of the purse net and the fence is achieved, the purse net can be automatically retracted, and the purse net can be actively dried are achieved.