Kevin Pietersen has performed a u-turn and said he "wants to commit to all forms of cricket for England" in a video interview.
The England batsman retired from the limited-overs forms of the game in June and there was speculation next week's third Test against South Africa at Lord's would be his last.
But in a nine minute interview released via Youtube he said: "I want to commit to all forms of cricket for England, because I love playing cricket for England."
"I love being part of a successful England team - we are a successful team.
"It would be really sad to end a career like this so sitting down with my family, my advisers and my close friends we've decided and I've decided that it would be a lot better to finish my career for England on a positive note rather than one that's being developed at the moment."
His U-turn has now opened the door for his selection in England's defence of the World Twenty20, which gets under way in Sri Lanka next month.
"I'll play in the one-day internationals against South Africa in a couple of weeks, the T20 World Cup hopefully if they select me for the squad," he said.
"The selection policy is with the selectors, but yes, I want to make myself available for every single form of cricket for England.
That is in stark contrast to his comments on Monday. "I can't rule out that my next Test may be my last," he said after winning the man of the match award in the drawn second Test at Headingley, after a superb innings of 149 and three wickets.
Pietersen has also had a change of heart about playing a full season in the Indian Premier League. He had wanted to miss the Test series with New Zealand next spring to play for Delhi Daredevils.