Once you have determined to work on your friendships, here are five techniques to try.

1. Create a foundation of security (hint: Answer that text)

Before we can attempt closeness, we need to have security. Through his research, Dr. Levine has identified the five foundational elements of secure relationships, which he refers to as CARRP.

Consistency (Do these friends drift in and out of my life on a whim?)

Availability (How available are they to spend time together?)

Reliability (Can I count on them if I need something?)

Responsiveness (Do they reply to my emails and texts? Do I hear from them on a consistent basis?)

Predictability (Can I count on them to act in a certain way?)

Once these five elements are in place, it can pave the way to a deeper connection. “From an attachment perspective, once we feel safe, we can start being more adventurous and playful, which helps us at work, raising our kids, in every aspect of our lives,” Dr. Levine said.

That doesn’t mean that you have to respond to texts within the hour, but it does mean that you need to create a baseline of responsiveness and availability so your friends feel secure in your friendship. Likewise, if you have friends who are flaky, unresponsive or unreliable, it will serve you to try to see if they can become more CARRP and if not, look to other people for close friendship.

“We often tell ourselves that we shouldn’t care if somebody cancels plans or we can’t count on them, that we should be more laid back and stop being so needy, but that’s the same as fighting against biology,” Dr. Levine said.

2. Pay close attention

The next step of creating close friendships is to just open your eyes. Humans have a unique ability to read emotions by mimicking subtle facial expressions.

“Intimacy starts with attention and attunement,” Dr. Johnson said. “When you look at somebody with your full attention, your face muscles start to mirror their facial muscles within milliseconds. If you aren’t giving them your full attention, you can miss it completely.”

This mimicry helps us empathize with the emotional experiences of the other person. The next time you’re with a friend who is sharing something about his or her life, Dr. Johnson suggested that you look that person in the face and give your full attention. This will create a psychological sense of connection. “As bonding mammals built for connection, this makes our nervous systems hum,” she said.

3. Let yourself be known

If you want to be seen for who you are, you have to be willing to stop pretending to be somebody cooler or smarter than you are. Admit that you binge watch “Honey Boo-Boo,” are jealous of other people’s accomplishments or don’t always brush your teeth before bed. Make that goofy joke. Share that less-than-flattering detail.