A wide range of applications involving mixed-convection studies can be found in various engineering processes such as thermal discharge of water bodies, float glass production, heat exchangers, nuclear reactors, and crystallization process. The present study focuses on understanding the thermal mixing scenarios for mixed-convection lid-driven flow in a square cavity using heatlines. Thermal mixing is analyzed for four different thermal boundary conditions, and heat flow patterns in mixed convection are analyzed using Bejan’s heatlines concept for wide ranges of parameters (Pr = 0.015–7.2, Re = 1–100, and Gr = 103–105, where Pr, Re, and Gr denote the Prandtl, Reynolds, and Grashof numbers, respectively). The results indicate that, at low Pr values (Pr = 0.015), the transport is conduction-dominant irrespective of the values of Gr and Re. The trends of heatlines and streamlines are identical near the core for high-Re cases. A single circulation cell was observed in the streamlines for any Pr ≥ 0.7 at high Re and low Gr values for uniform heating of the bottom surface with cold side walls. It was observed that thermal mixing increased significantly with subsequent rises in Gr for high-Pr fluids. Patterns of heatlines and multiple circulation cells of heatlines were found to lead to enhanced thermal mixing, with the thermal boundary layer much compressed toward the walls for linearly heated side walls. The heat-transfer rates along the walls are illustrated by the local Nusselt number distribution based on gradients of heatfunctions for the first time in this work. Nusselt numbers with infinitely large magnitudes were observed at hot–cold junctions, illustrating high heat-transfer rates. An oscillatory distribution in the local heatfunction rate was observed as a result of sinusoidal heating of the bottom surface for high-Pr fluids. Negative heat-transfer rates or local Nusselt numbers were observed along the side walls when side wall(s) was/were linearly heated, as explained based on negative heatfunction gradients. Also, the effect of Gr on the local and average Nusselt numbers in different cases can be adequately explained based on heatlines. Dense heatlines signifying higher overall heat-transfer rates along the bottom surface and side walls were observed for uniform bottom surface heating, whereas lower heat-transfer rates were observed for sinusoidal heating. Nonmonotonic distributions in overall heat-transfer rates along the bottom surface and left wall were observed when both walls were linearly heated, whereas a smooth and exponential increase was observed when the right wall was isothermally cooled.