The invention belongs to the technical field of brushless direct current motors, discloses a brushless direct-current (DC) motor, and aims at preventing a Hall element from being damaged due to the fact that the temperature of a stator rises. The brushless DC motor comprises a shell, a motor shaft, the stator, a rotor and a magnetic steel piece, wherein a magnetic ring is fixed on the portion, outside the shell, of the motor shaft, the Hall element is mounted on the outer wall of the shell, the distance between the Hall element and the magnetic ring is shorter than an induction range of the Hall element, and the Hall element is connected with a controller. The Hall element is arranged outside the DC motor, the Hall element cannot be affected by the rise of the temperature inside the DC motor and cannot be damaged due to the rise of the temperature of the Hall element. According to the brushless DC motor, the structural mode of a traditional DC motor is broken through, a convention is broken, the Hall element is innovatively arranged outside the shell of the motor, an unexpected effect is obtained, a hard problem which is not solved in a long term is solved, operation troubles of the brushless DC motor can be reduced greatly, and reliability of the brushless DC motor is greatly improved.