The newly turned 20-year-old trailed by a set and 3-0 -- she had to fend off three break points to avoid falling behind 4-0 -- before rallying for a 4-6 6-4 6-3 victory Saturday on Philippe Chatrier court. Ostapenko also trailed 3-1 in the third.
The world No. 47 became only the second unseeded woman to win the French Open after Margaret Scriven in 1933 and the first player from her nation -- population of about 2 million -- to claim a major.
Ostapenko suspected that Saturday's match in sunny, warm conditions in Paris was shown on a big screen in the city center in Riga, Latvia's capital city.
'I think it's quite a big deal in Latvia,' Ostapenko told reporters.
This was her first top-level title of any kind, emulating the accomplishment of the much loved Gustavo Kuerten at Roland Garros on June 8, 1997.
The Brazilian, who made an appearance at the French Open this week, won the first of his three titles on the Parisian clay the day Ostapenko was born.
'So I think it's kind of maybe a lucky, lucky number or something,' Ostapenko told reporters.
Ostapenko -- who seemed to be the crowd favorite Saturday -- chose tennis over ballroom dancing only a few years ago. It looks like it was the right decision.
Her all-out attacking game ultimately got the better of the steady Halep, who lost her second French Open final -- she fell to Maria Sharapova, also in a three-set thriller, in 2014.
Halep said she was deeply affected by nerves leading into the final.
'This one hurts a lot maybe because I am more...I realize more what is happening,' said the 25-year-old. 'Three years ago was something new, so now I know. Hurts a lot and I need time just to, I don't know, to go away.'
Ostapenko struck 54 winners to Halep's eight, never allowing her rival to settle.
'At some point I was like a spectator on court,' said Halep. 'She deserved to win.'
No No. 1 ranking just yet for Halep
Halep, the third seed and pre-tournament favorite, was denied the No. 1 ranking with the loss in a double blow.
The Romanian possesses a counter-punching game and against Ostapenko could do nothing but react to her opponent's booming ground strokes. Ostapenko's average forehand speed topped that of men's No. 1 Andy Murray this fortnight.
The problem for the 2014 Wimbledon junior champion, however, was that she was missing too much in the first set.
When Halep won the first after hitting one winner and two unforced errors, it indeed told you most of what you needed to know. Ostapenko was too charitable with her unforced errors, striking 23.
READ: Nadal, Wawrinka to meet in men's final
READ: Graf's role in Agassi's coaching stint
Her task became much more difficult early in the second.
Ostapenko held a 40-0 advantage on the Halep serve but couldn't break, was broken in the ensuing game after holding game point and lost the next game after it went to deuce.
A 3-0 deficit resulted and Halep then had three break points to get to 4-0. If she had taken any of them, most likely that would have finished off Ostapenko.
Ostapenko though hung on and so began a run of four consecutive games won.
'When I was losing 6-4, 3-0, in my mind I was just, 'I'm just going to enjoy the match,' and I will try to fight until the last point,' said Ostapenko.
A reeling Halep surrendered the set when Ostapenko struck a blazing forehand winner down the line, to the crowd's approval.
Her second-set numbers improved drastically: 22 winners and 18 unforced errors.
But the question remained in the third -- could Ostapenko maintain the momentum with that high-risk game?
She continued to apply the pressure yet on the second of two break points on Halep's serve, the latter's forehand stayed just inside baseline.
Halep held and later broke for 3-1.
Time for another Ostapenko resurgence. She stormed to the last five games, officially winning her first grand slam title by crushing a backhand return winner down the line.
She dropped her racket and couldn't stop smiling as she walked to the net.
Halep was gracious in what was a difficult moment, exchanging a hug with her conqueror.
Many would have felt destiny was on Halep's side when she herself pulled off a massive comeback in the quarterfinals, coming back from a set and 5-1 down and saving a match point against Elina Svitolina.
Halep won the second set with a net-cord winner but on Saturday Ostapenko earned the key break of the third at 3-3 with her own slice of luck.
Her backhand down the line was going wide until it hit the top of the net, changed direction and seemed to hang in the air for an eternity. When the ball landed, it dropped inside the line.
Lucky on that point, yes, but Ostapenko -- who will now enter the top 15 -- certainly merited the crown. Not only did she defeat Halep, but she ousted former No. 1 Caroline Wozniacki, former French Open finalist Samantha Stosur and 2015 semifinalist Timea Bacsinszky.
Nadal to win No. 10?
Like Halep, Rafael Nadal entered the tournament as the favorite. He, too, has made the final.
On Sunday the Spaniard bids for a 10th crown at the French Open when he meets Stan Wawrinka, one of only two players other than the left-hander to have triumphed in Paris since Nadal burst onto the scene in 2005.
No man has ever won the same grand slam on 10 occasions.
Nadal hasn't dropped a set but will be wary of the threat carried by three-time grand slam winner Wawrinka. The Swiss possesses an attacking game that can overwhelm any foe, as evidenced by Friday's five-set win over Murray.
Visit our tennis page for more news and features
He has yet to lose a grand slam final and beat Nadal in the 2014 Australian Open final, though the latter sustained a back injury in the warmup.
- Best Solutions for your career oriented certification. PDf Questions, Practice test software. Get latest and Actual Exam Dumps For Best Results In Final Exam.
- Within a work to produce Nashville colleges more secure, the district has decided to set up balance cameras geared up with