New teachers are abandoning the profession because they are not being offered secure jobs, Scotland's largest teaching union has said.
The Educational Institute of Scotland (EIS) said many newly-qualified staff were only being given short contracts.
The union is urging the Scottish government to increase council funding to pay for more permanent jobs.
The Scottish government said it was "taking strong action" to protect increased teacher numbers.
In a letter to First Minister Humza Yousaf, EIS General Secretary Andrea Bradley said high numbers of temporary contracts had "serious implications" for Scotland's schools.
She said local authorities needed ring-fenced funding to allow the recruitment of more permanently-employed teachers.
Ms Bradley wrote: "Members have contacted the EIS over the summer months in desperation at the prospect of no work when the new school session begins.
"These are highly-qualified professionals whose commitment to children and young people, and to the teaching profession in Scotland, has been demonstrated through the years of study they have undertaken.