The northbound carriageway has been shut between junctions 9 and 11 following the collision involving three vehicles at around 5.20am. The stretch of motorway will remain closed until tomorrow due to major damage to the road.
The southbound carriageway has been shut between junctions 9 and 10.
At least one lane is expected to reopen shortly.
Motorists are being advised to find alternative routes.
Highways England network operations manager, Beverley Mears, said: “We are working at the scene with emergency service partners.
“Due to extensive road surface damage which will require resurfacing the northbound carriageway is expected to remain closed until tomorrow morning so please bear this in mind when planning your journeys and consider alternative routes.”
It is not known if anyone was injured in the crash.
Highways England tweeted: “The #M5 Northbound carriageway between J11 #Gloucester and J9 #Ashchurch will remain CLOSED until tomorrow due to extensive road surface damage that must be resurfaced as a result of this incident.
“Please plan ahead and consider different routes where possible to avoid the area.”
“All emergency services are on route and emergency road closures will be installed from J11 #Gloucester.
“Both directions are now being closed for a serious RTC.
“Northbound closed between J11 #Gloucester and J9 #Tewkesbury. Southbound closed between J9 #Tewkesbury and J10 #Cheltenham.
“Diversions are being installed and closures will likely be in place through to the afternoon.”