The Rev. Allan Gillis, 72, a retired Methodist clergyman, died Monday at the Herman M. Wilson Health Care Center of the Ashbury Methodist Village in Gaithersburg. He had suffered a heart attack in December.

Mr. Gillis retired in 1968 after 40 years in the ministry. His last pastorate, which he had held for eight years, was the First United Methodist Church in Laurel. He and his wife, Helen, had lived at Asbury Village for several years.

A native of Baltimore, Mr. Gillis was ordained in Pembroke, Va. Before his assignment at Laurel, he had been pastor of Asbury Methodist Church in Arnold, Md., Emmanuel Methodist and Christ Edmondson Methodist in Baltimore.

Mr. Gillis had spent almost 25 years as a member of the visiting clergy staff of Johns Hopkins Hospital in Baltimore.

He also had been a member of the board of trustees of the Baltimore Conference of the Methodist Church and for nine years was president of its Board of Missions and Church Extensions.

He belonged to the Laurel Rotary Club, the Masons and the Scottish Rite of the Chesapeake Consistory in Baltimore.

In addition to his wife, he is survived by a daughter, Jane Broome, of Fallston, Md.; a son, Allan Wilbur, of Aberdeen, six grandchildren and three great-grandchildren.