Highlights ► Disposable optical sensors for determination of zinc, copper, nickel, iron(II), and iron(III). ► Simultaneous determination of heavy metals by combining optical sensors with chemometric multicomponent analysis. ► An efficient and inexpensive alternative to the present pharmacopoeial heavy metal limit test. ► Possible integration of optical sensors into multimembrane tongues for simultaneous analysis of heavy metals.