Fernando Alonso is set to race in the Le Mans 24 Hours for Toyota next season, BBC Sport has learned.
And the McLaren Formula 1 driver’s talks with Toyota have extended to the possibility of Alonso doing most of the World Endurance Championship in 2018.
No contract has been formally signed yet but sources say that the Le Mans deal, at least, will happen.
Alonso will drive the Toyota WEC car in a test in Bahrain on 19 November, the day after this season’s final race.
“Le Mans is agreed,” said a source close to Toyota. “The rest of the season is still being negotiated but it looks like he will do most of the races.”
The 36-year-old Spaniard would not confirm his impending deal with the Japanese manufacturer, which would be alongside his full F1 season with McLaren next year.
Alonso said at the Brazilian Grand Prix: “So far, nothing to comment. We will see. Just rumours.”
A Toyota spokesman said: “We have no comment to make on this speculation.”
The move is the latest development in Alonso’s attempt to win the so-called triple crown of motor racing – the Monaco Grand Prix, the Indianapolis 500 and Le Mans, which only Graham Hill has so far achieved.
It has already been announced that Alonso will compete in the Daytona 24 Hours sportscar race in January, as a preparation for a future assault on Le Mans.
Alonso, who won Monaco in 2006 and 2007 and is a two-time F1 world champion, competed at Indy last year and was running competitively when his engine failed in the closing stages of the race.
Doing Le Mans with Toyota is a close-to guarantee that he will have a competitive car and a chance to win – although the car giant has famously never won the demanding sportscar classic.
Toyota’s participation in the WEC next season has not been officially confirmed but sources say the company will continue. The team, which is based in Germany, already has a budget for 2018 and is developing its new car.
The championship is going through a difficult time following Porsche’s decision to withdraw after this season, which ends in Bahrain on 18 November.
Toyota would be the only remaining factory team in the championship in 2018.
Neither WEC nor F1 has a confirmed calendar for 2018 but the provisional schedules have only one clash – on 21 October when the US Grand Prix and the Japanese WEC race at Fuji.
So assuming Alonso feels that racing in the WEC alongside F1 would not compromise his performance for McLaren, there is no obvious reason why he could not complete in all the other races.
The fact that two car manufacturers are involved complicates the issue – McLaren will have Renault engines next season – but this is not considered to be something that will ultimately prevent the deal from happening.