The past few years have been rough for department stores, which once enjoyed a steady flow of foot traffic as the anchors of sprawling malls. The rise of online shopping caused mall traffic to plummet, while "fast fashion" retailers like H&M lured away apparel shoppers.

Department store chains like J.C. Penney (JCPN.Q), Sears (SHLDQ), Macy's (M 0.55%), Nordstrom (JWN -2.53%), and Dillard's (DDS 0.42%) reacted to that shift with store closings, discounts, and e-commerce investments. But based on their comparable-store sales growth in fiscal 2016, those efforts haven't stopped the bleeding.

Chart comparing the comparable-store sales at five major department store chains

Data sources: Annual reports. Chart by author.

Each of these companies has offered turnaround plans. J.C. Penney is selling more home improvement items, beauty products, and athletic apparel. Sears plans to cut over a billion dollars in expenses to stay afloat. Macy's is experimenting with stores within stores, private-label products, and more discounts. Nordstrom is expanding its off-price brands, and Dillard's is relying on its relative strength in women's apparel.

Those plans haven't impressed investors. That's why all five stocks have posted double-digit declines over the past five years. Unless these companies dramatically pivot their businesses away from big brick-and-mortar stores and malls, that pain could continue for the foreseeable future.

Offer from The Motley Fool: The 10 best stocks to buy now
Motley Fool co-founders Tom and David Gardner have spent more than a decade beating the market. In fact, the newsletter they run, Motley Fool Stock Advisor, has tripled the S&P 500!*

Tom and David just revealed their ten top stock picks for investors to buy right now.

Click here to get access to the full list!

*Stock Advisor returns as of 5/1/2017.