X20 and X23 acted as lightships to help the D-Day invasion fleet land on the correct beaches (Operation Gambit), as part of the Combined Operations Pilotage Parties (COPP).
Operations continued in the Far East with the revised XE class submarines.