A layered cobalt phosphonate, Co(2-pmp)(H2O)2 (1) (2-pmpH2 = 2-pyridylmethylphosphonic acid) is reported, which provides the first example of metamagnetic cobalt system that shows reversible changes in both structures and magnetic behaviors upon dehydration-hydration process.