Contextual fear conditioning is a protocol used to assess associative learning across species, including fish. Here, our goal is to expand the analysis of behavioral parameters that may reflect aversive behaviors in a contextual fear conditioning protocol using adult zebrafish (Danio rerio) and to verify how such parameters can be modulated. First, we analyzed the influence of an aversive stimulus (3 mild electric shocks for 5 s each at frequencies of 10, 100 or 1000 Hz) on fish behavior, and their ability to elicit fear responses in the absence of shock during a test session. To confirm whether the aversive responses are context-dependent, behaviors were also measured in a different experimental environment than the test session. Furthermore, we investigated the effects of dizocilpine (MK-801, 2 mg/kg, i.p.) on fear-related responses. Zebrafish showed significant changes in baseline activity immediately after shock exposure in the training session, in which 100 Hz induced robust contextual fear responses during the testing session. Importantly, when introduced to a different environment, animals exposed to the aversive stimulus did not show any differences in locomotor parameters including immobility-related parameters. MK-801 administered after the training session reduced fear responses during the test, indicating that glutamate NMDA-receptors can be relevant for the consolidation of contextual fear-related memory in zebrafish. In conclusion, by further exploring fear-related behaviors in a contextual fear conditioning task, we show the effects of different shock frequencies and confirm the importance of context on aversive responses for associative learning in zebrafish. Additionally, our data support the use of zebrafish in contextual fear conditioning tasks, as well as for advancing pharmacological studies related to associative learning in translational neurobehavioral research.