A total of 4,000 people from all of Sweden's municipalities participated in the study. It shows that in municipalities where there are more negative views of homosexuality there are also more homosexual people who are unemployed or who have comparatively low wages.
Gay men are 11 percent less likely to get a job than heterosexual men, according to the study.
Mats Hammarstedt, a professor in economics and co-author of the study, told Radio Sweden that one of the reasons could be prejudice among employers.
"In the case of sexual orientation it is highly likely that prejudice plays quite a big part," said Hammarstedt.
The study is based on an attitude survey conducted by the Swedish National Institute of Public Health and on data from Statistics Sweden.