Edgar N. Pike, 58, a science and technology officer with the Near East Bureau of the Agency for International Development, died of cancer Friday at his home in Chevy Chase.

He had joined AID here in 1976 as science officer for the Middle East and had traveled to Egypt, Morocco and Tunisia. He had resided in Chevy Chase since 1975.

Mr. Pike was born in New York City. After graduating from the University of California at Los Angeles, he served as a Navy officer in World War II. His landing craft was sunk off the coast of Normandy on D-Day at Omaha Beach. Later he participated in landing operations in Brittany.

After the war, Mr. Pike worked briefly for the old New York Herald Tribune and as a screenwriter for Universal Studios in Los Angeles. He studied at the Sorbonne in Paris, wrote some television documentaries and then was with the European Recovery Program in Paris, helping to administer the Marshall Plan.

From 1956 to 1970, he was with the Asia Foundation in San Francisco, Vietnam, Taiwan and Hong Kong. He then served two years with the Peace Corps in Micronesia, returning to Paris for assignments with the United Nations Educational Scientific and Cultural Organization (UNESCO) and the Organization of European Cooperation and Development until 1975.

He is survived by his wife, the former Janice Zoberbier of Chevy Chase; three daughters, Medley Ann, of San Francisco, and Rebecca and Jenny Lee, of Chevy Chase; a son, Brian, of Clearwater, Fla., and his mother, Mrs. Jules Kahn of New York City.

The family suggests that expressions of sympathy be in the form of contributions to the Home Care Department of Holy Cross Hospital.