The second Navy ship to be named for Alexander Slidell MacKenzie, she was laid down by Union Iron Works, San Francisco, California on 4 July 1918.
[2] Following commissioning and shakedown, MacKenzie became a unit of the Pacific Fleet and operated with Destroyer Squadrons 2 and 4 until decommissioned at Mare Island on 27 May 1922.
She decommissioned and was turned over to the Royal Canadian Navy on 24 September[2] and recommissioned as HMCS Annapolis on 2 October.
In April 1944, she was attached to HMCS Cornwallis, near Annapolis, Nova Scotia, where she remained as a training ship until the end of the war.
On 4 June 1945, she was turned over to the War Assets Corporation and sold to Frankel Brothers, Ltd., of Toronto for scrapping.