The Rev. Samuel Everette Guiles, 58, pastor of the Turner Memorial African Methodist Episcopal Church and a civic and religious leader in Washington for more than 30 years, died of cancer Wednesday at Howard University Hospital.

During the 33 years of Mr. Guiles' ministry here, he supported many civic and community groups, especially those concerned with civil rights and youth.

In the 1960s, he opened his church's doors to Freedom Riders who came here to petition Congress for passage of civil rights legislation, to interracial groups of militants and moderates and to organizational meetings to boycott merchants in the "H Street corridor," which resulted in more jobs for blacks in those establishments.

Mr. Guiles served as chaplain, adviser and friend to boys at the National Training School for Boys, St. Elizabeths Hospital and the old D.C. Central Hospital.

He was president of the Washington branch of Opportunities Industrialization center, a job-training and community organization.

Mr. Guiles was cited by numerous organizations for his work with youth, including the Washington Urban League, of which he was a board member, the United Givers Fund, the National Capital Area of the Boy Scouts of America and the Coordinating Committee of Greater Anacostia.

Mr. Guiles served as president of the Interdominational Ministers' Alliance of Greater Washington for seven years and served on two committees of the Council of Churches of Greater Washington. He was a member of the executive board of the local branch of the NAACP and the D.C. Republican Central Committee.

He was born in Pamplico, S.C., and earned a bachelor's degree from Allen University in Columbia, S.C. In 1947, he earned a bachelor of divinity degree from Howard University's School of Religion.

Before becoming pastor of Turner Memorial Church in 1955 he was pastor for nearly eight years of the Campbell AME Church here and also had been pastor of the old Dent Chapel in Bladensburg, Md.

Survivors include his wife, Anne R. Guiles, of Washington; four sisters, Jewell Waters of Toledo, Ohio, Mrs. John H. Thomas of Forestville, Conn., Mrs. Mitchell Davis of New Britain, Conn., and Mrs. Walter Burgess of Columbia, S.C.; and two brothers, Alexander, also of Columbia, and Earl E., of Florence, S.C.