A process for producing compound 1,4,7,10,13,16,21,24-octaazabicyclo[8.8.8]hexacosa, 4,6,13,15,21,23-hexaene (2) and then compound 1,4,7,10,13,16,21,24-octaazabicyclo[8.8.8]hexacosane (1) from compound (2) is described. The process uses a reaction between triaminoethylamine and glyoxal in the presence of water, alcohol and tertiary amine at low temperature to produce compound 2. Then compound 1 is produced from compound 2 by reduction with an alkali metal containing ammonia as the reductant. The compounds are aza cryptands which are used to bind metals and the like for electrides, and in alkalides, medicine and water treatment, for instance.