Two inorganic-organic hybrid materials based on β-[Mo8O26]4−, namely {[Ni(b-Mo8O26)(H2O)4] (H2Fbix) 2H2On (1), {[Co(b-Mo8O26)(H2O)4] (H2Fbix) 2H2O}n (2) (Fbix = 2,3,5,6-tetrafluoro-1,4-bis(imidazol-1-ylmethyl)benzene)) were hydrothermally synthesized and structurally characterized by single crystal X-ray diffraction, power X-ray diffraction, infrared spectroscopy, thermogravimetric analysis and elemental analysis. Single crystal X-ray analysis reveals that 1 and 2 are isostructural. Take 1 as an example, each six-coordinated NiII ion is surrounded by two β-[Mo8O26]4− units and four water molecules, forming an inorganic anionic linear chain. Protonated H2Fbix ligands act as guest and balance the charge of anionic framework. The inorganic chain [Ni(b-Mo8O26)(H2O)4]n2n–, H2Fbix ligand and water guest molecules were further connected by hydrogen bonds to generated the final 3D structure. Both compounds 1 and 2 can serve as heterogeneous catalysts and show good photocatalytic activity for the degradation of MB dye under UV irradiation. Additionally, the catalyst could be easily recovered and reused four times without significantly loss for its crystallinity and activity.