Steady, laminar, natural-convection flow in the presence of a magnetic field in an inclined rectangular enclosure heated from one side and cooled from the adjacent side was considered. The governing equations were solved numerically for the stream function, vorticity and temperature using the differential quadrature method for various Grashof and Hartman numbers and three different aspect ratios, inclination angles and magnetic field directions. The results show that the orientation and the aspect ratio of the enclosure and the strength and direction of the magnetic field have significant effects on the flow and temperature fields. Counterclockwise inclination induces the formation of multiple eddies inside the enclosure significantly affecting the temperature field. Circulation inside the enclosure and therefore the convection become stronger as the Grashof number increases while the magnetic field suppresses the convective flow and the heat transfer rate. (C) 2006 The Japan Society of Fluid Mechanics and Elsevier B.V. All rights reserved.