β-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. The gene discussed is NQO1; the disease is ulcer disease.