People with hepatic insufficiency can develop hepatic encephalopathy (HE), a complex neuropsychological syndrome covering a wide range of neurological and cognitive and motor alterations. The cognitive deficits include disturbances in intellectual functions such as memory and learning. In spite of its high prevalence in western societies, the causes of HE have not yet been clearly established. For this reason, experimental models of HE are used to study this condition. In this work, two experimental models were used, one Type B HE (portacaval shunt) and the other Type C HE (cirrhosis by intoxication with thioacetamide), to evaluate its effect on two tasks of associative learning: two-way active avoidance and step-through passive avoidance. The results show an impediment both in acquisition and retention of active avoidance in both models of HE. However, in passive avoidance, only the rats with portacaval shunt presented a memory deficit for the aversive event. In our opinion, these results can be explained by alterations in the neurotransmission system presented by animals with hepatic insufficiency, which are mainly caused by a rise in cerebral histamine and a dysfunction of the glutamatergic system.