We study the effect of the mirror force on the collision rate due to the energetic electron precipitation into the ionosphere. We develop a simulation code for the motion of energetic electrons with the mirror force to solve the variation of the pitch angle of electrons during their precipitation. In this code, a module computing the collision between precipitating energetic electrons and neutral gas using the Monte Carlo method is employed. By combining the developed modules, altitude profiles of the collision rate due to energetic electron precipitation in the keV energy range are investigated, and the effect of the mirror force acting on precipitating electrons is examined. The simulation results show that the influence of the mirror force on the altitude profile of the collision rate is significant for electrons with a high initial pitch angle, corresponding to the pitch angle close to the loss cone. The effect of the mirror force results in the broadening of the altitude profile of the collision upward due to the reflection of mirroring electrons. Simulation results for energetic electrons with kinetic energies above 100 keV show that a secondary peak near the mirror point is formed in the altitude profile of the collision rate. The formation of the secondary peak can be explained by the stagnation of electrons around the mirror point. The relatively long duration staying in neutral gas results in the increase of the collision rate around the mirror point, against the smaller collision cross-section in the higher energy range. Simulation results reveal that the maximum collision rate in the altitude range lower than 100 km becomes one order of magnitude smaller if electrons in the kinetic energy range larger than tens of keV precipitate with the pitch angle close to the loss cone. The results of the present study emphasize the importance of the mirror force for the precise modeling of ionospheric response due to the energetic electron precipitation.