Repairs to the Forties Pipeline, which carries 40% of North Sea oil and gas, could take up to three weeks, operators have said.

The pipeline has been shut to repair a crack discovered last week during a routine inspection south of Aberdeen.

Operators Ineos said the repair would be more complicated than first thought as the crack was spreading.

It said the impact for customers would be very significant but the domestic market was not likely to be much affected.

Chief executive Andrew Gardner said workers found a hairline crack in the pipe last Wednesday, which then started to grow despite efforts to repair it.

He said: "Over the weekend we noticed the crack starting to develop and grow further.

"It was about 10cm and it grew another couple of centimetres.

"We reduced the pressure further and then at that point the crack still grew so the only safe option was to take the system down so we could be convinced that we could stop the growth of the crack and get in and do a proper permanent repair."

He added: "It was a straightforward process when the crack was not moving.

"Now that the crack is propagating we need to be very careful that whatever repair isn't just masking a crack underneath so it will probably be a little bit more complicated than what we thought it was going to be, hence why we need to take the system down."

Asked how long the system was likely to be down he said: "We're estimating just now between two and three weeks.

"Overnight the system has come down, we've been making it safe and now we need to get in and inspect further and the results of that inspection now that the system is safe will obviously determine the repair mechanism."

Some residents have been placed in temporary accommodation while the repairs take place.

Ineos only recently bought the pipeline, which takes mainly oil to the company's refinery at Grangemouth.

Mr Gardner said the impact of the shutdown would be "very significant" for Ineos customers and apologised to them.