Substituted N-aminoalkylpyrroles of the formula: ##STR1## IN WHICH X, Z, R.sub.1, -R.sub.5 and n are as defined below, and their physiologically tolerable acid addition salts are disclosed to have antiarrhythmic, central nervous system depressant, antiinflammatory and antihypertensive activity. A process for their preparation is also disclosed.