In clinical radiotherapy, the most important aspects are the dose distribution in the target volume and healthy organs, including out-of-field doses in the body. Compared to photon beam radiation, dose distribution in electron beam radiotherapy has received much less attention, mainly due to the limited range of electrons in tissues. However, given the growing use of electron intraoperative radiotherapy and FLASH, further study is needed. Therefore, in this study, we determined out-of-field doses from an electron beam in a phantom model using two dosimetric detectors (diode E and cylindrical Farmer-type ionizing chamber) for electron energies of 6 MeV, 9 MeV and 12 MeV. We found a clear decrease in out-of-field doses as the distance from the field edge and depth increased. The out-of-field doses measured with the diode E were lower than those measured with the Farmer-type ionization chamber at each depth and for each electron energy level. The out-of-field doses increased when higher energy megavoltage electron beams were used (except for 9 MeV). The out-of-field doses at shallow depths (1 or 2 cm) declined rapidly up to a distance of 3 cm from the field edge. This study provides valuable data on the deposition of radiation energy from electron beams outside the irradiation field.