Eliza Collins

USA TODAY

If you’re voting for Hillary Clinton, odds are your friends are, too.

Almost half (47%) of Hillary Clinton supporters and 31% of Donald Trump voters said they had no friends supporting the other party’s candidate, according to a survey by Pew Research out Wednesday.

And just under one in five (18%) of Clinton supporters say they have at least some friends supporting Donald Trump. A quarter of Trump voters have at least some Clinton-backing friends.

People tended to socialize with those who backed their preferred candidate. Forty-four percent of those surveyed who supported Trump said they had “a lot of close friends” backing the Republican nominee; 38% said they had “some friends” who supported Trump.

In a similar trend, 41% of Clinton supporters said they had “a lot” of close friends and 40% said they had “some” close friends backing the Democratic nominee.

A mere 7% of those surveyed said they didn’t want people to know who they were supporting in the election, while 58% said they didn’t care whether people did know but didn’t want to tout it. A third said they were “pretty outspoken with others” about their thoughts on the election.

The survey was conducted between June 7 and July 5 of 4,602 adults; 3,834 were registered voters. The margin of error for the full sample was 2.3 points; for registered voters, the error margin was 2.5 points.

Another poll shows Clinton opening up lead over Trump

Polls: Clinton pulls ahead of Trump after convention