SACRAMENTO (CBS13) — Researchers have found that hugging can reduce stress levels and boost confidence. However, could the perfect hug be even more beneficial? Now researchers believe that they’ve cracked the code on what constitutes the perfect hug.

Psychologists at Goldsmiths University in London found that time played an important factor. They found that the “10-second snuggle” was the perfect length, saying that 10 seconds is the right amount of time to release plenty of endorphins and improve stress levels and confidence.

READ MORE: Suspect Arrested In Fatal Shooting On Tracy Ranch

“Which was surprising to us,” said one of the researchers at Goldsmiths. “We thought 10 seconds is so long, surely at some point, people might find this less pleasant.”

READ MORE: In Wake Of Sacramento Teen Shootings, Police Gang Units Arrest 4, Seize Guns, Illegal Drugs

In a second experiment, researchers watched over 200 people hugging and found that “crisscrossed hugs” were more enjoyable than “the neck-waist hug.”

MORE NEWS: 'The Mighty Ducks' Star Who Was Arrested In Marysville Celebrates 2 Years Sober With Striking Photos

Hopefully, none of us need researchers to tell us to hug each other this holiday season, but if you do, here’s your prescription.