ZURICH (Reuters) -Switzerland's economy contracted by 0.5% in the third quarter when adjusted for sporting events, driven by lower exports in the chemical and pharmaceutical industry, the economy ministry said on Friday.

The drop comes after 0.2% growth in the previous quarter and is linked to recent volatility in U.S. trade policy.

The chemical and pharmaceutical industry saw a sharp drop in value added as front-loading effects from the second quarter ceased, leading to a compensatory drop in the period from July to September.

Overall, goods exports fell significantly for the second consecutive quarter, the ministry said.

Service exports barely rose in the third quarter, and growth in the services sector was below average overall, failing to offset the downturn in the industrial sector.

Parts of domestic demand stabilised the economy, with private consumption growing solidly, supported by spending on housing and energy, health, restaurant and hotel services, and communications, the ministry added.

(Reporting by Ariane Luthi, Editing by Miranda Murray)