William D. Moore, 61, an auditor-investigator at the Department of Agriculture who was a retired chief master sergeant in the Air Force, died of a heart attack Saturday at Greater Southeast Community Hospital.

Mr. Moore began his military career in 1941 when he enlisted in the old Army Air Corps during World War II. At the end of the war, he went to Chattanooga, Tenn., his hometown, and operated a potato chip business. In 1952, he went back in the service and remained in it until his retirement in 1970.

He was stationed at several posts in this country and also in Greenland and Japan. His last duty station before his retirement was in Washington and he had made is home in this area since 1964.

In 1971, a year after he joined the Agriculture Department, he was awarded a certificate of merit for his work. He received a second certificate in 1975.

Mr. Moore's military decorations included two Air Force Commendation Medals and a Meritorious Service Medal.

He was a member of the Oxon Hill Lutheran Church (Missouri Synod).

Survivors include is wife, Margene M., of the home in Oxon Hill; three sons, Mitchell, of Raleigh, N.C., Douglas, of Oxon Hill, and James, of Knoxville, Tenn.; two daughters, Trudy Stewart, of New York City, and Kathy, a student at the University of Tennessee, of which Mr. Moore was a graduate; three sisters, Janet Moore and Rosel Crawford, of Chattanooga, and Christine Cawood, of Miami, Fla., and one grandson.

The family suggests that expressions of sympathy be in the form of contributions to the Oxon Hill Lutheran Church Memorial Fund.