The 38-year-old had been recalled to the side after Yuvraj Singh was ruled out through injury. He announced his decision following the completion of yesterday’s match against Northamptonshire.
"I am honoured and privileged to be selected in the Indian one-day team," said Dravid.
"Since I had not been picked for one-day cricket for the last two years, I was obviously a little surprised and to be honest, because I had not been picked, I had not informed the selectors or the board of my desire to solely focus on Test cricket.
"At the end of this one-day series, I would like to announce my retirement from one-day and Twenty20 cricket and concentrate only on Test cricket.
"I am committed, as always, to give my best to India in this one-day series and obviously the Test series that follows."
The five-game series is due to begin on Saturday, September 3 at Durham.