A series of 1-carbamoylmethyl-3-ethoxycarbonylmethylpyridinium salts with different anions (PF6− (1), BF4− (2), OTf− (3) and Br− (4)) have been synthesized and characterized by single-crystal X-ray diffraction. The L-shaped pyridinium cation moieties provide rich C–H donors and serve as building blocks to form grid structures with PF6− and BF4−, a zig-zag stair structure with OTf− and a bilayer structure with Br− anions.