An absorbent article having a front edge intended to be positioned at a front side of a person and a rear edge intended to be positioned at a rear side of a person, said absorbent article comprising a liquid pervious topsheet, a liquid impervious backsheet, and an absorbent material between said topsheet and said backsheet, wherein at least a first spacer element is included between said topsheet and said backsheet, wherein the first spacer element has a top side facing the topsheet, a bottom side facing the backsheet, and a number of lateral sides between the top and the bottom side, and wherein the absorbent material extends along at least two opposite lateral sides of the first spacer element; said first spacer element being configured to guide liquid to the absorbent material upon wetting of the absorbent article.