Money really does talk, suggests new research from staffing firm OfficeTeam. More than two in five workers (44 percent) said they’d leave their job for one with better pay. Among professionals in the 28 U.S. cities surveyed, those in Des MoinesClevelandPhiladelphia and Salt Lake City are most attracted by a bigger salary. In terms of gender, 47 percent of women would resign if offered more money elsewhere, compared to 40 percent of men.

Whatever the reason for leaving, employees should have a good exit plan when parting ways with a company. In a separate survey of HR managers, 83 percent said the way someone quits affects their future career opportunities.

View an infographic about quitting a job.

“Employees want to be compensated fairly and feel challenged and fulfilled in their jobs,” said Brandi Britton, a district president for OfficeTeam. “If higher pay is the primary reason for considering another position, professionals should first see if there is an opportunity to discuss a wage increase in their current role. Employers may be open to negotiation if it means keeping a good worker.”

Britton added, “When an employee decides to leave a company, exiting on good terms is a must. You never know when you might encounter a former colleague later in your career.”