Gloucester, originally classified PG-130, was launched on 12 July 1943 at the Walter Butler Shipbuilding Company in Superior, Wisconsin, under a Maritime Commission contract, sponsored by Mrs. Emily K. Ross. The U.S. Navy acquired and simultaneously commissioned the ship on 10 December 1943.