A new molecularly imprinted polymer (MIP)-based fluorometric assay was developed to directly quantify histamine in real samples.