Effect of an anisotropic spatial diffusion with respect to the direction of the interstellar magnetic field (ISMF) on the energy spectrum of the high-energy cosmic-ray electrons is numerically investigated. Our calculation is performed by using a fully three-dimensional stochastic method based on the stochastic differential equations equivalent to the Parker transport equation that describes the propagation of the galactic cosmic rays (GCRs). We consider that the GCRs originate from the supernova remnants (SNRs) including known nearby young SNRs. We calculate the energy spectrum of high-energy GCR electrons by considering an anisotropic diffusion in the ISMF. Our results of the energy spectrum of high-energy GCR electrons show that the flux in the TeV regions strongly changes depending on the model of the diffusion coefficient.