The invention discloses a safety guard railing for roads and bridges. The safety guard railing comprises a fixed seat, a fixed plate and a bolt hole. The safety guard railing has the beneficial effects that through the arrangement of a light barrier, a first rotating rod, a second rotating rod and a reflective coating, the device can effectively block the light from vehicles in the opposite direction, it is ensured that the driver can see the road information clearly, and the occurrence of traffic accidents is avoided; through the arrangement of a first lower transverse plate and a second lower transverse plate, a lower rotating shaft, a first upper transverse plate, a second upper transverse plate, an upper rotating shaft, a first fixed pin, a second fixed pin, a vertical plate, a first strong spring and a second strong spring, the car impact is flexibly buffered by the device, severe deformation of car is avoided, and the damage to the personnel in the vehicle is reduced, through thearrangement of a gravity sensor, a controller, a solar panel, a signal transmitter and a warning light, the warning light can be lighted up and give warning and the information of the fallen guard railing is sent to remote monitoring personnel for timely maintenance when the guard railing falls down, thereby reducing the road potential safety hazard.