The invention relates to a device (1) for collecting aerosol particles (P) in an exhaled air flow (Q). Said particles (P) may be aerosol particles such as biomarkers or particles related to drugs or other substances formed or found in the alveoli of the lungs. Said device comprises a housing (2) having an extension direction between a first end with an inlet (2a) arranged to receive an exhaled air flow and a second end with an outlet (2b) arranged to transmit the exhaled air flow (Q) and an inner cross section (A1) defined by inner walls (2c) of the housing (2) and at least four first type partition walls (3), arranged in a direction essentially perpendicular to the walls (2c), partly covering the inner cross section (A1) of the housing (2). The invention is characterized in that said first type partition walls (3) protrude from opposite sides of the inner wall (2c) of the housing (2) creating opposite openings (4a, 4b) between the first type partition walls (3) and the housing inner wall (2c), whereby said first type partition walls (3) are arranged to create a labyrinth shaped flow path from said inlet (2a) to said outlet (2b) which is arranged to divert the air flowing from the inlet (2a) towards the outlet (2b) in a direction towards opposite inner wall (2c) of the housing so that said particles separate from the air flow and attach on the device and wherein the distance (x) between two opposite first type partition walls (3) is smaller than the distance (d) between the inner walls (2c) of the housing (2).