The existence of an optical nonlinearity in a lyotropic liquid crystal has been demonstrated in an optical waveguide. A large hysteresis, of origin to be clarified, is found in the optical response in all mesophases of potassium capryllate.