A set of six azaheterocycles were designed as conformationally-constrained N-acylhydrazones and tested as analgesics.