House Democrats overwhelmingly opposed the interim legislation in August and believed at the time they had been forced into a corner by the Bush administration.

As Congress takes up the new legislation, a senior Democratic aide said House leaders are working hard to make sure the administration does not succeed in pushing through a bill that would make permanent all the powers it secured in August for the N.S.A. “That’s what we’re trying to avoid,” the aide said. “We have that concern too.”

The bill to be proposed Tuesday by the Democratic leaders of the House Intelligence and Judiciary Committees would impose more controls over the N.S.A.’s powers, including quarterly audits by the Justice Department’s inspector general. It would also give the foreign intelligence court a role in approving, in advance, “basket” or “umbrella” warrants for bundles of overseas communications, according to a Congressional official.

“We are giving the N.S.A. what it legitimately needs for national security but with far more limitations and protections than are in the Protect America Act,” said Brendan Daly, a spokesman for Speaker Nancy Pelosi, Democrat of California.

Perhaps most important in the eyes of Democratic supporters, the House bill would not give retroactive immunity to the telecommunications companies that took part in the N.S.A.’s domestic eavesdropping program — a proposal that had been a top priority of the Bush administration. The August legislation granted the companies immunity for future acts, but not past deeds.

A number of private groups are trying to prove in federal court that the telecommunications companies violated the law by taking part in the program. A former senior Justice Department lawyer, Jack Goldsmith, seemed to bolster their case last week when he told Congress that the program was a “legal mess” and strongly suggested it was illegal.

In the Senate, the Democratic chairman of the Intelligence Committee, John D. Rockefeller IV of West Virginia, is working with his Republican counterpart, Christopher S. Bond of Missouri, who was one of the main proponents of the August plan, to come up with a compromise wiretapping proposal. Wendy Morigi, a spokeswoman for Mr. Rockefeller, said that retroactive immunity for the telecommunications companies is “under discussion,” but that no final proposal had been developed.