PHOTO: CNNMoney
Now playing
03:10
Casper founders wanted to modernize mattress shopping
FILE - In this March 4, 2018, file photo, then-MacKenzie Bezos arrives at the Vanity Fair Oscar Party in Beverly Hills, Calif. Scott, philanthropist, author and former wife of Amazon founder Jeff Bezos, has married a Seattle science teacher. Dan Jewett wrote in a letter to the website of the nonprofit organization the Giving Pledge, on Saturday, March 6, 2021, that he was grateful to be able to marry such a generous person and was ready to help her give away her wealth to help others. (Photo by Evan Agostini/Invision/AP, File)
PHOTO: Evan Agostini/Invision/AP
FILE - In this March 4, 2018, file photo, then-MacKenzie Bezos arrives at the Vanity Fair Oscar Party in Beverly Hills, Calif. Scott, philanthropist, author and former wife of Amazon founder Jeff Bezos, has married a Seattle science teacher. Dan Jewett wrote in a letter to the website of the nonprofit organization the Giving Pledge, on Saturday, March 6, 2021, that he was grateful to be able to marry such a generous person and was ready to help her give away her wealth to help others. (Photo by Evan Agostini/Invision/AP, File)
Now playing
01:51
Billionaire Mackenzie Scott marries schoolteacher
Now playing
03:17
Do Americans know what's in the $1.9 trillion relief bill?
People continue to eat in dining pods despite indoor dining opening back up on Valentine's Day on February 14, 2021 in the Brooklyn borough of New York City. (Photo by Michael Loccisano/Getty Images)
PHOTO: Michael Loccisano/Getty Images
People continue to eat in dining pods despite indoor dining opening back up on Valentine's Day on February 14, 2021 in the Brooklyn borough of New York City. (Photo by Michael Loccisano/Getty Images)
Now playing
03:07
US economy added 379,000 jobs in February
small business loans
small business loans
Now playing
02:45
Funding delays leave small businesses in limbo
Mandatory Credit: Photo by JUSTIN LANE/EPA-EFE/Shutterstock (11700603g)
Pedestrians walk past a closed store in New York, New York, USA, on 08 January 2021. The United States' Bureau of Labor Statistics released data today showing that the US economy lost 140,000 jobs in December and that the unemployment rate is at 6.7 percent as businesses continue to struggle with the economic impact of the coronavirus pandemic.
Coronavirus Economy Impact, New York, USA - 08 Jan 2021
PHOTO: Justin Lane/EPA-EFE/Shutterstock
Mandatory Credit: Photo by JUSTIN LANE/EPA-EFE/Shutterstock (11700603g) Pedestrians walk past a closed store in New York, New York, USA, on 08 January 2021. The United States' Bureau of Labor Statistics released data today showing that the US economy lost 140,000 jobs in December and that the unemployment rate is at 6.7 percent as businesses continue to struggle with the economic impact of the coronavirus pandemic. Coronavirus Economy Impact, New York, USA - 08 Jan 2021
Now playing
01:30
Another 745,000 Americans filed for first-time unemployment benefits
In this Dec. 1, 2020 file photo, Chairman of the Federal Reserve Jerome Powell appears before the Senate Banking Committee on Capitol Hill in Washington.  Powell told Congress on Wednesday, Feb. 24, 2021,  that the central bank will not begin raising interest rates until the Fed believes it has reached its goals on maximum employment  and warned that many people in the hardest hit industries will likely need to find different jobs.  (AP Photo/Susan Walsh, Pool, File)
PHOTO: Susan Walsh/AP
In this Dec. 1, 2020 file photo, Chairman of the Federal Reserve Jerome Powell appears before the Senate Banking Committee on Capitol Hill in Washington. Powell told Congress on Wednesday, Feb. 24, 2021, that the central bank will not begin raising interest rates until the Fed believes it has reached its goals on maximum employment and warned that many people in the hardest hit industries will likely need to find different jobs. (AP Photo/Susan Walsh, Pool, File)
Now playing
02:18
Jerome Powell: US economy 'some time' away from full recovery
PHOTO: YouTube/Everyday Astronaut
Now playing
01:19
Watch SpaceX Mars prototype rocket nail landing, explode on pad
Now playing
02:55
Marriott CEO: We want travelers to feel safe
CHICAGO, ILLINOIS - JANUARY 15: Demonstrators participate in a  protest outside of McDonald's corporate headquarters on January 15, 2021 in Chicago, Illinois.  The protest was part of a nationwide effort calling for minimum wage to be raised to $15-per-hour. (Photo by Scott Olson/Getty Images)
PHOTO: Scott Olson/Getty Images
CHICAGO, ILLINOIS - JANUARY 15: Demonstrators participate in a protest outside of McDonald's corporate headquarters on January 15, 2021 in Chicago, Illinois. The protest was part of a nationwide effort calling for minimum wage to be raised to $15-per-hour. (Photo by Scott Olson/Getty Images)
Now playing
03:31
What a $15 minimum wage really looks like
PHOTO: MyHeritage
Now playing
01:01
Watch old photos come to life using AI
Now playing
01:19
Warren proposes wealth tax: 'It's time for them to pay a fair share'
Nigerian former Foreign and Finance Minister Ngozi Okonjo-Iweala smiles during a press conference on July 15, 2020, in Geneva, following her hearing before World Trade Organization 164 member states' representatives, as part of the application process to head the WTO as Director General. (Photo by Fabrice COFFRINI / AFP) (Photo by FABRICE COFFRINI/AFP via Getty Images)
PHOTO: FABRICE COFFRINI/AFP/Getty Images
Nigerian former Foreign and Finance Minister Ngozi Okonjo-Iweala smiles during a press conference on July 15, 2020, in Geneva, following her hearing before World Trade Organization 164 member states' representatives, as part of the application process to head the WTO as Director General. (Photo by Fabrice COFFRINI / AFP) (Photo by FABRICE COFFRINI/AFP via Getty Images)
Now playing
04:05
WTO Chief: We need equitable and affordable access to vaccines
Goya Foods President Robert Unanue speaks at a press conference with Carlos Vecchio, the Venezuelan Ambassador who is recognized by the United States on December 21, 2020 in Doral, Florida. The two held the press conference to discuss details of a recent shipment of humanitarian aid to Venezuela, donated by Goya Foods. (Photo by Joe Raedle/Getty Images)
PHOTO: Joe Raedle/Getty Images
Goya Foods President Robert Unanue speaks at a press conference with Carlos Vecchio, the Venezuelan Ambassador who is recognized by the United States on December 21, 2020 in Doral, Florida. The two held the press conference to discuss details of a recent shipment of humanitarian aid to Venezuela, donated by Goya Foods. (Photo by Joe Raedle/Getty Images)
Now playing
03:24
Goya CEO under fire for false Trump election claims
Now playing
01:23
'There should be no threats': Biden's message to union-busters
Now playing
04:34
See what has happened to Trump's DC hotel after his loss
(CNN Business) —  

Online reviews have replaced going to a store to lie down on a mattress. That’s why Mattress Firm, America’s largest bed store, has filed for bankruptcy.

The chain said it plans to remain in business, but it filed for Chapter 11 bankruptcy protection to get out of about 700 unfavorable leases. Mattress Firm said it will quickly close 200 underperforming stores and make decisions about whether to close or maintain the other 500 locations in the coming weeks. There are more than 3,300 Mattress Firm stores in the United States.

Mattress Firm plans to exit bankruptcy in about two months. It hopes that the liquidity gained from the bankruptcy allows it to expand into more favorable markets and even open some new stores in existing markets.

“We will continue to provide unmatched value to our customers by offering the best quality beds at prices that fit any budget today, tomorrow and into the future,” said CEO Steve Stagner.

Its parent company, Steinhoff International, is dealing with major problems including accounting irregularities forcing its CEO to resign in December 2017.

Like many retailers, the 32-year-old chain has struggled with overexpansion, including its purchase of Sleepy’s in 2016 and Mattress Giant in 2012. The company has many stores in close proximity to one another, cannibalizing sales. It’s also grappling with increasing competition from online retailers, including Casper and Amazon.

Casper plans to open 200 stores across the United States in the next three years as part of an ambitious growth plan. The four-year-old company wants to gain exposure with shoppers who prefer trying out a mattress at a store first – and increase impulse buys that can only come from browsing physical locations.

Stores could help Casper stand out in a crowded mattress market. Digital rivals, such as Purple, Leesa, Tuft & Needle, and Yogabed, have cropped up, while legacy retailers have taken a page from Casper, introducing delivery in a box.

Amazon quietly rolled its own in-house brand of foam mattresses that cost a fraction rivals’ beds. For example, an AmazonBasics queen mattress costs $229, compared to $600 at Tuft and Needle and nearly $1,000 at Casper.

A search for a similar bed on Mattress Firm’s website yields dozens of results, potentially overwhelming customers. That could push them to online rivals, most of which only offer two or three different kinds of mattresses.