 After overhaul in San Diego, Dunlap performed patrol duty out of Adak, Alaska, in November and December 1943 and sailed to Pearl Harbor. From January until March 1944, she screened carriers in strikes on the Marshall Islands with the 5th Fleet. After that, Dunlap took part in strikes on the Soerabaja area of Java in May and returned to Pearl Harbor in June. In July, she sailed to San Francisco to join the screen for the heavy cruiser Baltimore, which carried Roosevelt for conferences and inspections with top Pacific commanders of Pearl Harbor and Alaskan bases. In early September 1944, Dunlap participated in the shelling of Wake Island. In October 1944, she lent a hand in the bombardment of Marcus Island. By January 1945, the ship was involved in the shelling of Iwo Jima, Haha-jima, and Chichi-jima. On 3 September 1945, Commodore John H. Magruder accepted the surrender of the Bonin Islands by Lt. General Yoshio Tachibana on board the destroyer. Dunlap sailed to Norfolk, Virginia, in November 1945, where she was decommissioned in December 1945 and sold in December 1947. She received six battle stars for her World War II service.
