The possible participation of the nitric oxide (NO)-cyclic GMP-protein kinase G (PKG)-K(+) channel pathway on melatonin-induced local antinociception was assessed during the second phase of the formalin test. The local peripheral ipsilateral, but not contralateral, administration of melatonin (150-600 microg/paw) produced a dose-related antinociception during both phases of the formalin test in rats. Moreover, local pretreatment with N(G)-L-nitro-arginine methyl ester (L-NAME, NO synthesis inhibitor, 10-100 microg/paw), 1H-(1,2,4)-oxadiazolo(4,2-a)quinoxalin-1-one (ODQ, guanylyl cyclase inhibitor, 5-50 microg/paw), (9S, 10R, 12R)-2,3,9,10,11,12-hexahydro-10-methoxy-2,9-dimethyl-1-oxo-9,12-epoxy-1H-diindolo [1,2,3-fg:3',2',1'-kl]pyrrolo [3,4-i][1,6] benzodiazocine-10-carboxylic acid methyl ester (KT-5823, specific PKG inhibitor, 50-500 ng/paw), glibenclamide (ATP-sensitive K(+) channel blocker, 5-50 microg/paw), apamin (small-conductance Ca(2+)-activated K(+) channel blocker, 0.1-1 microg/paw) or charybdotoxin (large- and intermediate-conductance Ca(2+)-activated K(+) channel blocker, 0.03-0.3 microg/paw), but not N(G)-D-nitro-arginine methyl ester (D-NAME, inactive isomer of L-NAME, 100 microg/paw) or vehicle, significantly prevented melatonin (300 microg/paw)-induced antinociception. Data suggest that melatonin-induced local peripheral antinociception during the second phase of the test could be due to activation of the NO-cyclic GMP-PKG-ATP-sensitive and Ca(2+)-activated K(+) channels pathway.