We independently select these products—if you buy from one of our links, we may earn a commission.

We all know the importance of getting a good night’s sleep, and it starts with making your bedroom as comfortable as possible. That means finding a top-quality mattress (for the right price, of course). If you’ve been waiting for the perfect moment to splurge on a new mattress, I have good news for you: July 4 means a ton of amazing mattress deals. Whether you’re shopping for a foam, hybrid, latex, organic, or specialty mattress, you’re guaranteed to find one for way less right now. To get started, check out our guides to the best mattresses and the best organic mattresses, then read on for the biggest and best deals you need to know about.

Tuft & Needle — Score up to 20 percent off sitewide now through July 5.

Nest Bedding — Save 20 percent off select mattresses and 10 percent off bedding.

Brooklyn Bedding — Enjoy 25 percent off sitewide through July 6 with the code INDEPENDENCE25.

Leesa — Shop the 4th of July sale early for $500 off mattresses plus two free pillows.

Beautyrest — Save up to $300 when you shop Beautyrest Black or Harmony Lux. Shoppers who purchase Beautyrest Harmony can also receive a Hotels.com gift card worth up to $100.

Purple — Shop pillows, bedding, and mattresses to get up to $350 off.

Idle Sleep — Save 50 percent off memory foam mattresses and 35 percent off hybrid mattresses through July 12th.

Haven — Enjoy 50 percent off mattresses and 30 percent off accessories.

Amerisleep — Use the code AS30 to score 30 percent off on mattresses plus free gifts worth up to $239.

Birch — Score $200 off two free Eco-Rest Pillows when you buy The Birch Mattress. Don’t forget to add the code JULY4200 at checkout!

Allform — Get 20 percent off sitewide with the code JULY0420.

Saatva — Save $200 when you spend $985 or more.

Nectar Sleep — Buy a mattress and get up to $399 in free accessories.

DreamCloud — Get $200 plus $399 in accessories, including a mattress protector, sheet set, and pillows.

Awara Sleep — Buy a mattress and get $300 off plus a free mattress protector, sheet set, and pillows.

Puffy Mattress — Score $300 off and two free pillows for Puffy’s 4th of July sale.

JC Penney — Score up to 50 percent off mattresses, and use code JULY4 for 25 to 30 percent off sitewide.