In an exhaust mechanism of the present invention, an upper surface of a part of a main body case in which exhaust ports are formed is formed into a curved or inclined shape, so that no object can be placed thereon, and therefore, there can be provided an image forming apparatus wherein the exhaust ports are not closed, whereby a constant exhaust efficiency can be maintained, a higher exhaust efficiency can be realized, and safety is improved.