The invention discloses a universal connecting piece for a fabricated building steel structure frame in the technical field of steel structure connecting mechanisms. The universal connecting piece comprises a connecting seat, a fixing frame is fixedly connected to the top of the connecting seat, a supporting plate is slidably connected to the inner wall of the fixing frame through a rail, a connecting sliding groove is formed in the top of the supporting plate, and a moving plate is slidably connected to the inner wall of the connecting sliding groove. According to the universal connecting piece, by arranging the fixing frame, the supporting plate, the moving plate, a through groove, a connecting frame, a connecting shaft, a supporting frame, a fixing plate, a threaded rod, a U-shaped driving frame, a T-shaped positioning friction plate, a fastening nut, a friction disc, a supporting sliding rail, a supporting sliding plate, a connecting sleeve, a positioning plate and a trapezoidal sliding block, the steel connecting piece can stretch out and draw back according to the distance between the connecting end and the end of a steel structure according to the actual steel structure deformation condition, and meanwhile, the steel connecting piece is adjusted to a proper connecting angle, the connecting difficulty of workers is reduced, and the mounting efficiency is improved.