These cities are the best, and worst, at money management

"Keeping up with the Joneses" might not be such a bad idea. Depending on where you live, your neighbors might have money-management habits worth emulating.

In a new analysis, WalletHub.com compared money-management habits in 2,534 cities — focusing on indicators including debt-to-income ratios and median credit score, as well as the share of adults who are delinquent on their debts, have recently filed for bankruptcy protection or have foreclosed on a home. (See the cities that ranked in the highest and lowest percentile, below.)

Whether you find your city is low on the list, or your own finances aren't as good as your neighbor's, there's plenty you can do to improve.

"There's always room for better debt management and savings habits," said Bruce McClary, a spokesman for the National Foundation for Credit Counseling.

VIDEO1:2801:28
Here’s the 411 on how to kick-start your emergency fund

One easy way to improve your money management skills: Avoid late payments, which can add to your debts and damage your credit. McClary recommends setting up automatic payments through your bank account when possible and creating reminders or alerts for other bills.

"That can save thousands of dollars in late fees for someone paying habitually late," he said.

If you're carrying a lot of debt, track your spending, said certified financial planner Lazetta Rainey Braxton, founder of Financial Fountains in Baltimore. That can help you figure out the right combination of strategies — cutting spending, or creating a side hustle to boost income — to help you free up money to save and start reducing that debt. (Dropping that debt, of course, improves markers such as those debt-to-income ratios and credit utilization and can boost your credit score.)

Looking forward, check before you take out any new debt to make sure you're not borrowing more than you can afford — or more than you strictly need to, Rainey Braxton said.

Picking the right debt-payoff strategy is also important. Focusing on the highest-rate debt first can save the most in interest, but research has found that consumers like the victory of knocking out small balances first, said McClary.

"Pick whichever one that's going to motivate you to get to the finish line," he said.

Cities best at money management

Rank City Rank City
1Cupertino, CA20Mercer Island, WA
2Los Altos, CA21Potomac, MD
3Lexington, MA22Troy, MI
4Scarsdale, NY23Sammamish, WA
5Palo Alto, CA24Sun City Center, FL
6Saratoga, CA25Bellevue, WA
7Chevy Chase, MD26Belmont, CA
8Foster City, CA27Hoboken, NJ
9Sunnyvale, CA28Westfield, NJ
10McLean, VA29Southlake, TX
11Bronxville, NY30Colleyville, TX
12Mountain View, CA31Vienna, VA
13Syosset, NY32Powell, OH
14Brookline, MA33Arlington, MA
15Bethesda, MD34Birmingham, MI
16Laguna Woods, CA35Pleasanton, CA
17Pittsford, NY36Menlo Park, CA
18Redmond, WA37Winchester, MA
19Leawood, KS38Belmont, MA

Cities worst at money management

Rank City Rank City
2497Tuscaloosa, AL2516Morgantown, WV
2498Humble, TX2517Raeford, NC
2499Laramie, WY2518Ypsilanti, MI
2500Murray, KY2519San Marcos, TX
2501Warrensburg, MO2520Hammond, LA
2502Hattiesburg, MS2521South Holland, IL
2503Riverdale, GA2522Fairburn, GA
2504Kent, OH2523College Park, GA
2505Valdosta, GA2524Williamsburg, VA
2506Covington, GA2525Milledgeville, GA
2507College Station, TX2526Bellwood, IL
2508Hinesville, GA2527Ellensburg, WA
2509Carbondale, IL2528Dolton, IL
2510Maywood, IL2529Hampton, GA
2511Natchitoches, LA2530Jonesboro, GA
2512Maple Heights, OH2531Ruston, LA
2513Bloomington, IN2532Newark, DE
2514Calumet City, IL2533Lithonia, GA
2515Columbia, SC2534East Stroudsburg, PA