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.

Recommended For You
The Soundcore Sleep A30 Special earbuds are the best sleep earbuds available now
lilac sleep a30 special earbuds on light blue comforter in front of dark blue pillow

Preorder the new Soundcore Sleep A30 Special earbuds to get better rest by the end of the month
the soundcore sleep a30 special sleep earbuds in three colorways on a pink and purple background

Can't sleep? Upgrade to the Soundcore Sleep A30 earbuds while they're $30 off
the anker soundcore sleep a30 earbuds on a green background

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.

Drift off to sleep with the Soundcore Sleep A30 earbuds for their lowest price yet
Soundcore Sleep A30 on purple and orange abstract background

More in Life
How to watch 'Marty Surpreme': Streaming details for Timothée Chalamet’s Oscar-nominated film
Timothee Chalamet as Marty Mauser in "Marty Supreme"

How to watch Cerundolo vs. Zverev online for free
Alexander Zverev of Germany celebrates

How to watch Gauff vs. Muchova online for free
Coco Gauff of the United States

How to watch the NFL online for free
Drake Maye #10 of the New England Patriots

How to watch Alcaraz vs. Paul online for free
Carlos Alcaraz of Spain celebrates

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

Wordle today: Answer, hints for January 25, 2026
Wordle game on a smartphone

NYT Connections hints today: Clues, answers for January 24, 2026
Connections game on a smartphone

NYT Strands hints, answers for January 25, 2026
A game being played on a smartphone.

Best 65-inch+ TVs for watching in dark and bright rooms
Samsung TV arranged on gray backdrop featuring colorful oval graphic
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!