The invention relates to a five-freedom adjustable pipeline butt joint tooling. X-direction slide rails are arranged on a base of the five-freedom adjustable pipeline butt joint tooling, X-direction slide plates are arranged on the X-direction slide rails, Z-direction slide rails are arranged on the X-direction slide plates, Z-direction slide plates are arranged on the Z-direction slide rails, upright post bases are fixedly arranged on the Z-direction slide plates, the top of each upright post base is provided with a rotating seat and a rotating hinging seat, the lower ends of rotating upright posts are arranged in the rotating seats in an inserted way, one ends of swinging push rods are fixedly arranged at the lower parts of the rotating upright posts, the other ends of the swinging push rods are hinged with the piston ends of yaw oil cylinders, the cylinder body ends of the yaw oil cylinders are hinged on the rotating hinging seats, the two sides of the lower ends of the rotating upright posts are symmetrically and fixedly provided with ascending and descending thrust plates, slide sleeves are sheathed on the rotating upright posts, the middles of pitch plates are hinged on the tops of the slide sleeves, the cylinder body ends of pitch oil cylinders are hinged at the two sides of the pitch plates, the piston ends of the pitch oil cylinders are hinged on the ascending and descending thrust plates, and clamping sleeves are fixedly arranged on the pitch plates. The five-freedom adjustable pipeline butt joint tooling can realize the X, Y and Z three-direction freedom regulation of the pipe opening and the jaw and pitch regulation, and the pipe opening pairing quality is ensured.