The utility model discloses an adjustable spanner with the function of quickly loosening and tightening a bolt, and relates to the technical field of adjustable spanners. The device specifically comprises a main rod, a storage groove is formed in the outer wall of one side of the main rod, an expansion
assembly is rotationally connected into the storage groove, a rotating seat is fixedly connected to the outer wall of the top of the main rod, a
machine shell is rotationally connected to the top of the rotating seat, a
machine cover is fixedly connected to one side of the
machine shell, and a quick loosening and tightening mechanism is arranged in the machine shell. A bolt sleeve is clamped to the end of the quick loosening and tightening mechanism, and the quick loosening and tightening mechanism comprises a fan-shaped groove, an adjusting rod, a first rotating shaft, a
handle, a twisting cover, an adsorption groove, a
ratchet wheel, a clamping base, a fixing base, a conical spring, a second rotating shaft, a clamping rod, an adjusting block, a screw rod, a rotating hole, an inserting hole and a through hole. According to the utility model, the problem that the dismounting and fixing work cannot be completed due to narrow space or insufficient distance during maintenance is solved, and the application range of the whole device is expanded.