An air cap for keeping a spray nozzle with a flat spray clean is presented. The air cap contain the nozzle and has a slit for the spray from the nozzle, through which opening an air flow is flowing in the same direction as the flat spray from the nozzle. The air cap is divided into a back component comprising an internal thread, and a front component comprising the slit. The components are rotatable relative to one another.