An ew Hf IV -basedm etal-organic framework with UiO-66 topology was synthesized via ao ne-step solvothermal methodb yu sing 3-methyl-4-phenylthieno[2,3-b]thiophene-2,5-dicarboxylic acid (H 2 MPTDC) as al igand.T he MOF material showedahigh stability in ab road pH range (from pH 2t op H12) in an aqueous medium. The presenceo fh ydrophobic methyl and phenyls ubstituents in the carboxylic acid ligand and strong HfÀOb ondp lay crucial roles in its stability.T he new MOF material was systematically characterized by various techniques such as XRPD,N 2 sorption, thermogravimetric analyses and FT-IR spectroscopy.T he photophysical properties of the MOF material were also examined by steady-state and time-resolved fluorescence studies. It was observed that the blue fluorescenceo ft he MOF material was selectively quenchedi nt he presence of Fe 3 + ion in pure aqueous medium. Am echanistic study disclosed that quenching occursv ia as trong inner filter effect (IFE) arising from Fe 3 + ion in aqueous medium. Interestingly,t he fluorescence of the MOF material can be recovered by elimination of the IFE of Fe 3 + ion via reduction of Fe 3 + ion by ascorbic acid (AA). Based on the fluorescencer ecovery by AA, aM OF based on-off-on probe was developed for the sensing of Fe 3 + ion and AA in aqueous medium. Inspired by this reversible sensing event, we demonstrate basic (NOT,O R, YES, IN-HIBIT and IMP) and higher integrated logic operations utilizing this fluorescent MOF.T his MOF-based logic systems could be potentially used for next-generation logic-gate based analytical applicationsa sw ell as for the detection and discrimination of targeted molecules in various complex domains.