It's getting more difficult for many workers to afford homes near their jobs.

A new study from Trulia finds that's especially true for teachers, first responders, and restaurant workers.

According to the report, affordability is identified as 31 percent of a person's paycheck. Many workers now have to consider homes in outlying cities or suburbs.

The study also found:

  • Teachers are worse off or the same in 85 of the largest 93 metro areas.
  • First responders have the toughest time finding a home they can afford in big California cities, despite earning more than $100,000.
  • Restaurant workers, as the lowest wage earners among the occupations studied, continue to face the greatest challenges.
  • Computer programmers in tech hotspots like the San Francisco-Bay Area and Seattle are also unable to afford a majority of homes in these markets.

Read the full report on Trulia.