An independent inspection of maternity units at the Royal United Hospital, Bath, and Great Western Hospital, Swindon, found there were not enough midwives.
As a result the Care Quality Commission (CQC) has ordered hospital bosses to take action to improve staffing levels.
The GWH Trust was also ordered to take action on cleanliness and infection control at the RUH's Princess Anne Wing after the CQC found essential standards were not being met.
The CQC also visited Trowbridge Community Hospital’s birthing centre and found it met the essential standards for staffing, cleanliness, infection control and care and welfare of patients.
The maternity services at all three hospitals are run by Great Western Hospital, which said it was developing an action plan in response to the CQC findings.
The CQC inspected all three maternity units in December and published their findings today.
At the RUH, the CQC said some staff felt there were not enough staff on duty and demand for hospital births had increased.
The hospital said its ratio of midwives to births was one midwife to 38 births, the national recommended ratio is one midwife to 28 births.
On cleanliness the CQC said: “We were told patients and their partners found the hospital clean and well organised. During our inspection we found the arrangements for cleaning did not provide staff with a clear definition of specific roles and responsibilities. The environment was not maintained in some areas to facilitate prevention and control of infections.”
The maternity unit delivered 4,003 babies in 2011/12, an increase of just under 600 births since 2008/9.
At GWH the CQC was told that the ratio of midwives was one to 44 births. GWH said it was short of almost six full time staff in the acute maternity unit but was exceeding staffing levels on the midwife led White Horse Birthing Centre within the hospital.
GWH delivered 3,700 babies in the acute maternity unit and 877 in the White Horse Birthing Centre in 2011/12, an increase of just under 550 births since 2008/9.
Both GWH and RUH met the other standard inspected by the CQC of respecting and involving patients.
At Trowbridge Birthing Centre the CQC was told by a member of staff that patients and staff valued the continuity of care they were able to give people. The centre deals with low risk births.
Hilary Walker, chief nurse at GWH, said: “Improving staffing has been identified as a priority at the Great Western Hospital and at the Princess Anne Wing, as it is for many other maternity services across the country. We have already started planning to increase the number of qualified, skilled and experienced midwives supporting these services.”
She said that the trust had just secured £400,000 from the Department of Health to refurbish the Princess Anne Wing which would make cleaning and infection control measures much easier and more effective.
She added: “We are pleased that, although there are further improvements to be made, feedback from women remains positive across all of our maternity services with particular praise given to the attitude of our staff.”