Chance of fog or mist formation over some coastal and internal areas
Wozniacki, who announced in December that this would be her final tournament, lost 7-5, 3-6, 7-5 to lower-ranked Ons Jabeur of Tunisia.
The 29-year-old Wozniacki closes a career that saw her win 30 WTA titles, with her sole Grand Slam triumph coming in 2018 at Melbourne Park.
She was in tears when the end came at the hands of 78th-ranked Jabeur and just under two hours later her eyes were red and puffy as she arrived at her post-match press conference.
"I was told there are tissues here. I see the tissues in case I need them, I think I'm cried out," said Wozniacki, who was given a round of applause by reporters.
She was also given a generous reception by Melbourne Arena crowd after hitting her last shot in tennis - "I finished my career with a forehand error. Those are the things I've been working on my whole career," she joked to the crowd.
Choking back tears, Wozniacki, now ranked 36, added: "Guess this is just how it was meant to be."
Wozniacki, who made her professional debut in 2005, was carried triumphantly across court by her Polish-born father - who is also her coach - Piotr.
She also hugged husband David Lee, the former NBA star, as Neil Diamond's hit song "Sweet Caroline" reverberated around court.
Wozniacki finished 2010 and 2011 as world number one, and ascended to the top ranking again in 2018, the year she won the Australian Open.
But later that year she revealed that she was suffering with rheumatoid arthritis, which causes fatigue and joint pain.
She insists that has nothing to do with her decision to leave tennis and says she hopes to start a family.
Defeat for Wozniacki, minutes before Serena Williams's shock loss to Wang Qiang, deprived the close friends of an emotional meeting in the fourth round.
Williams also cried when asked about Wozniacki's retirement.
"She came into the locker room afterwards, we were both kind of bummed about our matches," said the American, 38.
It was then that Williams, who was a bridesmaid at Wozniacki's wedding, began welling up too.
"She's had an amazing career. Oh my God, I'm getting emotional. Oh my," she said.
"God, I'm going to miss her. Guys, I can't answer Caroline questions, I'm going to be crying. She's one of my best friends in the world."
Defending men's champion Novak Djokovic said Wozniacki, the first Dane to win a WTA title, left a "great legacy".
"It's sad to see her leave tennis because she has been a great champion and she has been a friend of mine for many years," he said.
Wozniacki, who started playing tennis aged seven, said she had no second thoughts about retirement and could look back on her career with no regrets.
"I had a dream when I was a kid. I wanted to win a Grand Slam. I wanted to be number one in the world," she said.
"People thought that I was crazy being from a small country, But I made it happen."
Chance of fog or mist formation over some coastal and internal areas
Panic and fear gripped many motorists as the water level surged, and they had to make a choice- to prioritise their safety or cling to their cars
The trend is seeing professionals in their 20s take positions as directors and vice-presidents of companies — but does it put careers at risk?
Tuesday night saw housekeeping staff dedicatedly tackling waterlogging issues, fixing electrical supplies to be able to receive students soon
Some were asking makeshift boat and kayak operators to transport them as it was quite a challenge to walk through fully submerged footpaths and roads
Al Ain, who had beaten Cristiano Ronaldo's Al Nassr in the quarterfinals, thrashed Al Hilal 4-2 in the first leg of the Asian Champions League semifinal
Rudiger scored the decisive spot-kick to send Real into the last four and a clash against Bayern Munich
Capitals race to victory inside nine overs after the Titans were dismissed for their lowest IPL score of 89 since they debuted in 2021