We establish a version of the Harnack inequality for the Jordan-Kinderlehrer-Otto scheme of the heat equation on the flat torus.