Most soils possess a large supply of nutrients, but these reserves cannot be mobilized by plants, as they exist in a bound form. Therefore, it is need to understand mechanisms that naturally increase the acquisition of nutrients by plants. Earthworms are crucial soil engineers that play a key role in soil functioning. In this study we have estimated the impact of three factors, earthworm species, ecological group, and soil type, on the ion content of casts of Eisenia nordenskioldi, E. ventripapillata, E. nana, Lumbricus rubellus, and Aporrectodea caliginosa. Laboratory experiments were performed in microcosms on three soil types. We analyzed five water-soluble cations and six anions in the earthworm casts by capillary zone electrophoresis to determine their content in casts compared to soil. For three of the five species studied this is the first information obtained on the matter. The obtained data demonstrated that soil type has the biggest impact on the observed changes in the cast ion content, probably due to the differences in the initial concentrations and soil properties. Within each soil type, the observed effects were mostly species-specific, and the species belonging to the same ecological group (endogeic and epi-endogeic) did not have similar effects. The exposure to different earthworm species resulted in pronounced differences in the concentrations of magnesium, calcium, ammonium, and chloride, while the soil type had the highest impact on sulfate, fluoride, acetate, and sodium ions. Therefore, the terms ‘ecological group’ and ‘functional group’ are not equivalent for earthworm casts, and replacing an earthworm species with another belonging to the same ecological group may result in changes of the soil ion composition.