In this paper, the effect of temperature difference between inlet flow and walls on the electro-osmotic flow through a two-dimensional microchannel is investigated. The main objective is to study the effect of temperature variations on the distribution of ions and consequently internal electric potential field, electric body force, and velocity fields in an electro-osmotic flow. We assume constant temperature and zeta potential on walls and use the mean temperature of each cross section to characterize the Boltzmann ion distribution across the channel. Based on these assumptions, the multiphysical transports are still able to be described by the classical Poisson-Boltzmann model. In this work, the Navier-Stokes equation for fluid flow, the Poisson-Boltzmann equation for ion distribution, and the energy equation for heat transfer are solved by a couple lattice Boltzmann method. The modeling results indicate that the temperature difference between walls and the inlet solution may lead to two symmetrical vortices at the entrance region of the microchannel which is appropriate for mixing enhancements. The advantage of this phenomenon for active control of mixing in electro-osmotic flow is the manageability of the vortex scale without extra efforts. For instance, the effective domain of this pattern could broaden by the following modulations: decreasing the external electric potential field, decreasing the electric double layer thickness, or increasing the temperature difference between inlet flow and walls. This work may provide a novel strategy for design or optimization of microsystems.