Albert J. Hayes, 81, international president of the International Association of Machinists and Aerospace Workers from 1949 to 1965, died Sunday in a hospital in Brookfield, Wis., after a stroke. He was a former resident of Silver Spring.

During his years as president of the IAM, the union grew from 672,000 to nearly 900,000 members. Mr. Hayes led battles against corruption in the union movement and was an eloquent voice for labor unity in the labor movement.

He was a vice president of the AFL-CIO and chaired its Ethical Practices Committee during the 1950s. He also was a special assistant on manpower problems for the Defense Department during the Korean War.

Mr. Hayes was a native of Milwaukee and joined the IAM in January 1919 as an apprentice railroad machinist with the Chicago and Northwestern railroad. Six years later he became a district president in the midwest and then became a roving organizer and negotiator. He came to Washington in 1944 as the union's vice president, succeeding Harvey Brown as international president five years later.

Survivors include his wife of 60 years, Lil Hayes, of Brookfield; a daughter, Jane Birkley of Wauwatosa, Wis.; eight grandchildren and seven great-grandchildren.