Pressing solid barbituric acid with KBr to prepare samples for IR spectroscopy leads to the formation of an ionic co-crystal, in which the co-former is a classical ionic salt; co-crystal formation is also obtained with the other alkali bromides (LiBr, NaBr, RbBr and CsBr) and with caesium iodide. The simultaneous presence of alkali and halide ions affects the dissolution properties of barbituric acid in water.