A new survey from the Teachers' Union of Ireland indicates that more than 90% of secondary schools have experienced teacher recruitment difficulties in the last six months.

The TUI says that the impact of the accommodation crisis is having a major effect, particularly in situations where teachers are not being offered full hours contracts.

The poll of almost 100 schools was carried out in September and October by the Principal and Deputy Principals' Association of the TUI.

It shows that 71% of schools advertised positions in the previous six months for which no teacher applied, and 61% have unfilled vacancies due to recruitment and retention difficulties.

The research highlights accommodation costs and availability as key problems when it comes to recruiting and retaining teachers.

77% of schools reported a situation where a teacher accepted a position only to later reject it, often for a position with a higher number of contracted hours elsewhere.

The TUI is calling for teachers to be employed on permanent contracts of full hours upon initial appointment to alleviate the crisis.

The union also says that restoration of middle management posts must be expedited.

"Overall, teacher recruitment and retention problems limit the service to students, who can miss out on subject choices or be taught by 'out-of-field' teachers," said TUI President Liz Farrell.

"The impact of the accommodation crisis across the country is also having a huge effect, particularly in situations where teachers have contracts of less than full hours," Ms Farrell said.

Speaking on RTÉ's Morning Ireland, the General Secretary of the TUI said there are currently teachers in secondary schools who are starting off with "three quarters of a job" and they cannot afford to live on that wage.

"Now you can imagine trying to live in a cost of doing crisis on three quarters of a job with no promotional opportunity," Michael Gillespie said.

"You might stay for a year or two. And this is where we've got a retention crisis, but the grass is greener somewhere else where they're going to give you a permanent job.'

Mr Gillespie said the accommodation crisis is another factor for teachers choosing to go abroad, even in rural areas where there is no accommodation available.

He said that doing the same thing "over and over again" is only going to lead to worse outcomes.

The Department of Education has said that it runs a comprehensive programme of work to support the supply of teachers at both primary and post-primary level.

Measures include changes to registration rules for student teachers and schemes to increase the number of available substitute teachers.

"The Department of Education will continue, with the cooperation of the education partners, to develop and implement measures to address challenges faced by schools and to support the supply of teachers to our schools," a spokesperson said.