PurposeThis study aims to numerically analyse the impact of an inclined magnetic field and Joule heating on the conjugate heat transfer because of the mixed convection of an Al2O3–water nanofluid in a thick wall enclosure.Design/methodology/approachA horizontal temperature gradient together with the shear-driven Flow creates the mixed convection inside the enclosure. The nonhomogeneous model, in which the nanoparticles have a slip velocity because of thermophoresis and Brownian diffusion, is adopted in the present study. The thermal performance is evaluated by determining the entropy generation, which includes the contribution because of magnetic field. A control volume method over a staggered grid arrangement is adopted to compute the governing equations.FindingsThe Lorentz force created by the applied magnetic field has an adverse effect on the flow and thermal field, and consequently, the heat transfer and entropy generation attenuate because of the presence of magnetic force. The Joule heating enhances the fluid temperature but attenuates the heat transfer. The impact of the magnetic field diminishes as the angle of inclination of the magnetic field is increased, and it manifests as the volume fraction of nanoparticles is increased. Addition of nanoparticles enhances both the heat transfer and entropy generation compared to the clear fluid with enhancement in entropy generation higher than the rate by which the heat transfer augments. The average Bejan number and mixing-cup temperature are evaluated to analyse the thermodynamic characteristics of the nanofluid.Originality/valueThis literature survey suggests that the impact of an inclined magnetic field and Joule heating on conjugate heat transfer based on a two-phase model has not been addressed before. The impact of the relative slip velocity of nanoparticles diminishes as the magnetic field becomes stronger.