The world's largest crude oil exporter said it temporarily closed the pipeline as a precaution after a drone attack that both Baghdad and Riyadh said had originated in Iraq, where Iranian-backed militias operate.
Iraq dismissed a military commander on Saturday in response to the attack.
The 1200-km pipeline running across the Arabian Peninsula has served as the main route out for global supplies of Middle East oil for the past six months while the Strait of Hormuz has been largely shut by war.
It has been moving four million to five million barrels per day, amounting to 4.0 per cent to 5.0 per cent of global supply, sparing Saudi Arabia the brunt of the disruption that has crippled other Gulf oil and gas exporters.
There was no immediate claim of responsibility for the strikes.
Satellite images showed black smoke rising from an area of the pipeline south of Medina.
The attack resulted in some injuries and damage that was being assessed, the Saudi Foreign Ministry said without detailing the impact on exports.
US President Donald Trump, visiting Ireland to attend a golf tournament at one of his resorts, said Iran was probably to blame.
Oil prices shot up over the past week and the retail price of diesel in the United States surged past a record $US6 ($A8.4) a gallon, as the United States and Iran both fired on tankers and the Iran-aligned Houthis in Yemen advanced along the Red Sea, potentially extending disruption to another major oil route.
Washington now faces a dilemma over whether to help the Saudis fight the Houthis, risking further expansion of the war.
Saudi Arabia's de facto ruler, Crown Prince Mohammed bin Salman, phoned Trump on Thursday and asked for US military help fighting the Houthis, three sources told Reuters.
They said the prince was told that Washington would not intervene directly for now but would help with intelligence.
Trump confirmed on Saturday that he had spoken to the crown prince, and said the Houthis had also phoned his administration and asked Washington not to become directly involved in the conflict.
Four Yemeni government sources told Reuters that the Houthis had seized the strategic island of Perim on Friday in the middle of the Bab el-Mandeb Strait — the "Gate of Tears" at the mouth of the Red Sea.
There have been no talks between the United States and Iran to end the conflict since a June agreement that collapsed within weeks.
In a post on X on Saturday, Ebrahim Azizi, head of the Iranian parliament's national security committee, said: "As long as the American side does not accept all of Iran's conditions, dialogue and negotiation are of no use."
Iran's foreign ministry announced on Friday that Iran would be attending a meeting with Gulf Arab states in Oman on Monday, at which the future of the Strait of Hormuz would be discussed.
But a senior Iranian official, speaking to Reuters on condition of anonymity on Saturday, played down the chances of a breakthrough, saying the meeting, called at Oman's initiative, was intended to discuss issues including the strait but was not expected to yield a signed agreement.
An agreement on routes through the Strait of Hormuz between Iran and Oman will be presented at the meeting on Monday, which will also be attended by Iraq, but the strait will not reopen unless seven conditions conveyed by Iran to the US are met, a source told Tasnim news agency, without elaborating.
Oman has not officially announced the meeting, and other Gulf countries have remained silent. Bahrain said on Saturday it would not attend meetings with Iran.