A bed frame with a slatted foundation (wood or metal) is safe for most mattresses types. If you have a memory foam or latex foam mattress, slates should be no more than 3 inches apart. If slates are further apart, it could lead to sagging and indentations.