The Welsh Government said there have been "unprecedented emergency care pressures" in recent months, which have hurt the NHS in Wales' ability to meet referral-to-treatment targets.
The majority of patients waiting are waiting less than 26 weeks.
This is despite unprecedented emergency care pressures, and this pressure has had an impact on the NHS’ ability to treat those patients scheduled to have operations.
We are working closely with health boards to ensure the most urgent patients are seen first, and that all patients are seen in order of clinical priority.
Our target remains to reduce the maximum wait for 95% of patients to 26 weeks, and the Minister has made her expectations clear to NHS Chairs.
More top news
Heavy rain and strong winds will clear eastwards through this evening. However, scattered heavy showers will return in the southwest later.
A family have Llanelli told ITV News their hotel "shook like jelly," when a 6.7 magnitude earthquake struck the Greek island of Kos.
The Welsh Government is considering proposals to change some health board boundaries.