Hospital rooms at the Derbyshire Community Health Services NHS Foundation Trust were within their safe capacity between July and September, according to NHS England.
The recommended standards were met despite the summer heatwave putting more strain than usual on the NHS, according to doctors. They warned patient numbers would likely rise in winter, when hospitals are busier.
NHS data shows that, on average, 40 out of 61 beds were occupied during the period. That is 66%, below the threshold of 85%, when patient safety is considered to be compromised.
This is lower than five years earlier, when bed occupancy reached 89%.
Health leaders said the overnight numbers may underestimate the crowding because the count is taken at midnight, which is not the busiest time in a hospital.
The data covers patients under the care of a consultant, but excludes critical care cases and those being attended by nurse. Cots for babies are also excluded.
Nationally, the proportion of occupied beds was 87%, compared with 85% five years earlier.
Amber Jabbal, head of policy at NHS Providers, which represents all trusts, said: “These figures show that the health and care system is already under strain going into winter.
“In our recent report Steeling Ourselves For Winter 2018-19, NHS trusts warned that they are heading into winter in a more challenging position than last year.
“Bed occupancy levels have remained high and this year’s heatwave played a part in this, with increased emergency demand. This spike in demand has left services ‘running hot’ even before the winter months have started.”
A British Medical Association spokesman said: “Since the summer of 2010, the NHS in England has lost 10% of its bed stock and as of today, it has the lowest number of beds since data started to be collected.
“Bed occupancy in 2018 has consistently exceeded the figures recorded the previous year, and while the recommended occupancy figure of 85% should be much more achievable during the summer months, this year it was almost 90% for general and acute beds.”
Professor Neil Mortensen, vice president of the Royal College of Surgeons, said overcrowded hospitals can lead to increased infections rates for patients, and make it more difficult to contain flu outbreaks or vomiting bugs.
He added: “High bed occupancy rates can also lead to an increase in planned operations needing to be cancelled at the last minute, as there is not enough space in hospitals for new patients.”