Substituted 2-[2-(phenyl)ethylamino]alkaneamide derivatives of formula(I) wherein X, Y, Z, R, R, R, R, R',R, R, R, R have the meanings definedin the specification and pharmaceutically acceptable salts thereof, pharmaceuticalcompositions containing them as active ingredient and their use as sodium and/orcalcium channel modulators useful in preventing, alleviating and curing a widerange of pathologies, including, but not limited to, neurological, cognitive,psychiatric, inflammatory, urogenital and gastrointestinal diseases, wherethe above mechanisms have been described as playing a pathological role.