Richard E. Keefer, 67, retired secretary-treasurer and executive assistant to the president of the Association of American Railroads, died Tuesday at Suburban Hospital in Bethesda after a heart attack.

A native of Washington, Mr. Keefer attended D.C. schools and was a graduate of Business High School, where he was an outstanding basketball and baseball player. He earned a bachelor's degree from Benjamin Franklin University here.

Mr. Keefer retired in 1975 after more than 46 years with the AAR and related organizations. He started in 1928 as a stenographer and held serveral positions with the AAR and the Railrod Credit Corporation until 1948, when the RCC was disbanded.

Mr. Keefer then returned to the AAR. He was elected secretary-treasurer in 1959, a position he held until he retired. In 1964, he was named administrative assistant to the association's president, and two years later, he became the president's executive assistant.

In 1960, Mr. Keefer was fiscal agent for the United States organizing committee for the Pan American Railway Congress in Brazil.

During World War II, Mr. Keefer saw action duty in the Army and rose from the rank of private to chief warrant officer.

He is survived by his wife, Winifred Ann, of the home in Bethesda: four sons, Richard E. Jr. and J. Stephen, both of Rockville, Michael C., of Milwaukee, and Thomas D. of the home; two daughters, Sheila M. Ungert, of Bowie, and Patricia A. Russell, of Milwaukee; a stepsister, Evelyn Sorrell, of Washington, and seven grand children.

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