The design and discovery of three-dimensional crystalline metal–organic frameworks (MOFs) from linkers with phosphonate coordinating groups and even alkaline earth metals is largely undeveloped. Herein, we report a strategy for realizing new, stable, and robust barium phosphonate MOFs, termed Empa-1 and Empa-2. The two-dimensional (2D) Empa-1 or three-dimensional (3D) Empa-2 could be realized by way of systematically modulating the ratio of Ba2+ with a tetratopic phosphonate-based linker that was crafted to incorporate nitrogen-rich triazine units bridged by a fixed piperazine core. In addition to this synthetic approach, temperature-dependent synchrotron-radiation powder X-ray diffraction analysis demonstrated that the 2D Empa-1 undergoes ...