At the outbreak of the Second World War
Egret was at Laurenco Marques in East Africa. She was briefly employed in hunting for raiders in the Indian Ocean before returning to the UK via Suez and Gibraltar. In 1940
Egret was based at Rosyth employed as escort to east coast convoys in the North Sea, and remained at this duty during the Norway campaign. In December transferred to Western Approaches Command, and was based at Londonderry for escort duty for SL/OS convoys to and from
Freetown, in West Africa. In June 1941
Egret was in dock for a refit before returning to escort duty In January 1942, she was escorting SL 97 when it came under attack by German aircraft and a group of U-boats. The convoy was reinforced by the Gibraltar Strike Force, an ASW support group, and
U-93 was destroyed with no loss to the convoy. In October
Egret took part in
Operation Torch, the Allied landings in French North Africa. In December she was escorting convoy MKF 4 from Gibraltar when they intercepted the blockade runner
Germania, which was scuttled by her crew to avoid capture. In 1943
Egret remained on escort duty protecting convoys to and from North Africa; in August 1943, while escorting MKF 20 from Gibraltar,
Egret and her escort group were detailed to relieve 40 EG which was operating against U-boats traversing the Bay of Biscay. ==Fate==