Dr. Alfred Abramson, a physician and surgeon in Alexandria for 39 years, died Friday of a heart attack at his home. He was 62.

Dr. Abramson served as Alexandria's medical examiner for 27 years and also was a physician for the Southern Railway and the AB&W Bus Co.

He was born in Alexandria, just two blocks from where he later had his home and office. After attending George Washington University, he went to the Medical College of Virginia in Richmond where he earned degrees in pharmacy and medicine. He interned at the old Emergency Hospital in Washington and did a residency in surgery at Charity Hospital in Mobile, Ala.

Since 1938, he had been on the medical staff at Alexandria Hospital and he served in the past as the hospital's chief of staff and chief of surgery. He also taught pharmacology at the hospital's nursing school and served on the board of directors of its health clinic.

Dr. Abramson was a member of Adas Israel Synagogue here, the Wodmont Country Club in Rockville, and was a 32d degree Scottish Rite Mason:

Surviving are his wife, Beatrice, of the home; a son, Dr. Edward Abramson, of Alexandria, a daughter, Karen Cantor, of Rockville; a brother, Dr. Sidney Abramson, of Alexandria; two sisters, Isabella Rosenberg, of Washington, and Margaret Abramson, of Alexandria, and four grandchildren.