The destroyer conducted shakedown out of San Diego, Calif., through the end of April 1945; underwent post-shakedown availability at Puget Sound; and then sailed for the Hawaiian Islands, departing Port Angeles on 19 May and arriving at Pearl Harbor on the 26th. She trained in the vicinity of Oahu for three weeks before getting underway on 13 June to escort Cape Gloucester (CVE-109) to the Philippines.
Arriving at Leyte on 13 July and in Subic Bay on the 15th, Wiley operated out of the Philippines on training exercises through the first week of August. The ship departed Subic Bay on 9 August and escorted a small group of tankers to the Ryukyus. Within a week, Japan capitulated, ending the war in the Pacific.
Wiley subsequently joined the North China force in operations off the coast of Asia, while Chinese communist and Nationalist forces fought for supremacy in the strategic northern provinces once occupied by the Japanese. Over the next three months, this peacekeeping duty took the destroyer to Dairen, Port Arthur, Chefoo, Tsingtao, and Chinwangtao. The ship destroyed floating Japanese mines with gunfire and screened the cruisers of Cruiser Division 6. On 8 September, Wiley covered the landings of a peacekeeping force of American troops at Inchon (then called Jinsen), Korea.
Detached from this duty with the cruisers, Wiley joined a fast carrier task force on 12 October for operations in the Gulf of Pohai. During the latter part of October, the destroyer served in the screen for Antietam (CV-36) and Boxer (CV-21) and served as plane guard for the carriers while they conducted routine flight operations over the Yellow Sea. Detached from this duty on 18 November, Wiley joined San Francisco (CA-38) at anchor off Taku. Four days later, Wiley shifted to Jinsen, took on board passengers and mail, and proceeded to Shanghai, Tsingtao, and Taku, disembarking some of her passengers at each port before returning to Jinsen on 30 November.
Wiley remained in the Far East into December and then sailed, via Guam, Eniwetok, and Pearl Harbor, for the United States. After arriving at San Francisco, Calif., on 3 January 1946, Wiley received her inactivation orders on 11 March and put into San Diego the next day.