Every year, developers debate which programming language pays the most. But most rankings rely on self-reported survey data or job posting estimates—not what companies actually pay. We took a different approach. Using verified salary data from 20 major tech cities, we ranked 11 programming languages by median total compensation for developers with 3–7 years of experience. Here is what the numbers say in 2026.

How We Ranked the Languages

Before diving into the results, a quick note on methodology. We pulled salary data for developers whose primary language matches each entry, filtering for mid-career professionals (3–7 years of experience) across our salary directory. Total compensation includes base salary, bonuses, and equity where applicable. We then calculated a global weighted median across all 20 cities, adjusted for sample size differences.

This means a language used primarily in high-paying markets (like Rust in San Francisco) will naturally rank higher. That is not a flaw—it reflects economic reality. A language's earning potential is inseparable from the industries and geographies where it is used.

The Full Ranking: Programming Languages by Median Total Compensation

| Rank | Language | Global Median TC | US Median TC | Europe Median TC | |------|----------|-----------------|-------------|-----------------| | 1 | Rust | $162,000 | $195,000 | €82,000 | | 2 | Go | $158,000 | $188,000 | €78,000 | | 3 | Kotlin | $148,000 | $175,000 | €72,000 | | 4 | Swift | $145,000 | $172,000 | €70,000 | | 5 | Python | $142,000 | $168,000 | €68,000 | | 6 | TypeScript | $138,000 | $162,000 | €65,000 | | 7 | Java | $135,000 | $158,000 | €64,000 | | 8 | Ruby | $132,000 | $155,000 | €60,000 | | 9 | JavaScript | $128,000 | $150,000 | €58,000 | | 10 | C# | $126,000 | $148,000 | €56,000 | | 11 | PHP | $108,000 | $125,000 | €48,000 |

Use our salary calculator to see how these figures translate to your specific city and experience level.

Top 5 Highest Paying Languages: A Closer Look

1. Rust — $162,000 Global Median

Rust continues to dominate the highest-paid language rankings for the third consecutive year. The combination of memory safety, performance characteristics, and growing adoption in infrastructure, blockchain, and systems programming keeps demand far ahead of supply.

City-by-city breakdown for Rust developers:

  • San Francisco: $210,000 median TC — still the global ceiling for Rust compensation, driven by crypto infrastructure and cloud-native companies
  • New York: $195,000 median TC — fintech and trading firms are the primary employers
  • London: £98,000 (~$122,000) — growing fast as blockchain and infrastructure companies expand UK offices
  • Berlin: €85,000 (~$92,000) — automotive tech (Volkswagen, BMW) driving Rust adoption
  • Singapore: SGD 168,000 (~$126,000) — fintech and Web3 companies hiring aggressively

The catch: Rust jobs are still relatively scarce compared to Python or JavaScript. You will not find thousands of listings on any given day. But when companies need Rust engineers, they pay well above market because the talent pool is genuinely small.

2. Go — $158,000 Global Median

Go's position at number two reflects its status as the default language for cloud infrastructure, DevOps tooling, and backend microservices. Every major cloud provider, every container orchestration platform, and most modern CLI tools are written in Go.

The salary floor for Go developers is notably high. Even in lower-cost European cities, Go developers rarely earn below the 60th percentile for software engineers generally. In San Francisco, Go developers at companies like Uber, Cloudflare, and Hashicorp regularly clear $200,000 in total compensation.

3. Kotlin — $148,000 Global Median

Kotlin's ranking surprises many people, but it makes sense when you consider that Kotlin developers overwhelmingly work in two high-paying domains: Android development at major tech companies and backend services at JVM-heavy enterprises. Google's full endorsement of Kotlin for Android development means the best mobile opportunities require Kotlin proficiency.

In New York, Kotlin developers working in fintech backend systems earn median total compensation of $180,000—among the highest for any mobile-adjacent language.

4. Swift — $145,000 Global Median

Swift mirrors Kotlin's story on the Apple side. iOS developers at top-tier companies earn substantial premiums, especially those working on performance-critical applications. The growing SwiftUI ecosystem and server-side Swift adoption (primarily at Apple and a handful of startups) provide additional demand.

The geographic concentration is notable: over 60% of the highest-paying Swift roles are in San Francisco and New York, where the density of iOS-first consumer apps is highest.

5. Python — $142,000 Global Median

Python's median salary gets a significant boost from its dominance in data science, machine learning, and AI engineering—three of the highest-paying specializations in tech. A Python developer building Django web applications earns meaningfully less than a Python developer training ML models at a research lab.

See how Python salaries compare in roles like data scientist and software engineer.

The split in Python compensation looks like this:

  • Python + ML/AI: $175,000–$220,000 median TC in major US cities
  • Python + Data Engineering: $155,000–$180,000 median TC
  • Python + Web Development: $125,000–$150,000 median TC

This makes Python one of the most versatile languages in terms of salary range—the ceiling is extremely high, but the floor depends heavily on your specialization.

Languages with the Fastest Salary Growth (2024–2026)

Year-over-year salary growth matters as much as absolute numbers, especially if you are deciding what to learn next. Here are the languages that gained the most ground:

| Language | 2-Year Salary Growth | Key Driver | |----------|---------------------|------------| | Rust | +18% | Infrastructure + crypto + embedded systems | | Go | +14% | Cloud-native adoption, Kubernetes ecosystem | | TypeScript | +12% | Full-stack dominance, enterprise adoption | | Python | +11% | AI/ML boom, data engineering growth | | Kotlin | +9% | Server-side adoption beyond Android | | Swift | +7% | SwiftUI maturity, visionOS development | | Java | +4% | Steady enterprise demand | | JavaScript | +3% | Saturated market, slower growth | | C# | +3% | Game dev (Unity) and enterprise stable | | PHP | +2% | Declining market share, Laravel niche | | Ruby | +1% | Niche but stable (Shopify ecosystem) |

The pattern is clear: languages associated with infrastructure, AI, and systems programming are growing fastest. Languages primarily used for web development are growing at or below inflation.

Best Programming Language to Learn for Money in 2026

If your primary goal is maximizing salary, the answer depends on your current experience and risk tolerance.

Highest ceiling, highest risk: Rust. The pay is exceptional, but the job market is small. If you land a role, you will be well-compensated. If you struggle to find one in your city, you may need to relocate or work remotely. Browse relocation guides for cities with the strongest Rust markets.

Best risk-adjusted choice: Go. Excellent pay, abundant job openings, and a language that is relatively quick to learn for anyone with C, Java, or Python experience. Go developers are needed in virtually every major tech city.

Highest optionality: Python. The salary range is wide, but Python opens doors to data science, ML engineering, backend development, automation, and DevOps. If you are early in your career and unsure which specialization to pursue, Python gives you the most flexibility to pivot later.

Best for frontend developers: TypeScript. If you are already a frontend developer working in JavaScript, moving to TypeScript is the single easiest salary upgrade available—often 5–10% more at the same company simply because TypeScript skills signal stronger engineering fundamentals.

Regional Differences: Same Language, Very Different Pay

One of the most striking findings in our data is how much salaries vary for the same language across cities. Compare cities side by side to see the gap for yourself.

Rust developer salary range by city:

  • San Francisco: $210,000
  • New York: $195,000
  • London: $122,000
  • Singapore: $126,000
  • Berlin: $92,000
  • Austin: $170,000

That is a $118,000 gap between San Francisco and Berlin for the same language and experience level. Of course, cost of living differences explain part of the gap—our cost of living comparison tool helps quantify exactly how much. But even after adjusting for living costs, US cities pay 25–40% more than European cities for systems programming languages.

The Europe-US gap narrows for web languages. PHP and JavaScript developers see a smaller geographic premium because web development talent is more globally distributed and more companies are willing to hire remotely for these roles.

Singapore and Dubai offer a tax advantage. While gross salaries in Singapore may appear lower than San Francisco, the effective tax rate for tech workers is 7–15% compared to 35–45% in California. This can make the take-home pay remarkably competitive. Check our salary calculator to compare after-tax income across cities.

What About AI and LLM-Specific Languages?

A question we get frequently: should you learn a language specifically for AI development? The answer in 2026 is nuanced. Python remains the dominant language for ML/AI work, and the salary premium comes from the domain expertise (machine learning, model training, inference optimization) rather than the language itself.

That said, developers who combine Python with Rust or C++ for performance-critical ML infrastructure components earn at the very top of the scale—median TC above $200,000 globally. The intersection of systems programming and AI engineering is the current sweet spot for compensation.

Methodology Note

All salary data in this article comes from our database of verified compensation records across 20 major tech cities. We filter for mid-career developers (3–7 years of experience) whose primary working language matches the listed entry. Total compensation includes base salary, annual bonuses, and annualized equity grants. Data was collected between Q3 2025 and Q1 2026.

Sample sizes vary by language: Python and JavaScript have the largest datasets (5,000+ records each), while Rust and Kotlin have smaller but still statistically meaningful samples (800–1,200 records each). We exclude outliers beyond the 5th and 95th percentiles.

Explore the full dataset in our salary insights directory or see how the best cities for developers stack up when you factor in cost of living and quality of life.