The invention relates to a direct-drive hub motor of a wheelchair. The direct-drive hub motor of the wheelchair comprises a hub, a rotor core, magnetic steel, a supporting seat, a stator, a motor shaft, a stator plate, a rotor plate, a friction plate, a spring, an unlocking handle, a transmission rod and a magnetic brake seat. The stator is connected with the motor shaft to form a stator component; a rotor component consisting of the hub, the rotor core, the magnetic steel and a supporting seat wheel is rotatably supported on the motor shaft, wherein the rotor core is fixedly connected in therotor groove; the stator plate is connected with the magnetic brake seat with an interval L, the friction plate and the rotor plate are axially and movably arranged in the interval, the sum of the thicknesses of the friction plate and the rotor plate is smaller than L, and the spring is arranged between the rotor plate and the magnetic brake seat; the unlocking handle sleeves the motor shaft and is circumferentially distributed with a plurality of lugs, the lugs are provided with arc slotted holes, the upper ends of the arc slotted holes are provided with spiral surfaces, the transmission rodpenetrates the arc slotted holes and one end of the magnetic brake seat to be connected with the rotor plate, and one end of the transmission rod is connected with the unlocking handle. The direct-drive hub motor of a wheelchair has good dynamic balance and braking response, and the brake state can be manually released in a power-off state.