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

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


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

How to sleep better: 7 products for a good night's sleep
 A red light bulb, Hatch Restore 3, Soundcore Sleep A30 earbuds, and Whoop on a gradient background

Sleep Week 2026: The best deals on new mattress, fresh pillows, sleep earbuds, and more
a purple harmony pillow, anker soundcore sleep A30 earbuds, hatch restore 3 alarm clock, and zinus mattress on a coral and purple colored background

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


More in Life
Doomsday Clock now closest to midnight ever
A photograph of the Doomsday Clock, stating "It is 85 seconds to midnight."

Hurricane Erin: See spaghetti models and track the storm’s path online
A map showing the predicted path of Tropical Storm Erin.

Tropical Storm Erin: Spaghetti models track the storm’s path
A prediction cone for Tropical Storm Erin.

NASA to build a nuclear reactor on the moon by 2030, report states
The lunar surface.

Perseids meteor shower in July: Viewing tips, when it will peak
A meteor streaking across the sky.

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

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone

NYT Connections hints today: Clues, answers for April 2, 2026
Connections game on a smartphone

NYT Strands hints, answers for April 3, 2026
A game being played on a smartphone.

You can track Artemis II in real time as Orion flies to the moon
Victor Glover and Reid Wiseman piloting the Orion spacecraft
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!