This article is more than
5 year oldMr Acosta, a former Florida prosecutor, made the announcement from the White House lawn on Friday, as President Donald Trump stood by his side.
Democrats had called for him to quit over his handling of the Epstein case.
Mr Acosta had been defending the secretly-negotiated plea deal in a news conference only two days ago.
Mr Trump told reporters that the two had spoken on the phone earlier on Friday morning and that it was Mr Acosta's decision
Mr Acosta was the US Attorney in Miami in 2008 when he oversaw a non-prosecution deal against Epstein which allowed him to serve 13 months in jail - with much of that spent on work release at his Palm Beach office.
"This was him not me," Mr Trump said, adding that Mr Acosta was "a tremendous talent" who "went to Harvard" University. Earlier this week, Mr Trump told reporters that he felt badly for his labour secretary, but added that he did not know him personally before hiring him.
Mr Acosta told reporters: "I do not think it is right and fair... to have Epstein as the focus rather than the incredible economy that we have today".
But he added: "It would be selfish for me to stay in this position and continue talking about a case that's 12 years old."
Patrick Pizzella, the current labour deputy secretary, will become acting secretary when Mr Acosta officially steps down in one week, Mr Trump said.
On Wednesday, Alex Acosta gave a dispassionate, legalistic defence of his handling of the Jeffrey Epstein case, more than a decade ago. It wasn't enough to save his job. Given how quickly he departed after his performance, it wasn't even close.
The former US attorney attempted to shift blame to state prosecutors and justify his decisions based on changing expectations in sex crimes cases. He never adequately explained why the circumstances at the time required that he offer such a lenient deal to Epstein or seal the damning details of the original indictment, instead of building a stronger case with further investigation.
The Epstein case is a perfect storm of scandal and outrage. It mixes allegations of sex crimes with abuse of power and influence reaching into the highest corridors of US political and financial power.
Now the toxic swirl has claimed its first high-profile name. Depending on how the story evolves, Mr Acosta may not be the last.
With his departure, the number of temporary, "acting" Cabinet-level positions in the Trump administration now stands at four out of 11. The level of churn in his administration, whether through scandal, burn-out or presidential disfavour, is extraordinary.
The 66-year-old wealthy financier was charged with running a sex ring of underage girls after being arrested in New Jersey on Monday. He has long been surrounded by the rich and powerful, including President Donald Trump, former-President Bill Clinton and British Prince Andrew.
In a magazine 2002 profile, he said: "I invest in people, be it politics or science. It's what I do."
On Friday, Mr Trump reiterated "I'm not a fan of Jeffrey Epstein" after earlier saying they had a falling out "12 or 15 years ago" with him. "I threw him out of a club. I didn't want anything to do with him," Mr Trump said about this former friend, as Mr Acosta stood at his side.
"It shows you one thing. I have good taste," he added.
"I wanted to help them," Mr Acosta said of the 36 victims identified in the case against Epstein, during the hour-long press conference at the labour department on Wednesday.
"That is why we intervened," he said. "And that's what the prosecutors of my office did - they insisted that he go to jail and put the world on notice that he was and is a sexual predator."
Mr Acosta did not apologise for his handling of the case, saying only that the deal - which closed the FBI investigation into whether there were more victims or perpetrators - was a guarantee of jail time. He said that seeking a life sentence in a jury trial would have amounted to a "roll of the dice".
"We now have 12 years of knowledge and hindsight and we live in a very different world. Today's world treats victims very, very differently," he said.
Newer articles
<p>The two leaders have discussed the Ukraine conflict, with the German chancellor calling on Moscow to hold peace talks with Kiev</p>