Government watchdog the Care Quality Commission is coming to inspect Huddersfield Royal Infirmary and Calderdale Royal Hospital.
Calderdale and Huddersfield Foundation Trust is to be inspected by the agency early next month.
The Trust performed well in its last Care Quality Commission (CQC) inspection in 2014.
But the following year the Trust fell into debt for the first time.
It is expected to end 2015/16 £21m in the red – a deficit which is set to almost double to £40m by the end of 2016/17.
In January official figures revealed that the Trust needed to find an extra £3.7m to avert ‘catastrophic failure’ caused by HRI’s ageing buildings.
But hospital bosses say they are looking forward to the inspection which is set to start on March 8.
In a memo to trust members, chairman Andrew Haigh and chief executive Owen Williams, said: “We welcome the forthcoming visit and we’re proud of the track record of our services over recent years.
“It is always helpful to get an independent view of the standard of our care, including areas of good and outstanding practice, as well as areas where we may need to improve.
“The CQC visit will be very informative and will help us to continue to improve the quality of care we provide.
“As part of the visit to the Trust, our members are invited to share their experience of our services directly with the inspection team.”