The presence of alkylammonium groups covalently grafted on bisphosphonato ligands induces photochromic properties to ligand-coordinated polyoxomolybdate systems. Such intrinsically photoactive polyanions can be used for the preparation of materials combining photochromic polyoxometalates and functional countercations.