A working machine includes an engine compartment, an engine hood, an internal combustion engine arranged in the engine compartment and an exhaust system, which extends from the engine out of the engine compartment via the engine hood. The exhaust system is provided with an air intake for admitting air from the engine compartment into the exhaust system and entraining the air together with the exhaust gases. The air intake includes an air baffle element, which leads the air into an essentially central area in an outlet duct, in which the exhaust gases are led out, in such a way that the air is entrained out of the engine compartment by the exhaust gases through an ejector effect which the exhaust gases exert on the air in the outlet duct.