They're landing better jobs and higher salaries. They're getting married and having kids. And they're tired of living in their parents' basements.

Now, here's another reason millennials are itching to buy a house: They see photos of homes on Instagram and Facebook their friends bought, and think: "What about me"?

This "FoMO" — fear of missing out — has become one of the forces spurring many millennials to finally buy a home, according to a Bank of America survey of 2,000 adults early this year.

» Why selling your house can cost you more than $18,000

"I think it's motivating them to think about home ownership," said D. Steve Boland, head of consumer lending for Bank of America. "Their interest level is high, and it's driven by what they see."

While social media has some influence on first-time home buyers generally, it has a particular hold on millennials, or those born between the early 1980s and early 2000s. Millennials make up 65 percent of all first-time buyers, according to a survey by the National Association of Realtors.

Asked how they feel when they see pictures of homes purchased by other people on social media:

  • A third of millennials (and 27 percent of all first-time buyers) think, "If they can buy, why can't I?"
  • A quarter (and 21 percent of all first-time buyers) fear they're missing out.
  • Nearly a quarter (and 18 percent of first-time buyers) mutter to themselves: "it's time to grow up and buy."
  • And 23 percent (and 16 percent of first-time buyers) are jealous of the homes bought by their friends and acquaintances.

Jordan Mangalindan, 21, of Las Vegas, recently bought a three-bedroom house in town for $286,000. Mangalindan, a senior in college, says she was partly moved by pictures of houses posted by other young adults on Twitter, as well as a desire to live on her own and make a profitable investment.

"If they can do it, I can do it," said Mangalindan, who plans to launch an e-commerce business when she graduates. "I'm ambitious." She said the photos did make her feel she was missing out, "but it was more inspirational" than jealousy.

Ethan Kross, a professor of social psychology at the University of Michigan, said social media postings can often stir up strong emotions that affect behavior.

"If other people are doing better than we are, that can get us to feel bad," he said. "It reminds us of what things could be like." He added that many people tend to present unrealistically optimal images of themselves online.

» Downsizing: How to determine if a smaller house is the right move

Millennials have been joining the home-buying bandwagon anyway.

Thirty-six percent of adults under 35 owned a home at the end of 2017, up from 34.1 percent in early 2016, according to research firm Veritas Urbis and the Census Bureau. And more than a third of all home purchases were made by millennials in the 12 months ending last July, making the group the most active generation of buyers, according to an NAR survey.