A headgear assembly for retaining a respiratory mask on a users face is provided. The headgear assembly comprising an adjustment mechanism or arrangement that includes a pair of rails configured to allow a first and second strap to be slideably moved relative to each other to adjust the size of the headgear assembly.