Buying a mattress online is tempting.

Plus, shoppers can generally avoid the brick-and-mortar markups tacked onto in-store purchases, as noted byBest Mattress Brand.

As with any big purchase, however, it’s important to do your research.

Woman with mattress

Plush Beds notes that you will first need to know the must-haves you want out of any mattress.

Knowing the answers to these details will simplify your research process.

Just be sure to check out websites that give unbiased opinions.

person with new mattress

Be sure to double check the trial period, return policy, and warranty as well.

Warranties will vary significantly, with some sellers offering only a two-year plan and others offering a 25-year warranty.

The details of a warranty are important as well, as some types of damage will not be covered.