The recommendation against seeking the renewal of the once-secret spying program amounts to an about-face by the agency, which had long argued in public and to congressional overseers that the program was vital to the task of finding and disrupting terrorism plots against the U.S.

The latest view is rooted in a growing belief among senior intelligence officials that the spying program provides limited value to national security and has become a logistical headache.

Frustrations about legal-compliance issues forced the NSA to halt use of the program earlier this year, the people said. Its legal authority will expire in December unless Congress reauthorizes it.

It is up to the White House, not the NSA, to decide whether to push for legislation to renew the phone-records program. The White House hasn’t yet reached a policy decision about the surveillance program, according to the people familiar with the matter.

The White House National Security Council and the NSA declined to comment.