New racial profiling guidelines being announced by the Obama administration would restrict the ability of the FBI and other law enforcement agencies to take into account religion, national origin and other characteristics during investigations. But they would exempt agents from the Department of Homeland Security who do border checks and screen passengers at airports, according to a U.S. official familiar with the plans.

The official said Friday night that the new guidelines banning profiling exempt the Transportation Security Administration and also do not cover inspections at ports of entry and interdictions at border crossings. The official was not authorized to discuss the guidelines by name and spoke on condition of anonymity ahead of a formal announcement expected within the coming days.

The new guidelines apply to federal law enforcement agents but aren't binding on local police officers who are more likely to have day-to-day contact with community members. Their formulation also long predates high-profile cases, such as the police shooting in August in Ferguson, Missouri, that have placed police treatment of minorities in the spotlight.

But they're nonetheless a significant legacy item for outgoing Attorney General Eric Holder and will be unveiled during national conversation about racial bias in law enforcement and community relations with police.

"This new guidance will codify our commitment to the very highest standards of fair and effective policing," Holder told an audience in Atlanta on Monday night in previewing the announcement.

Federal law enforcement agents are banned from routine racial profiling under a 2003 Bush administration policy that created a significant exemption for national security investigations. This policy goes beyond the decade-old one, expanding the definition of racial profiling to ban the practice on the basis of religion, gender, national origin and sexual orientation, the official said. The American Civil Liberties Union said the inclusion of those categories represented a "significant leap forward."

But the guidelines will not end the FBI's ability to collect racial and ethnic information about neighborhoods, a practice known as "mapping" that has long disquieted civil liberties advocates, said Laura Murphy, director of the ACLU's Washington Legislative Office, who is familiar with the new policy.

"In essence, the guidance is a major improvement, but it's not sufficient," she said.

The outline of the guidelines was first reported by The Washington Post on Friday night.

The guidelines apply to law enforcement agencies within the Justice Department, including the FBI, the Drug Enforcement Administration and the Bureau of Alcohol, Tobacco, Firearms and Explosives. ACLU officials said they were troubled that the protocols wouldn't apply to Homeland Security components who serve at the border or in airports, saying that exemption would disproportionately affect Latinos and religious minorities.

"Focusing on an entire class of people instead of on actual conduct is unfair and harms our national security by wasting scarce government resources and eroding minority communities' trust in government," the group said in a statement.

Holder has made civil rights a cornerstone priority as attorney general, and the issue has taken on added importance in recent months with the Ferguson case and the July death of Eric Garner, a New York man who was placed by a police officer in what appeared to a chokehold.

Still, given the guideline' emphasis on federal law enforcement, it's not clear how much impact they'll have on the routine police practices og local agencies.

"Based on what we know about the changes that are coming out, I'm not sure how it ties into the Eric Garner/Ferguson issue," said Faiza Patel, co-director of the Liberty and National Security program at the Brennan Center, a public policy and law institute. "In both of those cases, you had local law enforcement that was involved in the incidents, and the guidelines don't regulate state and local police."