The structural and electronic properties of oxyanionic crystalline hydrates, LiNO·3HO, LiClO·3HO, and NaClO·HO, have been studied using density functional theory including van der Waals interactions. It is established that the linear compressibility of lithium perchlorate trihydrate is anisotropic (a < c) and positive, while lithium nitrate trihydrate and sodium perchlorate monohydrate demonstrate negative linear compressibility along the b and c axes, respectively. Deformation of Ow-H···O hydrogen bonding motifs is correlated with the negative linear compressibility. The band gaps of lithium nitrate and lithium perchlorate trihydrates decrease with pressure, whereas the band gap of sodium perchlorate monohydrate increases.