Pietersen, 37, who briefly captained England in 2008-09, was told in 2014 that he was no longer in the national side's plans and spent the latter part of his career playing for a number of club teams across the world.
The South Africa-born player represented Quetta Gladiators in the Pakistan Super League this season and scored seven runs in his last match against Islamabad United on Thursday.
Morgan calls for changes to impossible calendar and to put double headers at Wembley
07/08/2022 AT 16:00
"Boots up! Feet up! Family, animals, golf...! H O M E," the swashbuckling batsman tweeted, before following it up with another message to his 3.65 million followers.
Pietersen played 104 tests for England after making his debut against Australia at Lord's in 2005. He scored 8,181 runs at an average of 47.28 and struck 23 centuries and 35 fifties.
A hard-hitting batsman who often made playing unorthodox shots look easy, Pietersen featured in 136 one-day internationals -- scoring almost 4,500 runs with nine centuries and 25 fifties -- as well as 37 Twenty20 internationals.

England cricketer Kevin Pietersen (R) is watched by teammate Ian Bel

Image credit: Getty Images

It was in the shortest format of the game that he delighted audiences in India, representing Delhi Daredevils and Royal Challengers Bangalore among other teams in the lucrative Indian Premier League.
Pietersen was part of England's Ashes-winning side in 2005 and also helped them win the 2010 World T20 title.
His England career ended in controversial circumstances in 2014 as the England and Wales Cricket Board sacked him and stated that then captain Alastair Cook needed to be able to trust and rely on the support of all his players.
"Well done Kidda what a career," former England paceman Darren Gough wrote in tweet, while the England and Wales Cricket Board simply tweeted:
Pietersen responded on Instagram by saying: "Thank you for all the quite lovely msgs! I loved entertaining you all! Ciao, cricket! I love this game!"
Lincolnshire first to clinch victory in National Counties Championship
07/07/2022 AT 09:38
Worcestershire ace Gibbon spearheading Cheshire's National Counties Championship tilt
02/07/2022 AT 14:07