Three compounds consisting of pyridinium or morpholinium hydrogen oxalates each display different hydrogen oxalate hydrogen-bonding motifs, resulting in chains for 4-(dimethylamino)pyridinium hydrogen oxalate 0.22-hydrate, dimers for 4-tert-butylpyridinium hydrogen oxalate and chains for morpholinium hydrogen oxalate.