ABSTRACT In the current study, a novel and facile selective colorimetric approach was developed by Eriochrome Black T (EBT) for naked-eye detection and determination of nickel (Ni2+) and cyanide (CN−) ions in H2O/DMSO (9:1, v/v) media. The chemosensing behaviour of EBT has been indicated through UV-Vis absorbance spectra, visual colour changes, and FTIR spectra. First, EBT could selectively identify Ni2+ over other competitive cation in 90% aqueous media and then, the resulting EBT-Ni2+complex was successfully applied for selective colorimetric recognition of CN− based on azo-hydrazone tautomeric skeletons. The detection limit of EBT towards Ni2+ and CN− were calculated to be 0.06 µmol L−1 and 0.15 µmol L−1, respectively. These consequences represent an innovative type of nimble chemosensor for manifold target ions using simple colorimetric and sequential detection. When operated by chemical ions Ni2+ and CN− can act as an absorbance switch, distinguishing a multi-addressable system. In addition, INVERTER (INV) and INHIBIT (INH) logic gates at different wavelengths and a keypad lock were created by applying chemical ions Ni2+ and CN− as two inputs and an absorption mode at 541 nm as an output on the basis of suitable chemical stimuli.