Dosimetric comparisons of radiation fields produced by Varian's newest linear accelerator, the TrueBeam, with those produced by older Varian accelerators are of interest from both practical and research standpoints. While photon fields have been compared in the literature, similar comparisons of electron fields have not yet been reported. In this work, electron fields produced by the TrueBeam are compared with those produced by Varian's Clinac 21EX accelerator. Diode measurements were taken of fields shaped with electron applicators and delivered at 100 cm SSD, as well as those shaped with photon MLCs without applicators and delivered at 70 cm SSD for field sizes ranging from 5×5 to 25×25 cm2 at energies between 6 and 20 MeV. Additionally, EBT2 and EBT3 radio‐chromic film measurements were taken of an MLC‐shaped aperture with closed leaf pairs delivered at 70 cm SSD using 6 and 20 MeV electrons. The 6 MeV fields produced by the TrueBeam and Clinac 21EX were found to be almost indistinguishable. At higher energies, TrueBeam fields shaped by electron applicators were generally flatter and had less photon contamination compared to the Clinac 21EX. Differences in PDDs and profiles fell within 3% and 3 mm for the majority of measurements. The most notable differences for open fields occurred in the profile shoulders for the largest applicator field sizes. In these cases, the TrueBeam and Clinac 21EX data differed by as much as 8%. Our data indicate that an accurate electron beam model of the Clinac 21EX could be used as a starting point to simulate electron fields that are dosimetrically equivalent to those produced by the TrueBeam. Given that the Clinac 21EX shares head geometry with Varian's iX, Trilogy, and Novalis TX accelerators, our findings should also be applicable to these machines.PACS number: 87.56.bd