We investigate the relationship between the main acceleration phase of coronal mass ejections (CMEs) and the particle acceleration in the associated flares as evidenced in Reuven Ramaty High Energy Solar Spectroscopic Imager non-thermal X-rays for a set of 37 impulsive flare-CME events. Both the CME peak velocity and peak acceleration yield distinct correlations with various parameters characterizing the flare-accelerated electron spectra. The highest correlation coefficient is obtained for the relation of the CME peak velocity and the total energy in accelerated electrons (c = 0.85), supporting the idea that the acceleration of the CME and the particle acceleration in the associated flare draw their energy from a common source, probably magnetic reconnection in the current sheet behind the erupting structure. In general, the CME peak velocity shows somewhat higher correlations with the non-thermal flare parameters than the CME peak acceleration, except for the spectral index of the accelerated electron spectrum, which yields a higher correlation with the CME peak acceleration (c ≈ −0.6), indicating that the hardness of the flare-accelerated electron spectrum is tightly coupled to the impulsive acceleration process of the rising CME structure. We also obtained high correlations between the CME initiation height h 0 and the non-thermal flare parameters, with the highest correlation of h 0 to the spectral index δ of flare-accelerated electrons (c ≈ 0.8). This means that CMEs erupting at low coronal heights, i.e., in regions of stronger magnetic fields, are accompanied by flares that are more efficient at accelerating electrons to high energies. In the majority of events (∼80%), the non-thermal flare emission starts after the CME acceleration, on average delayed by ≈6 minutes, in line with the standard flare model where the rising flux rope stretches the field lines underneath until magnetic reconnection sets in. We find that the current sheet length at the onset of magnetic reconnection is 21 ± 7 Mm. The flare hard X-ray peaks are well synchronized with the peak of the CME acceleration profile, and in 75% of the cases they occur within ±5 minutes. Our findings provide strong evidence for the tight coupling between the CME dynamics and the particle acceleration in the associated flare in impulsive events, with the total energy in accelerated electrons being closely correlated with the peak velocity (and thus the kinetic energy) of the CME, whereas the number of electrons accelerated to high energies is decisively related to the CME peak acceleration and the height of the pre-eruptive structure.