A series of pyrazinocarbazoles, analogues of short acting antidepressant pirlindole (2,3,3a,4,5,6-hexahydro-8-methyl-1H-pyrazino[3,2,1-j,k]carbazole hydrochloride), were tested as inhibitors of monoamine oxidase A (MAO-A) and B (MAO-B). Rigid analogues exhibited potent and selective inhibition of MAO-A and have size limits (X:Y:Z) of 13.0 x 7.0 x 4.4 Angstrom. Besides MAO-A inhibition flexible analogues also demonstrated potent inhibition of MAO-B and in contrast to rigid analogues their inhibitory activity did not; show the dependence on these sizes. The qualitative information (steric and electrostatic coefficients) from I the 3D-QSAR with CoMFA models for MAO-A and -B are different, and this information can be used to determine the structural features influencing inhibitor selectivity.