Cycloalcanoindole and -azaindole derivatives are prepared by reaction of appropriately substituted carboxylic acids with anmines. The cycloahloanindole and -azaindole derivatives are suitable as active compounds for medicaments, preferably antiatherosclerotic medicaments.