Mark Hannaford, 60, a California Democrat who was a member of the House of Representatives from 1975 to 1979, and then briefly served as an assistant secretary of commerce, died of cancer June 2 at a hospital in Lakewood, Calif.

During his years in Congress, he gained a reputation as a man who looked after the interests of his district. He also was known for his work in the field of energy, sponsoring several energy bills during national oil shortages.

After losing his 1978 bid for reelection, he served briefly as assistant secretary of commerce in the Carter administration. He moved from Lakewood to Paramount, Calif., in 1980 and unsuccessfully ran against Mervyn M. Dymally for the Democratic nomination in the 31st Congressional District.

After his 1980 defeat, Mr. Hannaford went into lobbying. For awhile he was president of a consumer lobby called Bankcard Holders of America, and last year he opened his Window on Washington, a lobbying and consulting concern whose clients include southern California cities.

Mr. Hannaford was born in Colorado and was a bombardier with the Army Air Forces in the Pacific during World War II. He received bachelor's and master's degrees in political science from Ball State University in Indiana. He settled in Lakewood in 1953. He taught elementary and junior high school courses before spending a year at Yale University, where he did advanced work in economics and political scence. Returning to Lakewood, he taught political science at Long Beach City College from 1966 to 1974.

He was a member of the Lakewood City Council from 1966 to 1975, and had served as the city's mayor from 1968 to 1970, and again from 1972 to 1974.

Mr. Hannaford is survived by his wife, the former Sara Jane Lemaster, whom he married in 1948; three sons, and three grandchildren.