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

From Oura to Whoop, we tested the best sleep trackers of 2026
A person sleeping while wearing a sleep tracker surrounded by a dreamy graphics.

I’ll never travel without my favorite sleep earbuds again
soundcore sleep earbuds with airplane and traveller in the background

Recommended For You
We're obsessed with Soundcore's sleep earbuds, and right now, 2 pairs are on sale for up to $50 off
the Soundcore Sleep A30 Special on a blanket

From Oura to Whoop, we tested the best sleep trackers of 2026
A person sleeping while wearing a sleep tracker surrounded by a dreamy graphics.


Amazon's AI-generated Alexa+ podcasts are utter podslop
Amazon's Alexa+ logo on a smartphone.

Amazon's AI-generated Alexa podcasts are utter podslop
Amazon's Alexa+ logo on a smartphone.

More in Life
FIFA World Cup schedule today: Games, kickoff times, livestream info for July 10
Lamine Yamal holds the ball

How to watch Spain vs. Belgium online for free
Lamine Yamal holds out his arms at the World Cup

How to watch Sinner vs. Djokovic in Wimbledon 2026 online for free
Novak Djokovic of Serbia celebrates

How to watch Fery vs. Zverev online for free
Arthur Fery of Great Britain celebrates

How to watch France vs. Morocco online for free
Kylian Mbappe of France celebrates

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

Wordle today: Answer, hints for July 10, 2026
Wordle game on a smartphone

NYT Connections hints today: Clues, answers for July 9, 2026
Connections game on a smartphone

NYT Strands hints, answers for July 10, 2026
A game being played on a smartphone.

Wordle today: Answer, hints for July 9, 2026
Wordle game on a smartphone
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!