Retired Navy Rear Adm. George G. Halvorson, 58, who retired in 1974 from the office of the Chief of Naval Operations here, died of a heart attack Tuesday in Grand Rapids, Minn., where he was vacationing.

After retirement, he moved from Alexandria to LaJolla. Calif., where he was a group manager of testing evaluation for ROHR.

Adm. Halvorson was director of advanced ship development and program coordinator or surface ship acquisition when he retired.

A veteran of combat duty in the Pacific in World War II, he first was assigned to Washington in about 1949 and was on duty here during most of the years that followed.

He was in the office of the original Polaris missile project, was head of the missile guidance and control division of the Naval Weapons Bureau and saw duty in the office of the Joint Chiefs of Staff.

In 1967-69, Adm. Halvorson was commanding officer of the U.S.S. Topeka, a light guided missile cruiser. He then was an officer with the underseas warfare systems in the Naval Ordnance Systems Command before his final assignment.

Adm. Halvorson held a number of decorations, including the Distinguished Service Medal, two Legions of Merit and the Bronze Star.

He is survived by his wife, Mildred H., a son, John Henry, and a daughter, Christine Elizabeth Halvorson, all of the home in LaJolla; another son, George Henry, of Columbia; two other daughters, Mary Patricia Schollen, of El Cajon, Calif., and Jane Louise Halvorson, of Escondido, Calif.; a sister, Mary Adeline Harrington, of Virginia, Minn.; a brother, John A., of Milwaukee, Wis., and five grandchildren.

The family suggests that expressions of sympathy may be in the form of contributions to the Class of 1942 Honor Scholarship Fund of the U.S. Naval Academy Foundation.