Detroit ordered 4 March 1917 with the contract being awarded to Bethlehem Shipbuilding Corporation's Fore River Shipyard in Quincy, Massachusetts, on 21 August 1917.
The engines were designed to produce 90,000 indicated horsepower (67,000 kW) and reach a top speed of 35 knots (65 km/h; 40 mph).
Detroit was initially built with the capacity to carry 224 mines, but these were removed early in her career to make way for more crew accommodations.
The lower torpedo tube mounts proved to be very wet and were removed, and the openings plated over, before the start of World War II.
From September–October 1924, she was on lifeguard station for the USAAS's round-the-world flight, then served as flagship for Commander, Light Cruiser Divisions until 23 November.
She also transported Secretary of State Frank B. Kellogg between Ireland and France for the talks which led the following year to the signing of the Kellogg-Briand Peace Pact.
In January 1931, she sailed for a combined fleet problem off Balboa, then became flagship for Commander, Destroyer Squadrons, Battle Force on 19 March 1931, based on San Diego, California.
[3] Returning to Pearl Harbor on 10 December, Detroit took up convoy escort duty between her home port and the West coast.
[3] Detroit sailed from San Francisco on 10 November 1942 for Kodiak, Alaska, to become flagship for Commander, Task Group 8.6 (TG 8.6), and patrol between Adak and Attu Islands to prevent further enemy penetration of the Aleutians.
In April, she bombarded Holtz Bay and Chichagof Harbor on Attu, returning the next month to join in the assault and capture of the island.
She sailed from Adak on 25 June, and after repairs at Bremerton, arrived at Balboa, Panama on 9 August to serve as temporary flagship of the Southeast Pacific Force.
She acted as flagship for the replenishment group serving the fast carrier task forces until the end of the war, and entered Tokyo Bay on 1 September.
Detroit continued to direct replenishment operations for the Occupation fleet and in addition, the repatriation of Japanese to the home islands from Pacific bases.
She left Tokyo Bay on 15 October for the United States with returning servicemen on board, as part of Operation Magic Carpet.