By Disha Raychaudhuri | NJ Advance Media for NJ.com

If college degrees are your measure of smarts, New Jersey does pretty darn well compared to the rest of the U.S.

According to Census data, 37 percent of Garden State residents age 25 and over have a college education, compared to 29 percent for the country as a whole.

RELATED: The most educated towns in N.J.

But it's not the same all over the state.

The least educated towns are typically also some of the poorest. That combined with the high cost of education and a lack of access to other resources can make attaining a college degree particularly difficult.

Here are the least educated towns in each of New Jersey's 21 counties:

A note about the data: From the 2012-2016 American Community Survey on educational attainment for residents over the age of 25. Municipalities with a high margin of error were excluded.

Don't Edit

Atlantic: Egg Harbor city

Population 25 years and over: 2688

Percentage of people with bachelor's degree: 8.8

Don't Edit

Bergen: South Hackensack township

Population 25 years and over: 1933

Percentage of people with bachelor's degree: 10.5

Don't Edit

Burlington: New Hanover township

Population 25 years and over: 6088

Percentage of people with bachelor's degree: 9.6

Don't Edit

Camden: Chesilhurst borough

Population 25 years and over: 1243

Percentage of people with bachelor's degree: 5.6

Don't Edit

Don't Edit

Cape May: Woodbine borough

Population 25 years and over: 1752

Percentage of people with bachelor's degree: 4.3

Don't Edit

Cumberland: Bridgeton city

Population 25 years and over: 15,051

Percentage of people with bachelor's degree: 3.2

Don't Edit

Essex: Newark

Population 25 years and over: 177,933

Percentage of people with bachelor's degree: 9.6

Don't Edit

Gloucester: Paulsboro borough

Population 25 years and over: 3902

Percentage of people with bachelor's degree: 8.4

Don't Edit

Hudson: East Newark borough

Population 25 years and over: 1848

Percentage of people with bachelor's degree: 8.5

Don't Edit

Don't Edit

Hunterdon: Hampton borough

Population 25 years and over: 913

Percentage of people with bachelor's degree: 18

Don't Edit

Mercer: Trenton

Population 25 years and over: 54,671

Percentage of people with bachelor's degree: 7.6

Don't Edit

Middlesex: New Brunswick

Population 25 years and over: 26,539

Percentage of people with bachelor's degree: 10.8

Don't Edit

Monmouth: Asbury Park

Population 25 years and over: 10,498

Percentage of people with bachelor's degree: 12.2

Don't Edit

Morris: Victory Gardens borough

Population 25 years and over: 990

Percentage of people with bachelor's degree: 8.3

Don't Edit

Don't Edit

Ocean: South Toms River

Population 25 years and over: 2189

Percentage of people with bachelor's degree: 5.6

Don't Edit

Passaic: Paterson city

Population 25 years and over: 91,377

Percentage of people with bachelor's degree: 7.4

Don't Edit

Salem: Penns Grove borough

Population 25 years and over: 2902

Percentage of people with bachelor's degree: 3.5

Don't Edit

Somerset: Manville borough

Population 25 years and over: 7339

Percentage of people with bachelor's degree: 11.3

Don't Edit

Sussex: Sussex borough

Population 25 years and over: 1388

Percentage of people with bachelor's degree: 9.9

Don't Edit

Don't Edit

Union: Elizabeth city

Population 25 years and over: 80,641

Percentage of people with bachelor's degree: 8.1

Don't Edit

Warren: Alpha borough

Population 25 years and over: 1623

Percentage of people with bachelor's degree: 12

Don't Edit

Read more NJ.com data reporting

Merging 191 of N.J.'s smallest towns? It's on the table. Here's which ones would get the ax.

Why 150k of N.J.'s poorest families are facing a major rent increase

26 N.J. towns where immigrant populations are booming