Ectoine plays an important role in protecting biomolecules and entire cells against environmental stressors such as salinity, freezing, drying and high temperatures. Recent studies revealed that ectoine also provides effective protection for human skin cells from damage caused by UV-A radiation. These protective properties make ectoine a valuable compound and it is applied as an active ingredient in numerous pharmaceutical devices and cosmetics. Interestingly, the underlying mechanism resulting in protecting cells from radiation is not yet fully understood. Here we present a study on ectoine and its protective influence on DNA during electron irradiation. Applying gel electrophoresis and atomic force microscopy, we demonstrate for the first time that ectoine prevents DNA strand breaks caused by ionizing electron radiation. The results presented here point to future applications of ectoine for instance in cancer radiation therapy.