This paper presents a new analytical solution of a problem of forced convection in a heterogeneous channel filled with two different layers of isotropic porous media. The Brinkman-Forchheimer-extended Darcy equation is utilized to describe the fluid flow in the porous layers, and the effect of transverse thermal dispersion is accounted for in the energy equations. Three momentum boundary layers are identified in the channel: a boundary layer at the solid wall and two boundary layers at the interface between the porous media. The dependence of the Nusselt number on the Darcy numbers, Forchheimer coefficients, and particle Reynolds numbers in different parts of the channel is investigated. This study demonstrates that thermal dispersion has a strong effect on the Nusselt number in the channel for large particle Reynolds numbers.