The invention concerns a respiratory mask (1), such as a facial mask, comprising a mask body (2) comprising a gas inlet (3) in fluid communication with an inner chamber (4), and a front shroud (5) with a flexible upwardly-projecting upper arm (6) comprising headgear connecting structures (15). At least one resilient element (7) is arranged between the mask body (2) and the flexible upper arm (6) of the front shroud (5) so that said at least one resilient element (7) is squeezed between the mask body (2) and the flexible upper arm (6), when the flexible upper arm (6) is bent toward the mask body (2).