The invention discloses a movable alarm guardrail with a decorative function. The guardrail of the invention mainly consists of a rail body, an installation body, a hinge and a switch, and is characterized in that the rail body is movably connected with the installation body through the hinge; the installation body is internally provided with the switch; when a thief climbs and pulls the rail body, the rail body dumps outwards for a certain distance/angle under the action of pulling force, the switch is switched off, and alarm equipment starts giving an alarm; and when no pulling force acts on the rail body, the rail body bounces and resets, and the alarm equipment stops giving the alarm. The movable alarm guardrail with the decorative function is suitable for the balconies and windows of buildings so as to prevent piggy back entry, not only has the decorative function and a theft-proof function, but also is convenient for users to escape and relieve the victims of a disaster.