The prosecuting authority says Nel handed in his resignation.
Nel is one of the most high profile and successful prosecutors in the country.
He led Operation Bad Guys, the investigation and prosecution of Selebi and the murder of mining tycoon Brett Kebble.