Benjamin G. Habberton, 77, a former government official and retired Washington attorney, died Monday in a nursing home in Easton, Md. He had Parkinson's disease.

Mr. Habberton came to Washington in 1949 and was a special assistant to the attorney general. From 1951 to 1954, he was deputy commissioner of the Immigration and Naturalization Service. He then practiced corporate law in the firm of Fistere & Habberton until retiring about eight years ago.

He had been a member of the executive council of the Episcopal Diocese of Washington and been a director of the Episcopal Home for Children in Washington in the 1950s.

He was a member of the District and Texas bar associations and belonged to the Army & Navy Club.

Mr. Habberton was a native of Mount Carmel, Ill., and a graduate of DePauw University of Greencastle, Ind. He earned a law degree at Harvard University 1931.

He interrupted a law practice in Dallas to serve as an Army Air Force intelligence office in World War II and then to work in a civilian government in West Germany from 1946 to 1947.

He was a resident of Washington and Centreville, Md.

Survivors include his wife, the former Sarah Turpin, of Washington and Centreville; two daughters, Alice H. Rogalski of Alexandria, and Anne Emory Habberton of New York City, and one grandchild.