Retired Army Sgt. Maj. Fred J. Lewis, 60, a combat veteran of World War II whose last assignment was on the staff of the chief of staff for military operations at the Pentagon, died Friday at his home in Lanham after a heart attack.

During World War II, Sgt. Lewis, who served with the combat engineers, participated in the D-Day landing on Utah Beach in Normandy, followed by 23 major engagements, including the Battle of the Bulge. He spent 333 continous days in combat areas on the western European front. He was wounded twice in the war.

He was born in Kansas City, Mo., and enlisted in the Army at 17. He had lived in this area since 1960, when he was assigned to the Pentagon. He retired in 1970.

Sgt. Lewis' decorations indluded the Legion of Merit. He was a member of the American Legion and the Veterans of Foreign War.

He is survived by his wife, Gladys M., of the home; four sons, John F., of Burke, Va., Walter James, of Boston, Robert S., of Pasadena, Md., and Daniel W., of Silver Spring; a sister, Grace LeRoi, and a brother, Adolph, both of Kansas City, and six grandchildren.

The family suggests that expressions of sympathy may be in the form of contributions to the American Heart Association.