We analyze the displacement of a viscous fluid by a miscible more viscous one in heterogeneous porous media. We performed lattice Bhatnagar–Gross–Krook simulations, which were previously successfully applied to the study of the dispersion of a passive tracer in a stochastic heterogeneous porous medium. In the present situation, the flow is stable (no viscous fingering) and leads to an overall Gaussian dispersion, the coefficient of which decreases as the viscosity ratio increases. The results are in reasonable agreement with the stochastic approach of Welty and Gelhar.