Retired Navy Cdr. Eugene C. Rider, 64, a career officer and combat veteran of World War II, died Thursday at Arlington Hospital after a heart attack.

His last assignment from 1959 until his retirement in 1964 was on the staff of the commander of the Military Sea Transportation Service here.

Born in Rowletts, Ky., Capt. Rider graduated from the Naval Academy at Annapolis in 1934.

During the early part of World War II, he was a gunnery officer on the seaplane tender U.S.S. William B. Preston, which saw action in the Philippines.

Later, he commanded the Preston, and a mine sweeper, the U.S.S. Lark, then the destroyer U.S.S. Ellet, in the Hollandia and Marianas campaigns. His decorations included the Silver Star.

Capt. Rider returned to the Naval Academy to teach marine engineering after the war. He later was operations officer of the heavy cruiser U.S.S. Macon, and commanded a destroyer division.

He had tours of duty with the Bureau of Naval Personnel here during 1949-52, and 1953-56. He was a graduate of the Armed Forces Staff College and Industrial College of the Armed Forces.

He was a fromer member of the Rotary Club and belonged to the Army Navy Country Club and the Retired Officers Association.

After retiring from military service, Capt. Rider worked in real estate in Northern Virginia until a second retirement several years ago.

He is survived by his wife, Dorothy M., of the home in Falls Church; three daughters, Ridgely M. Keeley, of Vienna, Wyatt M., of Falls Church, and Drew H., of Richmond; a sister, Rela Hayes, of Rowetts, and two grandchildren.

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