This study carried out to investigate the anti‐inflammatory and antinociceptive effect of tropane alkaloid (EB7) isolated from E. bezerrae. It evaluated the toxicity and possible involvement of ion channels in the antinociceptive effect of EB7, as well as its anti‐inflammatory effect in adult zebrafish (Zfa). Docking studies with EB7 and COX‐1 and 2 were also performed. The tested doses of EB7 (4, 20 and 40 mg/kg) did not show any toxic effect on Zfa during the 96h of analysis (LD50 > 40 mg/kg). They did not produce any alteration in the locomotor behavior of the animals. Furthermore, EB7 showed promising pharmacological effects as it prevented the nociceptive behavior induced by hypertonic saline, capsaicin, formalin and acid saline. EB7 had its analgesic effect blocked by amiloride involving the neuromodulation of ASICs in Zfa. In evaluating the anti‐inflammatory activity, the edema induced by κ‐carrageenan 3.5% was reduced by the dose of 40 mg/kg of EB7 observed after the fourth hour of analysis, indicating an effect similar to that of ibuprofen. Molecular docking results indicated that EB7 exhibited better affinity energy when compared to ibuprofen control against the two evaluated targets binding at different sites in the cocrystallized COX‐1 and 2 inhibitors.