Steady, laminar, natural-convection flow in the presence of a magnetic field in an inclined square enclosure differentially heated along the bottom and left vertical walls while the other walls are kept isothermal was considered. The governing equations were solved numerically for the stream function, vorticity and temperature ratio using the differential quadrature method for various Grashof and Hartmann numbers, inclination angle of the enclosure and direction of the magnetic field. The orientation of the enclosure changes the temperature gradient inside and has a significant effect on the flow pattern. Magnetic field suppresses the convective flow and its direction also influences the flow pattern, causing the appearance of inner loops and multiple eddies. The surface heat flux along the bottom wall is slightly increased by clockwise inclination and reduced by half by the counterclockwise inclination. The surface heat flux along the upper portion of the left side wall is reversed by the rise of warmer fluids due to the convection currents for no inclination and clockwise inclination of the enclosure.