Nearly 250 patients had to stay in hospital for six weeks or more after they were clinically well enough to leave, new figures have revealed.
A census carried out across Scottish hospitals in July found there were 241 patients whose discharge had been delayed by this period.
The problem of bed-blocking - also known as delayed discharge - happens when patients are clinically ready to leave hospital but are waiting for the necessary care and accommodation arrangements to be put in place.
The July census found 885 patients in total affected by this, compared to 807 in the June survey.
Over the course of July, patients spent 43,919 days in hospital as a result of bed-blocking.
Health Secretary Shona Robison said while delayed discharges "consistently peak in the summer" the position was "much improved" from last year.
Ms Robison said: "We're determined to tackle delayed discharge, and that's why we're investing over £100 million over three years to accelerate improvements."
She added: "To ensure that we have consistent information on delayed discharge across the country we've been working to improve the consistency of how the statistics are collected and recorded - providing a solid evidence base from which the NHS and integration partnerships can focus their efforts.
"Our efforts to accurately record and address delayed discharge stands in stark contrast to the position in England, where there have been recent reports of both delayed discharge rates rising rapidly and concerns about the accuracy of the data.
"We've made progress over the last 18 months in reducing the number of people delayed in hospital.
"And while levels of delayed discharge consistently peak in the summer, we are seeing a much improved position this year compared to last - with continuing reductions in the number of bed days lost."
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here