John Paul Floyd, 77, a retired official of the Federal Home Loan Bank Board who also had careers in the Navy and in public relations, died May 13 at the Good Samaritan Hospital in Palm Beach, Fla., after a heart attack.

Mr. Floyd, who had homes in Washington and Palm Beach, was active in private life in the Criminal Justice Association and the Committee on Recidivism, citizens groups concerned with the administration of justice in the District of Columbia. He also was a founder of the Lawyers Literary Club.

A native of Nicholasville, Ky., Mr. Floyd grew up in California. He graduated from UCLA and earned master's and doctoral degrees in English literature at Harvard University. In 1942, he was commissioned in the Navy.

During World War II he served in the Atlantic as an intelligence officer. He moved to Washington in 1945 and was stationed here in 1952, when he retired from the service on a medical disability with the rank of commander.

From 1952 until the early 1960s, Mr. Floyd headed his own public relations firm. He then joined the Home Loan Bank Board, where he was an editor until he retired in 1976.

Mr. Floyd was a volunteer with the Metropolitan Police Boys Club and an adviser to the International Eye Foundation.

He was a charter member of the City Tavern Club and a member of the English-Speaking Union, the Society of The Cincinnati, the Sons of the American Revolution, the Society of Colonial Wars, the Army & Navy Club and Christ Episcopal Church, Georgetown.

Survivors include his wife, the former Maryan Chadwick of Washington and Palm Beach; one son, John Paul Chadwick Floyd of Essex, Conn.; a twin brother, Paul John Floyd of Aptos, Calif.; another brother, Joseph McKee Floyd of Downey, Calif., and two sisters, Nancy Hawley of Pasadena and Mary Stevens of Los Angeles.