Goldfish placed in deoxygenated water learned to interrupt a light beam in order to obtain brief exposure to aerated water. The training procedure brought this behavior under the control of arbitrary visual stimuli.