The effects of three opiate analgesics, isolated from opium, on the firefly luciferase enzyme have been studied. Morphine (MN), 6-acetylmorphine (MAM), and diacetylmorphine (DAM) inhibited the enzyme activity at different levels. At lower concentrations, MN and MAM enhanced enzyme activity, effecting inhibition at higher concentrations. However, DAM inhibited the enzyme activity at all concentrations investigated. The stimulating activity of MN and MAM is attributed to the hydrophilic interaction of the proton donor-acceptor type with the polar regions of the luciferase located outside the binding pocket of the active site. The inhibition at higher concentrations of MN and MAM and at all concentrations of DAM is found to be competitive in nature, with the analgesics competing for the binding of the enzyme's natural substrate luciferin. The binding site of the luciferase could accommodate only one analgesic molecule. Binding constants determined from bioluminescence studies showed that the inhibitor binding site is hydrophobic in nature. The inhibition constants of analgesics are in the order MN > MAM > DAM. The greater binding of DAM to luciferase is attributed to its ability to form a ground state complex with ATP and greater hydrophobicity. At higher concentrations of ATP, the binding constants increased. The results obtained are explained assuming that the firefly luciferase acts as a subtype mu-opioid receptor model.