Can I Afford to Live in Philadelphia vs Marrakech on $40K?

Here's how a $40K/year salary plays out in both cities after taxes, rent, and core living expenses โ€” based on Q1 2026 data.

Philadelphia, PA
$2,625/mo take-home
Rent: $2,000/mo (76% of take-home)
Difficult
Marrakech, MA
$2,728/mo take-home
Rent: $430/mo (16% of take-home)
Very comfortable

Monthly budget breakdown

Expense
Philadelphia
PA
Marrakech
MA
Monthly take-home (est.)$2,625$2,728
1BR rent$2,000$430
Groceries (est.)$391$380
Transport (est.)$96$150
Utilities$160$55
Internet$65$25
Left after essentials-$87/month$1,688/month
Marrakech (Marrakesh-Safi) has no state income tax, boosting take-home vs Philadelphia (PA rate: 3.1%).

Frequently asked questions

Is $40K a good salary in Philadelphia?

At $40K/year in Philadelphia, your estimated monthly take-home is $2,625. With 1BR rent around $2,000/month, rent takes up 76% of your take-home. That's considered difficult.

Is $40K a good salary in Marrakech?

At $40K/year in Marrakech, your estimated monthly take-home is $2,728. With 1BR rent around $430/month, rent takes up 16% of your take-home. That's considered very comfortable.

Which city is more affordable on a $40K salary?

Marrakech leaves you with more money after core expenses โ€” $1,688/month vs $-87/month in Philadelphia.

Can I afford to live alone in Philadelphia on $40K?

It's tight. Rent in Philadelphia would take 76% of your $40K take-home pay. You may need to find roommates or look at studios to stay within the 30% rule.

Compare other salary bands โ€” Philadelphia vs Marrakech

See the full cost-of-living comparison

Rent, groceries, taxes, transportation, and more โ€” side by side.

Full comparison

Take-home estimates use simplified federal/state brackets and do not account for pre-tax deductions, 401(k), or local taxes. Data: Zillow, BLS, Numbeo ยท Q1 2026 ยท For general guidance only