Virgin Atlantic on Wednesday reported an annual pretax loss for the second consecutive year, hit by a shaky economy, the higher costs of fuel generated by a weaker British pound and problems with Rolls Royce's RR.L Trent engines.

The airline, the 1980s brainchild of British billionaire Richard Branson, fell back into the red in 2017 after three years of profits, as competition intensified and the weakening of the pound added to already rising fuel costs.

Best known in Europe for the trans-Atlantic planes it flies with Air France-KLM and Delta, Virgin said its loss before tax and exceptional items was 26.1 million pounds ($34.12 million) for the year ended Dec. 31, compared to a loss of 49 million pounds in 2017.

Total revenue rose 5.8 percent to 2.78 billion pounds, as passenger numbers grew just under 5 percent to 5.4 million and revenue per customer rose 1.7 percent.

The company said performance had suffered from economic uncertainty and the weaker pound - which increases costs because fuel is priced in dollars - as well as the well-documented problems of the Trent 1000 engines used on its Boeing 787 jets.

"While a loss is disappointing, our performance has improved in 2018 despite challenging economic conditions and put us on a trajectory for growth and return to profitability," Chief Executive Officer Shai Weiss said in a statement.

Rolls-Royce RR.L on Wednesday agreed to an early inspection of some Trent 1000 TEN engines by regulatory authorities, a week after Singapore Airlines SIAL.SI grounded two Boeing 787-10 jets fitted with the units. 

British Airways owner IAG in February chose Boeing BA.N 777-9s, rather than a competing package from Airbus in part powered by Rolls, underlining the risks to airlines from the engine issues.

Since then the industry has been thrown into chaos by the grounding of Boeing's new 737 MAX planes after a second fatal crash within six months.

The pound fell 5.6 percent against the U.S. dollar, in 2018 as Britain contended with the political and economic uncertainty generated by its negotiations on leaving the European Union.

Finance chief Tom Mackay said that while economic factors would continue to challenge the carrier in the year ahead, Virgin Atlantic was in a strong cash position.

The results are the company's first since its acquisition of troubled regional airline Flybe for $2.8 million earlier this year, in a joint bid with Stobart Group and Cyrus Capital.

($1 = 0.7649 pounds)

(Reporting by Noor Zainab Hussain and Pushkala Aripaka in Bengaluru; Editing by Anil D'Silva) ((Pushkala.A@thomsonreuters.com; within UK: +44 20 7542 1810, outside UK: +91 80 6749 6633 ; Reuters Messaging: Pushkala.A.thomsonreuters.com@reuters.net; Twitter: @pushkala_a))