The invention discloses an anti-collision warning device for building machinery, and relates to the technical field of the building machinery. Mounting plates are mounted on the upper and lower sidesof a rear end of a base, an anti-collision plate is arranged on the front side of the base, guide rods are mounted at four corners of an inner edge of the anti-collision plate, the guide rods are inserted into a guide sleeve mounted at a front end in the base, reset springs are sleeved on the front sides of the guide rods, limiting plates are mounted on the rear ends the guide rods, a storage battery is mounted in the base, a first contact piece and a second contact piece are respectively mounted on a front side wall of the base and a rear side wall of the anti-collision plate, the first contact piece corresponds to the second contact piece, the first contact piece is connected with the positive electrode of the storage battery through a conducting wire, the second contact piece is connected with the positive electrode of an alarm through a conducting wire, the negative electrode of the alarm is connected with the negative electrode of the storage battery through a conducting wire, andthe alarm is mounted on the upper end of the base. When the anti-collision warning device disclosed by the invention is used, fast mounting can be achieved, anti-collision and alarm can be achieved,the stability is high, and the operation is simple and convenient; and the time can be saved, and the safety is improved.