Can I Afford to Live in Marrakech vs Harrisburg 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.
Monthly budget breakdown
| Expense | Marrakech MA | Harrisburg PA |
|---|---|---|
| Monthly take-home (est.) | $2,728 | $2,625 |
| 1BR rent | $430 | $1,250 |
| Groceries (est.) | $380 | $372 |
| Transport (est.) | $150 | $72 |
| Utilities | $55 | $175 |
| Internet | $25 | $63 |
| Left after essentials | $1,688/month | $693/month |
Frequently asked questions
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.
Is $40K a good salary in Harrisburg?
At $40K/year in Harrisburg, your estimated monthly take-home is $2,625. With 1BR rent around $1,250/month, rent takes up 48% of your take-home. That's considered difficult.
Which city is more affordable on a $40K salary?
Marrakech leaves you with more money after core expenses โ $1,688/month vs $693/month in Harrisburg.
Can I afford to live alone in Marrakech on $40K?
Yes. At $40K in Marrakech, rent takes 16% of your take-home, leaving $1,688/month after essentials. Most financial planners recommend keeping rent below 30%.
See the full cost-of-living comparison
Rent, groceries, taxes, transportation, and more โ side by side.
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