Harry Ainlay was born in Brussels, Ontario to Watson and Emily Ainlay, and earned his teaching certificate in that province. He came to Alberta in 1907 to help his carpenter father and settled near Stavely for several years before moving to Edmonton in 1912. In 1911, he married Edith Hammill; the two would remain married until her death in 1959. Ainlay spent several years in the real estate business, then returned to school at the University of Alberta. Upon his graduation in 1920, he returned to teaching, in the Edmonton Public Schools system. Ainlay served as vice-principal of the Queen Alexandra School and principal of the Garneau and Strathcona High School, now Old Scona AcademicHigh Schools.
Municipal politics
While still serving as an educator, Ainlay first sought public office in the 1930 Edmonton election, when he ran for alderman on Edmonton City Council and was defeated, finishing ninth of twelve candidates. He was successful in the 1931 election, when he finished second of fifteen candidates and was elected to a two-year term. He was re-elected in the 1933 election, but was defeated in the 1935 election. Once out of office, Ainlay made his first bid for mayor in the 1936 election, finishing third of five candidates as incumbent Joseph Clarke was re-elected. He made two subsequent unsuccessful attempts to return to aldermanic office before taking three years off from municipal politics. Ainlay returned to office in the 1941 election, finishing first of fourteen candidates in the aldermanic race. He was re-elected in 1943, but resigned halfway through his two-year term to run for mayor in the 1945 election, when he defeated Winslow Hamilton. He was re-elected in the 1946 and 1947 elections, defeating Thomas Cairns and Frederick Speed, respectively. His 1947 win was notable because it marked the first election in which the mayor was elected to a two-year term. As mayor, Ainlay introduced daylight saving time in the city in 1946 after city residents voted in a plebiscite in favour of the change and after the Government of Alberta refused to bring it in province-wide. Government offices in Edmonton abided by the city's DST, although the government opposed the time change. The next session of the Legislative Assembly of Alberta passed legislation outlawing the use of daylight saving time in Alberta, and Edmonton returned to standard time until the province adopted the practice in 1971. Harry Ainlay did not seek re-election in the 1949 election, due to health issues arising from a serious fall he had sustained working on his retirement home in BC.
Ainlay ran in provincial and federal elections a total of four times, each time under the banner of the Co-operative Commonwealth Federation. The first was in a 1936 by-election in the riding of Edmonton, when he finished last in a three candidate field that was won by LiberalWalter Morrish. His second bid for provincial office took place in the 1940 Alberta election, in which Ainlay again ran in the Edmonton riding. He finished eighth of nineteen candidates on the first count, and was not one of the five candidates elected. Ainlay's lone bid for federal office took place in the 1945 federal election, when he ran in the riding of Edmonton East. He finished second of five candidates, ahead of incumbent Liberal MP Cora Taylor Casselman but still being defeated by Social Creditor Patrick Ashby. Ainlay repeated the experience finishing ahead of incumbent, but still losing, in his last bid for office. He had moved to British Columbia, where he ran in the 1952 provincial election in the riding of Dewdney. He finished second of four candidates, ahead of incumbent Progressive ConservativeRoderick Charles MacDonald, but being defeated by Lyle Wicks of the British Columbia Social Credit League. Already more than 60 years old, this was his last bid for public office.
Post-political career, death, and legacy
After leaving politics, Ainlay was the head of the Yellowhead Route Association in the 1940s and 1950s. He died in Haney, British Columbia on March 12, 1970. He was survived by his second wife, Jean. In 1966, the newly constructed Harry Ainlay Composite High School was named in his honour. He left an endowment for a $500 scholarship to be given in his name to a graduating student planning on pursuing a career in Education.