While expensive, city life can also be lucrative. In San Francisco, for instance, the typical employee rakes in $112,400 a year.
That's according to LinkedIn's 2017 State of Salary Report, which analyzed data from more than two million LinkedIn members and determined the 10 highest-paying cities.
Read on to see which other cities cracked the top 10 and how much professionals in these areas are earning.
For each city, we listed the median total compensation, which includes bonus and commission, if applicable. We also highlighted one job from each area that pays particularly well compared to the national average. All data comes from LinkedIn.
10. Chicago, Ill.
Median total compensation: $79,000
Role that pays higher in Chicago: Electricians earn $130,000, 33 percent above the national average
9. Denver, Colo.
Median total compensation: $80,300
Role that pays higher in Denver: Helpdesk analysts earn $70,000, 14 percent above the national average
8. Austin, Texas
Median total compensation: $80,600
Role that pays higher in Austin: Design engineers earn $72,000, 42 percent above the national average
7. Los Angeles, Calif.
Median total compensation: $82,100
Role that pays higher in Los Angeles: Elementary school teachers earn $49,000, 43 percent above the national average
6. Houston, Texas
Median total compensation: $82,000
Role that pays higher in Houston: Engineering managers earn $130,000, 16 percent above the national average
5. Boston, Mass.
Median total compensation: $86,000
Role that pays higher in Boston: Communications managers earn $70,000, 43 percent above the national average
4. New York, New York
Median total compensation: $86,600
Role that pays higher in New York: Marketing directors earn $95,000, 26 percent above the national average
3. Washington, D.C.
Median total compensation: $87,300
Role that pays higher in D.C.: Program directors earn $70,000, 86 percent above the national average
2. Seattle, Wash.
Median total compensation: $95,600
Role that pays higher in Seattle: Principal software engineers earn $145,000, 48 percent above the national average
1. San Francisco, Calif.
Median total compensation: $112,400
Role that pays higher in San Francisco: Registered nurses earn $67,200, 81 percent above the national average
Like this story? Like CNBC Make It on Facebook
Don't miss: Here's how much millennials are earning in 11 major US cities
