WASHINGTON — A bipartisan bloc of House Judiciary Committee leaders have agreed to demand new limits on the National Security Agency’s warrantless surveillance program as a condition of temporarily extending its authorization, setting up a fight with the Trump administration.

The lawmakers — including the Republican representatives Robert W. Goodlatte of Virginia and Jim Sensenbrenner of Wisconsin, the current and former committee chairmen, and Representative John Conyers of Michigan, the ranking Democrat — have privately agreed to support extending the law, the FISA Amendments Act, through 2023, according to congressional officials who spoke on condition of anonymity to discuss the negotiations. It is set to expire at the end of December.

As part of an extension, they also have agreed to push for restrictions on surveillance. Among them is a requirement that F.B.I. agents obtain warrants before searching the program’s repository of intercepted messages for information about American criminal suspects. And they want to ban a disputed form of internet surveillance in which the agency collected emails that were about a foreign target of surveillance but neither to nor from that person; the N.S.A. voluntarily ceased that form of surveillance this year but wants to retain the flexibility to turn it back on again.

But the intelligence community and the Trump administration oppose key details of the agreement, which is not yet public and is being drafted into a bill by House Judiciary Committee staffers. On Monday, Dan Coats, the director of national intelligence, and Attorney General Jeff Sessions sent a letter to Congress asking lawmakers to instead make the surveillance law permanent without any changes.