President Donald J. Trump on Friday signed an executive order that directs federal contractors to coordinate with the White House and agencies before responding to congressional requests for information about their government work.

The order says it aims to protect confidential executive branch information and improve efficiency in federal contracting. It states that protecting such information, including from members of Congress, is “vital to the functioning of the executive branch.” The order also says some congressional leaders have threatened to intrude on executive prerogatives by seeking confidential information from agencies and private companies that contract with the government.

Executive Order 14438 requires all federal contractors to immediately alert the White House and their contracting agencies about any current or upcoming congressional request that concerns their communications or work with the executive branch. Contractors must follow any directions from the White House or the agency to withhold communications that those offices have concluded are covered by executive privilege.

Agencies must coordinate with the White House and contractors on responses to such requests, including the application or assertion of any relevant privileges, the order says. The requirements also apply to subcontractors. Agencies are directed to take steps to require contractors to ensure that subcontractors comply.

The order instructs each agency to promptly inform all contractors and subcontractors of these obligations and to require compliance. It directs the Office of Management and Budget to develop guidance on ensuring contractor compliance and on steps agencies should take to coordinate with contractors and the White House to protect executive information and enhance efficiency.

For enforcement, the order states that if a contractor or subcontractor fails to comply, contracting agencies shall consider all appropriate actions allowed by law, including potential termination or cancellation of contracts and potential debarment or suspension. The order includes standard severability and general provisions and says it will be implemented consistent with applicable law and subject to available appropriations.