The work will affect trains from Monday (March 10) and Friday (March 14).
We have compiled all the details on these works so that you can plan your journey this week.
The lines between Castle Cary and Yeovil will be closed from Monday to Friday, all days inclusive, due to maintenance work.
South Western Railway services from London Waterloo to Yeovil via Westbury will terminate at Castle Cary.
Replacement buses will run between Castle Cary and Yeovil Pen Mill.
A statement on the South Western Railway website says: “Late evening and early morning services may need to be altered for emergency repairs or planned work.
“We are sorry that bulky luggage, cycles and prams cannot be carried on the replacement bus services.
“Please check if you are planning to travel after 11pm or before 5.30am as buses may replace trains at short notice.”