Pharmacy chain Walgreens plans to close 200 stores in the United States as it seeks to cut costs.

The company said in a regulatory filing Tuesday the closings are part of its previously announced plan to trim costs by $1.5 billion in a few years. In May, the company announced plans to close 200 stores in the United Kingdom.

The Deerfield, Illinois-based company operates over 18,000 stores worldwide. In June it reported a 24% decline in quarterly net income and predicted that annual earnings would be roughly flat with the prior year. Walgreens has been hit by challenges including reimbursement cuts and lower price increases for branded drugs.

(Read more: KWCH News)