Most working Americans commute about 26 minutes each way to and from work.

But when you live in one of these major US cities, you wind up spending more of your life commuting.

Using data collected from the US Census Bureau, personal-finance site WalletHub ranked 116 of the most populated cities based on the average number of minutes residents spend traveling from home to work. Using that same data, Business Insider also looked at how people commute to and from work in each city.

In most of the cities where Americans have the longest commutes, the majority of commuters drive alone. In just three of these cities the majority of commuters take public transportation.

Here's how much time people in the 20 cities with the longest commutes spend getting to work: