The use of higher output engines and more auxiliary units is resulting in greater heat generation in the engine compartment. At the same time, design trends and demands for improved aerodynamic performance are diminishing the cooling air flow rate. These two sets of factors are making the thermal environment in the engine compartment more severe. In this work, heat flow in the engine compartment was investigated by numerical analysis and flow visualization, and flow control devices were devised for optimizing the temperature distribution. This paper discusses the heat flow optimization techniques and presents the results obtained in experiments with an actual vehicle.