The production of energetic electrons during magnetic reconnection is explored with full particle simulations and analytic analysis. Density cavities generated along separatrices bounding growing magnetic islands support parallel electric fields that act as plasma accelerators. Electrons because of their low mass are fast enough to make multiple passes through these acceleration cavities and are therefore capable of reaching relativistic energies.