Like countless other vertebrates and even many invertebrates, blue gouramis, Trichogaster trichopterus, a freshwater tropical fish, can learn to associate environmental cues with the appearance of biologically important events. Research with blue gouramis reveals that this capacity for learning, which psychologists call Pavlovian conditioning, provides the means to enhance their territorial defense as well as reap large reproductive benefits. That is, males are able to defend their territories more efficiently when the appearance of a rival is signaled than when territorial invasion is less predictable. Not only does signaling enable Pavlovian-conditioned males to mount a more aggressive defense of their territories than males that do not have the benefit of signaling, but it helps them to concentrate their efforts at times when, or places where, the territory is most vulnerable. In addition, both males and females can learn to anticipate the appearance of a mate. Signaling of female accessibility enables Pavlovian-conditioned males to attenuate their initial aggressive response to arriving females without compromising their territorial defense. More important, when the arrival of a potential mate is signaled, Pavlovian-conditioned males are able to spawn with females sooner, clasp females more often, and produce more young than males that do not have the benefit of a signal. The ability of blue gouramis, among many other fish, to anticipate the appearance of such different biologically important events suggests that Pavlovian conditioning may play a significant role in their behavioral ecology. In addition, conditioning may provide a useful tool in several practical domains, including animal husbandry, zoological management, and conservation biology.