Petroleum engineering had the highest unemployment rate, at 7.5%, Bankrate found. Christian Lagerek/Shutterstock

Having a high-paying job doesn't necessarily mean you'll have job stability, and vice versa.

Some college majors that lead to high-paying jobs also come with above-average unemployment rates - and that includes majors in fields like engineering, cognitive science, and the arts.

The financial-education company Bankrate found the unemployment rates for college majors, based on the most recent available data from the US Census Bureau's American Community Survey. Using weighted data, Bankrate determined the unemployment rates and median incomes for graduates across 162 majors that employed at least 15,000 people.

The median income for degree-holders in the study was $55,000, and the average unemployment rate was 2.8%. Bankrate supplied Business Insider directly with the number of graduates employed in each major on the list.

The major with the highest unemployment rate was petroleum engineering, with 7.5% - despite graduates with that major having a median income of $87,600.

Here are the 20 college majors with the highest unemployment rates.