The Mn(II) metal-organic framework with a viologen-based tetracarboxylate ligand exhibits reversible optical (color) and magnetic changes concomitant with stimuli-induced electron transfer from carboxylate to viologen. Compression causes a magnetic transformation from ferro- to ferrimagnetic, while water release/reuptake switches the magnetic behavior between ferro- and antiferromagnetic.