Hotels are going well beyond fancy mattresses and pillow menus to help guests get a good night’s rest.

The Spanish chain Quilibra is designed for sleep-deprived guests: indoor and outdoor spaces flow together to induce calm, rooms come with ambient-sound CD’s, and light levels are adjusted according to findings by the hotel’s “sleep institute.” Ironically, the first property, Quilibra Aguas de Ibiza (doubles from $418), is on Ibiza, famous for its all-night scene.

Westin Hotels & Resorts is celebrating the 10th anniversary of its Heavenly Bed by adding a Heavenly Bath line, with products created by Bliss Spa, and even a Heavenly Travel Blanket, available for $60.

The Hôtel Gabriel Paris Marais (doubles from $335) calls itself the world’s first “detox hotel” and outfits some rooms with Night Cove, a system that uses sound and light to encourage natural dozing patterns.

Cabo’s One & Only Palmilla (doubles from $525) has partnered with Espa to create a ambient-sound CD, offered at turndown, to ensure good slumber.

Twice a year, the Arizona destination spa Mii Amo (complimentary to spa guests or guests of the Enchantment Resort; doubles from $350) holds a workshop to analyze sleep patterns and develop strategies to rest easier.

Lorien Hotel & Spa (doubles from $209) provides a “dream service menu” that includes scent diffusers, an iPod “lullaby library,” snore-relief products, and, of course, warm milk and cookies.

London’s Andaz Liverpool Street (doubles from $479) has a pajama-clad reader on call who can come to your room to tell you a relaxing bedtime story, just like Mom used to do.