Switch Off

How to create an Alexa command to ready your room for sleep

Wind down for your sweetest dreams yet.
 By 
Chloe Bryan
 on 
All products featured here are independently selected by our editors and writers. If you buy something through links on our site, Mashable may earn an affiliate commission.
Alexa-powered devices and bed
Credit: Ian Moore / Mashable Composite; sharrocks / Coprid / OsakaWayne Studios / Moment / HuiLiu / Firmafotografen / iStock / Getty / Amazon

So you've finally nailed your sleep routine. Congratulations! Lights dimmed, white noise on, alarm set for the wake-up time that gives you five perfect REM cycles — you're about to be well-rested to the max. 

But there's a way to streamline your sleep setup even more: by creating a routine using your Alexa device. This will ready your room for bedtime with a single voice command. Here's how to do it, in just four easy steps.

Step 1: Make sure your devices are connected to Alexa

First, you'll want to make sure all the devices involved in your bedtime routine are connected to your Alexa app, so they'll be available options when you're constructing your routine. Just head to "Devices" in the Alexa app, select the plus sign, and click "Add device." 


You May Also Like

From there, you can choose the type and brand of the device you want to connect and add it to your Alexa-compatible lineup.

Step 2: Create a routine in the Alexa app

Next, you'll create your routine. Open the Alexa app and select "More," then select "Routines." From there, press the plus sign. You'll be directed to start a new routine.

Step 3: Set your voice command "event"

This part's fun: Click on "When this happens" and you'll be directed to select the voice command to trigger your bedtime routine. This could be as simple as "Start my night routine," or you can get a little creative. 

For example, if you're creating a bedtime routine for a child, consider picking something they'll have fun saying themselves. Getting to shout "night night!" every evening could make bedtime a little more enjoyable, right?

Choosing a quirky or unusual command is also helpful because you're less likely to accidentally say it at other points during the day. (Simply using the word "sleep," for example, might be too much of a hazard.) You don't want to set off your bedtime routine when it is not, in fact, bedtime.

Step 4: Design your routine

Finally, you'll select "Add action" and choose the components of your routine. This could be:

  • Turning the temperature on your Nest thermostat to 65 degrees Fahrenheit (an optimal sleep temperature)

  • Playing a white noise playlist or a relaxing bedtime song

  • Dimming or switching off the lights (you'll need smart bulbs for this one) or fading lamps to 0 percent brightness over time as you doze off

  • Starting up a relaxing scent diffuser, like the Pura Mini

  • Setting your alarm for the next morning

  • Firing up an Alexa-compatible sleep tracker, like Amazon's Halo Rise or one of our picks for the best sleep trackers.

Good night! We hope you're ready for the sweetest dreams ever.

Topics Alexa Gadgets

Mashable Image
Chloe Bryan

Chloe was the shopping editor at Mashable. She was also previously a culture reporter. You can follow her on Twitter at @chloebryan.

Mashable Potato

More from Switch Off
Ozlo Sleepbuds review: Can earbuds really improve your sleep?
ozlo sleepbuds

Sleep products for kids: Do they really help?
A girl reads underneath a bedroom tent, in a composite image.

Dodow review: A simple sleep gadget that's best for back sleepers
Dodow sleep device

Best sleep trackers 2026: We tested the best from Whoop to Oura
A person sleeping while wearing a sleep tracker surrounded by a dreamy graphics.


Recommended For You
Hatch introduces new Sleep Clock, an alarm clock that tracks your sleep
Hatch Sleep Clock emitting a red light on a nightstand

Ditch the Apple Watch: Hatch launches a contactless sleep-tracking alarm clock
Hatch Sleep Clock lit up

Snag Soundcore Sleep A30 Special sleep earbuds for less than $170 at Amazon post-Labor Day — Save $61
soundcore sleep a30 special sleep earbuds against a green background

Soundcore slashes the price on its noise-masking Sleep A30 earbuds at Amazon
Soundcore Sleep A30

Forget baby monitors, Hatch built a sleep coach for your newborn — where to buy
Hatch Baby on desk

More in Life
A three-month unlimited data plan with Mint Mobile is on sale for just $45
a mint mobile phone and card on a green background

Amazon announces dates for Prime Big Deal Days, its 48-hour 'October Prime Day' sale
phone with Amazon logo on it

Of course Walmart is holding an anti-Prime Day sale this October
Walmart storefront

Owala’s exclusive Pokémon just dropped at Target: Shop Pikachu, Eevee, Charizard, and Gengar designs
Owala x Pokémon collection


Trending on Mashable
NYT Connections hints today: Clues, answers for September 16, 2026
Connections game on a smartphone

Wordle today: Answer, hints for September 16, 2026
Wordle game on a smartphone


NYT Connections hints today: Meanings for each word for Sept. 16, 2026
NYT Connections logo.

Sony PlayStation Store Credit settlement: How to claim your piece of the $7.85 million
People try games at the booth of PlayStation during the 23rd China International Digital Interactive Entertainment Exhibition (ChinaJoy) in Shanghai, China, Friday, July 31, 2026.
The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!