In this paper, the solar wind electrons which are moving toward the moon surface are traced to study the reflection of these electrons due to the crustal magnetic field of the moon. The magnetic field in the solar wind Bsw is supposed to be perpendicular with the moon surface, and the crustal magnetic field is supposed as a small dipole field with a moment Mcb, where Mcb are parallel, anti-parallel, and ±90° correspond to the direction of the Bsw. The calculation shows that the reflection number of the electrons varied with the angle between Mcb and Bsw. When Mcb is parallel with Bsw, the number of the reflected particles is the largest. The number decreases when the angle between Mcb and Bsw increases. These results are expected to provide some important information for the remote measuring of the lunar crustal magnetic field by using electron reflectometry technique.