Volkswagen, the German automaker, said on Tuesday that it would invest up to $5 billion in Rivian, a maker of electric trucks that has struggled to turn a profit, and that the companies would cooperate on software for electric vehicles.
The deal creates an unusual alliance between the world’s second-largest carmaker and an electric vehicle start-up that has strained to live up to investors’ expectations that it would achieve the kind of success that made Tesla the world’s most valuable automaker.
If successful, the partnership would address weaknesses at both companies. It would provide Volkswagen with the software expertise that auto analysts say it sorely lacks. And Rivian, in addition to cash, would benefit from the manufacturing expertise of an automaker that produces nearly 10 million vehicles a year, putting it just behind Toyota Motor in the global auto industry.
Volkswagen said it would initially invest $1 billion in Rivian, and over time increase that to as much as $5 billion. If regulators approve the transaction, Volkswagen could become a significant shareholder. The infusion represents a big vote of confidence in Rivian, which loses tens of thousands of dollars on each vehicle it sells.
Rivian’s pickups and sport utility vehicles have received glowing reviews in the automotive press, but the company has struggled to ramp up manufacturing at its factory in Normal, Ill. In recent months, many investors have grown worried that the company may not survive long enough to become profitable.
R.J. Scaringe, Rivian’s founder and chief executive, said the cash from Volkswagen would help Rivian launch a midsize S.U.V. called the R2 that will sell for about $45,000, and to complete a factory in Georgia. Rivian halted construction of the Georgia plant in March in an effort to save more than $2 billion.
“This is important for us financially,” Mr. Scaringe said of the Volkswagen partnership on a conference call with reporters on Tuesday.
The cheapest vehicle Rivian currently sells, the R1T pickup, starts around $70,000, a price that has limited its sales to affluent early adopters. Its R1S S.U.V. starts at $75,000. Even at those prices, Rivian lost $39,000 for every vehicle it sold in the first three months of the year.
Rivian’s stock jumped more than 50 percent in extended trading on Tuesday after the deal was announced.
The electric vehicle market has been divided between relatively young companies like Tesla and Rivian, which make only battery-powered cars, and established carmakers like Volkswagen, General Motors and Toyota, which have often struggled to master the new technology.
Except for Tesla, none of newer U.S. carmakers specializing in electric vehicles have won significant market share. Some, like Fisker and Lordstown Motors, have ceased production and filed for bankruptcy protection.
Auto analysts have long considered Rivian among the electric vehicle start-ups most likely to survive, in part because it has raised billions of dollars in investment. Amazon is one of its largest shareholders and the main customer for the company’s delivery vans.
But Volkswagen and Rivian operate very differently, and it could be a challenge for them to work together. Volkswagen, which is based in Wolfsburg, Germany, is known for rigid, top-down management and is owned in part by the state of Lower Saxony. Rivian, based in Irvine, Calif., has the more freewheeling culture of a technology start-up. Rivian said in April that it expected to sell 57,000 vehicles this year, far fewer than Volkswagen sells in a week.
Mr. Scaringe and Oliver Blume, the chief executive of Volkswagen, said the deal blossomed after the two met at a Porsche customer center and bonded over their love of cars.
“We have a very similar mind-set,” Mr. Blume said during the conference call.
Ford Motor was for a time a big shareholder in Rivian, and the two companies once said they would build S.U.V.s together. But that plan never came to fruition, and Ford sold most of its Rivian shares. Ford and Volkswagen have a separate partnership that includes joint development and production of electric vehicles.
The Volkswagen-Rivian alliance could encourage other established carmakers to consider investments or partnerships connecting them with start-ups like Lucid Motors — companies that have well-regarded technology but are unprofitable and struggling to establish themselves in a crowded market. Another large automaker, Stellantis, the parent company of Chrysler, Fiat and Peugeot, has invested in a Chinese company, Leapmotor, for access to its electric car technology.
Vehicles using the software developed by the new joint venture will go on sale during the second half of the decade, Volkswagen said. Any of Volkswagen’s brands, which include Audi and Porsche, could use the technology, Mr. Blume said. Scout, the American off-road brand that Volkswagen is reviving at a factory under construction in South Carolina, could also use the software.
But Volkswagen and Rivian will continue to market their vehicles separately.