The invention belongs to the technical field of power adapters, and discloses an adjustable power adapter with a detachable structure, which comprises an upper cover and a lower cover, two side edges of the upper cover are integrally connected with convex blocks, the convex blocks are provided with through holes, two side edges of the lower cover are provided with grooves corresponding to the convex blocks in position, the bottom of each groove is provided with a spring mounting hole, a first spring is mounted in the spring mounting hole, cylindrical holes are formed in the two side edges of the lower cover, a first sliding groove is formed in the side edge of the groove, a sliding column is slidably matched with the first sliding groove, the sliding column is matched with the through hole in size, a second spring is connected between the sliding column and the first sliding groove, and two coiling mechanisms are mounted on the lower cover. The output ends of the two coiling mechanisms are connected with a power input line and a power output line respectively, the lower cover is provided with a locking mechanism and a plug notch, a plug mechanism is placed in the plug notch, and the lower cover is provided with a clamping mechanism matched with the plug mechanism.