Pain is a major sympton in many medical conditions, and often interferes significantly with a person's quality of life. Although a priority topic in medical research for many years, there are still few analgesic drugs approved for clinical use. One reason is the lack of appropriate animal models that faithfully represent relevant hallmarks associated with human pain. Here we propose zebrafish (Danio rerio) as a novel short-term behavioral model of nociception, and analyse its sensitivity and robustness. Firstly, we injected two different doses of acetic acid as the noxious stimulus. We studies individual locomotor responses of fish to a threshold level of nociception using two recording systems: a video tracking system and an electric biosensor (the MOBS system). We showed that an injection dose of 10% acetic acid resulted in a change in behavior that could be used to study nociception. Secondly, we validated our behavioral model by investigating the effect of the analgesic morphine. In time-course studies, first we looked at the dose-response relationship of morphine and then tested whether the effect of morphine could be modulated by naloxone, an opioid antagonist. Our results suggest that a change in behavioral responses of zebrafish to acetic acid is a reasonable model to test analgesics. The response scales with stimulus intensity, is attenuated by morphine, and the analgesic effect of morphine is blocked with naloxone. The change in behavior of zebrafish associated with the noxious stimulus can be monitored with an electric biosensor that measures changes in water impedance.