"Pennsylvania" left Guam on 3 August to replenish at Eniwetok, arriving there on 19 August. From there, she steamed to Espiritu Santo in the New Hebrides before joining landing training off Guadalcanal. The ship left on 6 September as part of the Bombardment and Fire Support Group for the invasion of Peleliu. She bombarded the island from 12 to 14 September and supported the landings the next day. She shelled Anguar Island on 17 September and remained there for three days, departing on 20 September. She then steamed to Seeadler Harbor on Manus, one of the Admiralty Islands for repairs. On 28 September, she arrived there and entered a floating dry dock on 1 October for a week's repairs. "Pennsylvania" left on 12 October in company with the battleships , , , , and "West Virginia", under the command of Rear Admiral Jesse B. Oldendorf. These ships, designated Task Group 77.2, formed the Fire Support Group for the upcoming operations in the Philippines. They arrived off Leyte on 18 October and took up bombardment positions; over the next four days, they covered Underwater Demolition Teams, beach reconnaissance operations, and minesweepers clearing the way for the landing force.