A little boy got more than he bargained for when he asked his family's new Amazon Echo Dot to play him some of his favorite kid's songs.

A hilarious YouTube video sees a boy named William holding the smart speaker while asking the Alexa voice service to 'play digger, digger'.

However, things take a very X-rated turn when Alexa suggests some very vulgar categories of pornography instead.

Whoops! A hilarious YouTube video sees a little boy asking his family's new Amazon Echo Dot to play him a children's sonh, but the Alexa voice system starts rattling off porn terms instead

The clip begins with William hunched over a table while trying out the new Echo Dot, which his family presumably got for Christmas.

While Alexa ponders what William was asking for when he said what sounds like 'play digger, digger' his mom suggests that he ask to hear Wheels on the Bus.

However, Alexa interrupts to announce 'porn detected' before she starts saying 'c**t, s**t, sex, c**k, p***y, anal, dildo'.

Miscommunication: The boy, who is named William, first asks Alexa to play what sounds like 'digger, digger'

Shocking: Instead, Alexa says, 'Porn Detected! (Porno Ringtone Hot Chick Amateur Girl Calling Sexy F**k C**t S**t Sex C**k P***y Anal Dildo Ringtones for Android)'

'No, no, no!' William's mom screams in the background, and soon his father joins in.

'Alexa stop!' he yells.

Although William undoubtedly has no idea what the words mean, he backs away from the Echo Dot after his parents start shouting at the device.

'Amazon Alexa Gone Wild!' the family titled the the short clip, which was shared on YouTube on Thursday.

'Why!?!? We just got our new echo dot and this happened!?!? [sic]' they asked when posting the comical footage.

Make it stop: William backs away from the device after his parents start screaming, 'No, no, no!'

William's father finally shouts, 'Alexa stop!' and the comical video ends. The clip has been viewed more than 40,000 times since it was posted on Thursday

The Echo Dot is a hands-free, voice-controlled device that uses Alexa to play music, control smart home devices, provide information, read the news and more.

The clip has been viewed more than 40,000 times and many wondered why on earth the system started rattling off porn terms. However, there was actually a very simple explanation.

'The boring truth is that there's a gag ringtone on Spotify named "Porn Detected! (Porno Ringtone Hot Chick Amateur Girl Calling Sexy F**k C**t S**t Sex C**k P***y Anal Dildo Ringtones for Android)' one woman explained.

A spokesperson for Amazon told Daily Mail Online that the company has contacted the family to apologize.