The solid-state structures of a l-(φ-ammoniopropyl)-2-(2-thienylcarbonyl)-cyclopentadienide (2) and a l-(φ-ammoniopentyl)-2-(4-methoxybenzoyl)-cyclopentadienide (3) have been determined. Both betaines self-assemble by NH ··· O hydrogen bonds, but the motifs are different. In the ammoniopropyl case, both intramolecular and intermolecular hydrogen bonds of this type exist, the latter bond being responsible for the formation of infinite chains. In the ammoniopentyl case, intermolecular hydrogen bonds build up a two-dimensional network which contains centrosymmetric dimers held together by NH ··· O=C-aryl hydrogen bonds.