Kevin Pietersen will play for Surrey in the NatWest T20 Blast this summer.
Pietersen had been due to play for the St Lucia Stars in the Caribbean Premier League (CPL) but has decided to return to England instead.
The South African-born batsman last played competitive cricket in England in 2015, when he represented Surrey in the County Championship. Pietersen said: “I’m absolutely over the moon to be joining Surrey again. I’ve missed playing here at home and it’s going to be a special feeling walking out at The Kia Oval again.
“We’ve got some seriously talented guys in our team and I’m very confident we can achieve something really special this season.
“I’ve had some great times at this club and ground over the years; it’s a special place with top people, and I’m looking forward to once again being part of it.”
Pietersen will available for Surrey’s big Friday night fixtures against Middlesex on July 21 and Glamorgan on August 4 as well as the game against Sussex on Sunday, August 13.
If Surrey are successful in reaching the knockout stages of the competition, Pietersen will also be available for selection.
Surrey CCC director of cricket, Alec Stewart, said: “Re-signing KP is a massive boost to the club and the NatWest T20 Blast competition.
“To have a player of his undoubted calibre available to us will add strength and experience to our squad and I’m sure all our fans will enjoy seeing him back playing in England again.
“His work ethic and appetite for success are infectious and our squad have always enjoyed having him around the dressing room and performing out in the middle.”
This winter, Pietersen has been in action for the Melbourne Stars in Australia’s Big Bash League and Quetta Gladiators in the Pakistan Super League.
Pietersen elected not to take part in this season’s IPL auction in order to spend more time with his family.