β-Galactosidase (β-gal), carboxylesterase (CES), and human NAD(P)H: quinone oxidoreductase (hNQO1) enzyme activities in the normal mucosa, ulcer, adenoma, and gastric cancer biopsy samples were measured using two-photon enzyme probes. Here, NQO1 is linked to gastric cancer.