WASHINGTON — Analysts at the National Security Agency will no longer be permitted to search a database holding five years of Americans’ domestic calling records after Nov. 29, the Obama administration said on Monday.

Legislation enacted in June barred the N.S.A. from collecting Americans’ calling records after 180 days, but did not say what would happen to the data already gathered. Under a new system laid out by the USA Freedom Act, the government will not hold the bulk data, which is used to analyze links between callers in search of terrorism suspects.

Earlier this month, the Office of the Director of National Intelligence declined to say whether the government would keep using the data collected under the old procedures or would purge it after the new system is in place.

On Monday, the intelligence office said in a statement that N.S.A. analysts would lose access to the old database after Nov. 29, but that N.S.A. technicians would still be able to view the historical records for an additional three months. That will allow them to compare the data to the calling records produced under the new system, the statement said. After those three months, that access will cease, too.