The invention discloses a fixing device with a posture adjusting function for animal husbandry and veterinary surgeries in the technical field of mechanical and electrical installation engineering, and the fixing device comprises a base body assembly, mounting bases are arranged at the two ends of a U-shaped support, and the mounting bases are fixedly connected with the U-shaped support through fastening bolts; position adjusting shafts are symmetrically inserted into the rectangular grooves, and the ends of the position adjusting shafts movably penetrate through the U-shaped support and extend to the outside; the equipment is placed on the U-shaped support, the pushing block is pushed in the corresponding direction according to the needed installation position, the pushing block moves on the guiding shaft, the equipment is driven to transversely move on the U-shaped support, position adjusting operation is rapidly conducted on the equipment, operation is convenient and rapid, then the clamping block is put down, and after position adjusting is completed, the clamping block is pushed to the corresponding direction. And meanwhile, after position adjustment, the clamping blocks and the fixing blocks are used for laterally limiting the equipment, so that the problem of movement of the equipment is avoided, the working intensity during adjustment of the equipment is reduced, and the working efficiency is improved.