Attorney General Eric Holder, the top US law enforcement official and one of President Barack Obama's closest aides, will resign on Thursday, White House and Justice Department officials said.