The hydrothermal reaction of Cd(II) salt with rigid tetracarboxylate ligand, terphenyl-3,3 00 ,5,5 00 -tetracarboxylicSingle crystal X-ray diffraction showed that MOF 1 possesses a 3D microporous framework with 4-connected Dia topology which is based on {Cd 2 (CO 2 ) 4 } subunits. MOF 1 is a promising dual functional sensor with high selectivity and sensitivity for the detection and recognition of nitroaromatics (NACs) and Fe 3+ ions via alleviation of its fluorescence intensity. Furthermore, 1 also has an excellent capacity to adsorb methylene blue (MB) with high selectivity, and it retains almost similar adsorption performance after being recycled several times. The observed decrease in fluorescence intensity of 1 in the presence of NACs has been addressed by theoretical calculations which indicate that the intensity alleviation of 1 in the presence of NACs can be attributed to an electron and resonance energy transfer between 1 and nitro analytes.