Yarnall was laid down on 5 December 1942 at San Francisco, Calif., by the Bethlehem Steel Co.; launched on 25 July 1943; sponsored by Mrs. Earl Groves; and commissioned on 30 December 1943, Commander Benjamin F. Tompkins in command.
The destroyer spent the first two months of 1944 conducting her shakedown cruise and other training exercises in the San Diego operating area. She departed the west coast early in March and arrived at Oahu on the 19th. For the next 10 weeks, Yarnall carried out additional tactical exercises in the Hawaiian Islands.
On the 17th, as a result of the submarine sightings of the Japanese fleet moving toward the Marianas, Yarnall and 20 other destroyers were detached from direct support for the invasion and ordered to screen the fast carriers. Yarnall joined TG 58.7, Rear Admiral Willis A. Lee's hastily composed battle line, in preparation for what would be the Battle of the Philippine Sea. She tasted her first antiaircraft combat at 05:15 on 19 June when a Mitsubishi A6M "Zeke" tried to bomb Stockham (DD-683) and then began a strafing run on Yarnall. Three guns of her main battery quickly took the intruder under fire and began scoring hits on him. As the plane closed the destroyer's port quarter, it exploded and splashed into the sea to give Yarnall her first victory over the enemy.
About five hours after that attack, the ship received word of the first of the four large air raids launched by the Japanese Mobile Fleet to attempt to break up the American invasion force off Saipan. At about 10:45, Yarnall and Stockham encountered the first carrier-based air of the battle when five Aichi D3A "Val" dive bombers peeled off to attack the two picket destroyers. Yarnall's guns opened up on them and splashed one before the remaining four flew off to attack the larger ships of the American fleet. Word of the approach of the second raid arrived at 11:10; and, 35 minutes later, about 20 enemy planes managed to break through the reception committee of F6F Hellcats vectored out to intercept them. Yarnall took seven of those planes under fire and splashed one. That was her last combat of the day. Though the Japanese mounted two more raids, they approached Task Force 58 (TF 58) from directions which did not bring them in close proximity to Yarnall.
On the 20th, no enemy planes attacked TF 58. Instead, the Japanese began their retirement toward Japan. American carrier search planes found the enemy late in the day, and TF 58 launched air strikes from extreme range. After darkness fell that evening, Yarnall's searchlights helped to guide the returning airmen to their carriers. The following day, the destroyer returned to the coast of Saipan to resume call fire missions supporting the troops fighting ashore. She continued her labors in the Marianas until 8 July, when the warship left in the screen of a convoy bound for the Marshalls. After arriving at Eniwetok on the 12th, she took on ammunition, provisions, and fuel and headed back to the Marianas on the 15th. There, she resumed patrol and antisubmarine screening duties and kept at such tasks until the 25th when she moved inshore to provide gunfire support for the troops occupying Tinian.
The warship alternated screening and bombardment missions in the Marianas until 16 August when she again sailed for the Marshalls. Yarnall remained at Eniwetok from 20 to 29 August. On the latter day, she left the anchorage in company with TG 38.2 for an aerial sweep of the Philippine Islands in preparation for the invasion of the archipelago at Leyte. Following those raids, the carriers and their escorts rested at Ulithi Atoll between 1 and 6 October.
Following the Formosa raid, Yarnall's unit steamed south to operate off Luzon. She screened the carriers while their planes suppressed Japanese land-based air-power in the vicinity during the landings at Leyte. During the three-phased Battle for Leyte Gulf which thwarted the Japanese attempt to break up the American liberation of Leyte, Yarnall continued to screen the carriers as they raced northward to destroy Admiral Ozawa's decoy force built around planeless aircraft carriers. After successfully completing that mission, TF 38 made a fueling rendezvous on 30 and 31 October and then resumed its duty pounding enemy installations on Luzon.
At the end of the first week in November, the carriers and their escorts once again retired to Ulithi. The destroyer returned to sea on 14 November to screen TF 38 during further aerial attacks on Japanese installations in the Philippines. On 23 November, she headed back to Ulithi with TG 38.1 for logistics. In December, she returned to the Philippines with TG 38.1 to support the landings on the island of Mindoro and to continue the pressure on Japanese air forces based on Luzon. During that mission, she successfully weathered the famous typhoon on 17 December 1944 which claimed destroyers Hull (DD-350), Monaghan (DD-354), and Spence (DD-512). She returned to Ulithi on 24 December and remained there until January 1945.
On New Year's Day, TG 38.1 stood out of Ulithi to provide air support for landings on Luzon at Lingayen Gulf. The planes hit Formosa on the 3d and 4th, pounded airfields on Luzon on the 6th and 7th, and returned to Formosa installations on the day of the landings, 9 January. That night, Yarnall accompanied the fast carriers through Bashi Channel into the South China Sea to begin a series of raids on Japan's inner defense line. Unopposed by the Japanese Fleet, TF 38 sent planes against bases at Camranh Bay and Saigon in Indochina, then against Formosa on 15 January. Fighters attacked Amoy, Swatow, and Hong Kong in China as well as Hainan Island in the Gulf of Tonkin. On the 16th, they returned to Hong Kong and Hainan for a repeat performance and for good measure made a sweep of Canton. The task force exited the South China Sea via Balintang Channel and then hit Formosa and the Nansei Shoto on 21 January. Okinawa felt the carriers' punch on the 22d; and, two days later, TF 38 set a course back to Ulithi.
On 3 March, Yarnall received orders transferring her from TG 58.2 to TG 59.6 for a practice attack on the main body of TF 59. While closing the objective on the night of 4 and 5 March, she collided with Ringgold (DD-500). Ringgold suffered a sheared-off bow while Yarnall also suffered one man killed and six others injured. Towed to Ulithi by Molala (ATF-106), she reached the anchorage on 7 March. On the 8th, her bow broke off and sank. While at Ulithi, she had a false bow fitted for the voyage back to the United States for permanent repairs. She stood out of Ulithi on 5 April and steamed via Pearl Harbor to the Mare Island Navy Yard where she underwent repairs until 2 July.
The warship returned to Pearl Harbor in July and conducted training operations in the Hawaiian Islands through the end of the war. Two days after the cessation of hostilities, Yarnall set a course for Tokyo, Japan, to participate in the postwar occupation. She was present in Tokyo Bay on 2 September when Japanese officials signed the surrender document on board Missouri (BB-63) and remained in the Far East supporting minesweeping operations until the end of October. On the 31st, she put to sea and shaped a course for San Diego, Calif., where, though she remained in commission, she was placed in an inactive status. Berthed at San Diego with the Pacific Reserve Fleet, Yarnall was finally placed out of commission on 15 January 1947.
Her first Korean War deployment lasted until December. On 8 December, the destroyer departed Yokosuka and steamed via Midway and Pearl Harbor to San Diego where she arrived on the 21st. From there, she moved to Long Beach early in 1952 for an overhaul. The warship completed repairs early that summer and returned to San Diego on 11 June. A month and a day later, she departed San Diego; set a course via Pearl Harbor and Midway for the western Pacific; and arrived in Yokosuka on 6 August. On the 8th, she again got underway and, after an overnight stop at Sasebo on 10 and 11 August, headed for the Korean operating area. Again, her duties consisted of screening TF 77 carriers and providing bombardment services, frequently at the besieged port city of Wonsan. As during the previous deployment, she alternated tours of duty in Korean waters with port calls at Japanese ports for repairs, upkeep, rest, and relaxation. Later, in November, she returned to the Taiwan Strait patrol before resuming her tours of duty with TF 77 and on the bombline. On 30 January 1953, she concluded her second Korean War deployment by departing Sasebo for the United States. Steaming via Midway and Pearl Harbor, Yarnall arrived in San Diego on 16 February.
While Yarnall enjoyed her stateside rotation, hostilities in Korea ceased when an armistice was finally signed on 27 July 1953. The warship, however, continued to make annual deployments to the Far East and frequently operated in Korean waters with TF 77. She continued to alternate deployments to the Orient with periods of normal operations out of San Diego until September of 1958 when she was decommissioned. Berthed at Stockton, Calif., Yarnall remained inactive for almost a decade.