The invention discloses an optical cable erecting device with a bird repelling function. The optical cable erecting device comprises a warning frame, a fixing structure, a square frame, a rotary button, a clamping block, a worm wheel, a worm, a screw rod, a first spring, an adjusting plate, a rotary rod and a bird repelling structure. The optical cable erecting device has the beneficial effects that an operator rotates the rotary button, the rotary button drives the connected worm, the worm is engaged with the worm wheel to enable the worm wheel to rotate so as to drive the screw rod, and dueto the fact that the two ends of the screw rod are of a reverse structure, the clamping block can move towards the middle of the square frame, the optical cable erecting device is clamped till the clamping blocks clamp the optical cable erecting device, then the adjusting plates in the clamping blocks can bear thrust of the first springs so as to better clamp different surfaces, meanwhile, the device is further provided with the bird repelling structure, birds can be better repelled, and therefore the device can be better clamped on the optical cable erecting device, birds can be effectively repelled, and damage made by birds to the optical cable and the optical cable rack is reduced.