WASHINGTON — Scott Gottlieb, M.D., commissioner of the Food and Drug Administration, on March 5 notified Alex Azar, secretary of health and human services, that he will resign from the agency he has led since May 2017.  Dr. Gottlieb said he wanted to spend more time with his family. Since taking the helm at the F.D.A., he has commuted each week to Washington from his Westport, Conn., home. Dr. Gottlieb will remain at his post for about a month.

The White House said it did not seek Dr. Gottlieb’s resignation, and regretted his decision. President Donald Trump tweeted, “Scott Gottlieb, who has done an absolutely terrific job as Commissioner of the F.D.A., plans to leave government service sometime next month. Scott has helped us to lower drug prices, get a record number of generic drugs approved and onto the market, and so many other things. He and his talents will be greatly missed.”

Mr. Azar said of Dr. Gottlieb, “He has been an exemplary leader, aggressive advocate for American patients, and passionate promoter of innovation… The public health of our country is better off for the work Scott and the entire F.D.A. team have done over the last two years.”

As commissioner of the F.D.A., Dr. Gottlieb has overseen the agency that has the primary responsibility for ensuring the safety of drugs, medical devices and most foods sold or distributed in the United States. He was widely known for efforts to regulate the tobacco and e-cigarette industries and sought to tighten controls on youth access to such products.

On the food front, Dr. Gottlieb has furthered the implementation of food safety objectives of the Food Safety Modernization Act. Just in the last few weeks, he announced the issuance of a guidance to industry on how to comply with its responsibility to warn the public as needed during a food recall, and more recently published a document reviewing the F.D.A.’s strategy for ensuring the safety of imported food. On the day of his resignation, the F.D.A. issued its latest installment of its intentional adulteration of food draft guidance.

Geoff Freeman, president and chief executive officer of the Grocery Manufacturers Association, commented, “Under the leadership of Commissioner Scott Gottlieb, the Food and Drug Administration was a strong and effective champion of public health. His candor, transparency and willingness to work together was a welcomed approach in the regulatory environment.”