Dorset Fire and Rescue sprang into action to rescue Pigwig after he became trapped in the pool at Avon Castle Drive, Ashley Heath, earlier.
District commander Andy Cole said its specialist animal rescue squad was also dispatched to deal with the unusual rescue operation.
Firefighters used rescue boards, strops and lines to tug the stranded pig out.
Crews from Ferndown and Poole were the first on the scene of the drama after receiving a call at 16:50 BST.
They were later joined by a crew from Hampshire Fire and Rescue service in Ringwood.
Pigwig was hauled from the swimming pool at about 17:30.

By reaching a settlement, Google will avoid criminal prosecution in the US for profiting from the adverts.
The $500m represents the firm's revenues from the adverts and the revenues generated from the sale of the drugs, federal investigators said.
Google said it should it not have allowed the adverts.
"We banned the advertising of prescription drugs in the US by Canadian pharmacies some time ago," the company said in a short statement.
"However, it's obvious with hindsight that we should not have allowed these ads on Google in the first place."
The US Justice Department said controls over selling the drugs were inadequate.
"While Canada has its own regulatory rules for prescription drugs, Canadian pharmacies that ship prescription drugs to US residents are not subject to Canadian regulatory authority, and many sell drugs obtained from countries other than Canada which lack adequate pharmacy regulations," the department said.
It added that the higher price of the drugs reflected the fact that some could be bought without a doctor's prescription.

The 29-year-old ex-Tranmere Rovers and Leicester City left-back has not played since rupturing his anterior cruciate ligament just 37 minutes into his debut on loan at Yeovil in January 2014.
"We're providing a base to get himself going," said Crewe boss Steve Davis.
"We certainly know he's good enough," Davis told BBC Radio Stoke.
"I remember him bombing down the wing at Tranmere causing us heaps of problems. He got player of the season there before going to Leicester."
The French-born former Ivory Coast Under-23 international was released in the summer by Leicester, for whom he managed just two League Cup appearances after leaving Tranmere to join the Foxes in July 2013.
But Bakayogo, who still has a home on Merseyside, has been making the short daily journey to Crewe's Reaseheath training ground in a bid to get his career going again.
"We haven't made any decisions either way," said Davis. "He came to us pre-season with a view to us having a look at him, when we were looking for a left-back, before we signed Stephen Kingsley.
"His knee was in poor condition. He'd had a couple of cruciates and had been out for two years. There were doubts about those injuries and we wanted to take a look at him, but he's answering those questions at the moment. He wants to get back playing professional football."
Davis's Crewe still sit bottom of League One, having won just three times in 16 games this season, ahead of Saturday's FA Cup first round date at home to non-league high fliers Eastleigh.
A pig that fell into a swimming pool in Dorset has had his bacon saved by firefighters.
[NEXT_CONCEPT]
Internet giant Google has agreed to forfeit $500m (Â£306m) for publishing online adverts from Canadian pharmacies selling illegal drugs to US customers.
[NEXT_CONCEPT]
Crewe Alexandra are considering whether to offer a deal to on-trial defender Zoumana Bakayogo after almost two injury-hit years out of the game.