Gallonly
2022 BMW 520iA (G30)
Shown: 2022 BMW 520iA (G30). Photo: User3204, CC BY 4.0, via Wikimedia Commons
  • Newest year: 2023
  • Gas
  • Hybrid
  • Plug-in hybrid
  • Midsize cars

2017-2023 BMW 5 Series MPG & Fuel Cost

7 model years · 18–30 MPG combined

28 MPG
Combined
25 MPG
City
33 MPG
Highway
Annual fuel cost · 530i Sedan 2.0L 4-cyl turbo RWD
$2,860

15,000 mi/yr · premium gasoline $5.36/gal (U.S. average, Sep 2026)

Cheaper to fuel than 5 of 10 midsize car configurations, MY2023. Ranked against all rated configurations, not sales-weighted.

2017-2023 BMW 5 Series at a glance

The 2017-2023 BMW 5 Series covers 7 model years in the EPA database (46 configurations in all), rated 18–30 MPG combined. The newest model year, 2023, costs about $2,860 a year to fuel for its most efficient version, the 530i Sedan 2.0L 4-cyl turbo RWD (28 MPG), at premium gasoline $5.36/gal (U.S. average, Sep 2026). Powertrains over the years: gas, hybrid, plug-in hybrid and diesel. EPA changed the ratings in 2018, 2019, 2020, 2021, 2022 and 2023. The best combined rating in the generation, 30 MPG, was reached in 2018.

2017-2023 BMW 5 Series by model year

2017-2023 BMW 5 Series: EPA combined rating and yearly fuel cost for each model year
Model yearPowertrainsCombined$/yrEPA ratings
2023 Gas, Hybrid, Plug-in hybrid 20–28 MPG $2,240–$4,090 Ratings changed
2022 Gas, Hybrid, Plug-in hybrid 20–28 MPG $2,240–$4,010 Ratings changed
2021 Gas, Hybrid, Plug-in hybrid 26–28 MPG $2,240–$3,070 Ratings changed
2020 Gas, Plug-in hybrid 25–28 MPG $2,170–$3,270 Ratings changed
2019 Gas, Plug-in hybrid 24–27 MPG $2,210–$3,370 Ratings changed
2018 Gas, Plug-in hybrid, Diesel 23–30 MPG $2,200–$3,420 Ratings changed
2017 Gas 18–27 MPG $2,930–$4,390 First year

What the 2023 530i Sedan 2.0L 4-cyl turbo RWD costs to drive

Per month

$238

$2,860 a year ÷ 12

Per 25 miles

$4.77

Per 100 miles

$19.07

Five years

$14,300

5 × the yearly cost, prices held at today's level

vs the midsize car median

$70less a year

Class median $2,930 a year, MY2023

Based on 15,000 miles a year and premium gasoline $5.36/gal (U.S. average, Sep 2026).

2023 BMW 5 Series MPG

Versus 2022: The most efficient configuration stays at 28 MPG. Its annual cost stays at $2,860.

Gas · 2.0L, 4.4L
Combined
20–28 MPG
Per year
$2,860–$4,090
See gas configurations
Hybrid · 3.0L
Combined
25–27 MPG
Per year
$2,930–$3,220
See hybrid configurations
Plug-in hybrid · 2.0L
Gas-only combined
25–26 MPG
Per year
$2,240–$2,450

On electricity 62–64 MPGe, with 19–21 miles of electric range.

See plug-in hybrid configurations

Gas configurations (3)

2023 BMW 5 Series gas configurations: EPA ratings and annual cost
TrimEngineDriveCityHwyComb.$/yr
530i Sedan (Most efficient) 2.0L 4-cyl turbo RWD 25 33 28 $2,860
530i xDrive Sedan 2.0L 4-cyl turbo AWD 23 32 26 $3,040
M550i xDrive Sedan 4.4L 8-cyl turbo AWD 17 25 20 $4,090

3 configurations require or recommend higher-octane gasoline and are costed at premium gasoline $5.36/gal (U.S. average, Sep 2026).

Hybrid configurations (2)

2023 BMW 5 Series hybrid configurations: EPA ratings and annual cost
TrimEngineDriveCityHwyComb.$/yr
540i Sedan (Most efficient) 3.0L 6-cyl turbo RWD 25 32 27 $2,930
540i xDrive Sedan 3.0L 6-cyl turbo AWD 22 29 25 $3,220

2 configurations require or recommend higher-octane gasoline and are costed at premium gasoline $5.36/gal (U.S. average, Sep 2026).

Plug-in hybrid configurations (2)

2023 BMW 5 Series plug-in hybrid configurations: EPA ratings and annual cost
TrimDriveGas MPGElectric MPGeElectric range$/yr
530e Sedan (Most efficient) RWD 26 64 21 mi $2,240
530e xDrive Sedan AWD 25 62 19 mi $2,450

Cost assumes EPA's utility factor: 45%–47% of miles are driven on electricity (residential electricity 18.3¢/kWh (U.S. average, Jul 2026)) and the rest on gasoline (premium gasoline $5.36/gal (U.S. average, Sep 2026)).

2022 BMW 5 Series MPG

20–28 MPG · $2,240–$4,010/yr

Versus 2021: The most efficient configuration stays at 28 MPG. Its annual cost stays at $2,860.

Gas · 2.0L, 4.4L
Combined
20–28 MPG
Per year
$2,860–$4,010
See gas configurations
Hybrid · 3.0L
Combined
25–27 MPG
Per year
$2,930–$3,220
See hybrid configurations
Plug-in hybrid · 2.0L
Gas-only combined
25–26 MPG
Per year
$2,240–$2,450

On electricity 62–64 MPGe, with 19–21 miles of electric range.

See plug-in hybrid configurations

Gas configurations (3)

2022 BMW 5 Series gas configurations: EPA ratings and annual cost
TrimEngineDriveCityHwyComb.$/yr
530i Sedan (Most efficient) 2.0L 4-cyl turbo RWD 25 33 28 $2,860
530i xDrive Sedan 2.0L 4-cyl turbo AWD 23 32 26 $3,040
M550i xDrive Sedan 4.4L 8-cyl turbo AWD 17 25 20 $4,010

3 configurations require or recommend higher-octane gasoline and are costed at premium gasoline $5.36/gal (U.S. average, Sep 2026).

Hybrid configurations (2)

2022 BMW 5 Series hybrid configurations: EPA ratings and annual cost
TrimEngineDriveCityHwyComb.$/yr
540i Sedan (Most efficient) 3.0L 6-cyl turbo RWD 25 32 27 $2,930
540i xDrive Sedan 3.0L 6-cyl turbo AWD 22 29 25 $3,220

2 configurations require or recommend higher-octane gasoline and are costed at premium gasoline $5.36/gal (U.S. average, Sep 2026).

Plug-in hybrid configurations (2)

2022 BMW 5 Series plug-in hybrid configurations: EPA ratings and annual cost
TrimDriveGas MPGElectric MPGeElectric range$/yr
530e Sedan (Most efficient) RWD 26 64 21 mi $2,240
530e xDrive Sedan AWD 25 62 19 mi $2,450

Cost assumes EPA's utility factor: 45%–47% of miles are driven on electricity (residential electricity 18.3¢/kWh (U.S. average, Jul 2026)) and the rest on gasoline (premium gasoline $5.36/gal (U.S. average, Sep 2026)).

2021 BMW 5 Series MPG

26–28 MPG · $2,240–$3,070/yr

Versus 2020: The most efficient configuration stays at 28 MPG. Its annual cost goes from $2,870 to $2,860, $10 less.

Gas · 2.0L, 3.0L
Combined
26–28 MPG
Per year
$2,860–$3,070
See gas configurations
Hybrid · 2.0L, 3.0L
Combined
27 MPG
Per year
$2,930–$3,020
See hybrid configurations
Plug-in hybrid · 2.0L
Gas-only combined
25–26 MPG
Per year
$2,240–$2,450

On electricity 62–64 MPGe, with 19–21 miles of electric range.

See plug-in hybrid configurations

Gas configurations (2)

2021 BMW 5 Series gas configurations: EPA ratings and annual cost
TrimEngineDriveCityHwyComb.$/yr
530i (Most efficient) 2.0L 4-cyl turbo RWD 25 33 28 $2,860
540i xDrive 3.0L 6-cyl turbo AWD 23 31 26 $3,070

2 configurations require or recommend higher-octane gasoline and are costed at premium gasoline $5.36/gal (U.S. average, Sep 2026).

Hybrid configurations (2)

2021 BMW 5 Series hybrid configurations: EPA ratings and annual cost
TrimEngineDriveCityHwyComb.$/yr
540i (Most efficient) 3.0L 6-cyl turbo RWD 25 32 27 $2,930
530i xDrive 2.0L 4-cyl turbo AWD 23 32 27 $3,020

2 configurations require or recommend higher-octane gasoline and are costed at premium gasoline $5.36/gal (U.S. average, Sep 2026).

Plug-in hybrid configurations (2)

2021 BMW 5 Series plug-in hybrid configurations: EPA ratings and annual cost
TrimDriveGas MPGElectric MPGeElectric range$/yr
530e (Most efficient) RWD 26 64 21 mi $2,240
530e xDrive AWD 25 62 19 mi $2,450

Cost assumes EPA's utility factor: 45%–47% of miles are driven on electricity (residential electricity 18.3¢/kWh (U.S. average, Jul 2026)) and the rest on gasoline (premium gasoline $5.36/gal (U.S. average, Sep 2026)).

2020 BMW 5 Series MPG

25–28 MPG · $2,170–$3,270/yr

Versus 2019: The most efficient configuration moves from 27 to 28 MPG, up 1. Its annual cost goes from $2,930 to $2,870, $60 less.

Gas · 2.0L, 3.0L
Combined
25–28 MPG
Per year
$2,870–$3,270
See gas configurations
Plug-in hybrid · 2.0L
Gas-only combined
25–27 MPG
Per year
$2,170–$2,410

On electricity 65–69 MPGe, with 19–21 miles of electric range.

See plug-in hybrid configurations

Gas configurations (4)

2020 BMW 5 Series gas configurations: EPA ratings and annual cost
TrimEngineDriveCityHwyComb.$/yr
530i (Most efficient) 2.0L 4-cyl turbo RWD 25 33 28 $2,870
530i xDrive 2.0L 4-cyl turbo AWD 24 31 27 $3,020
540i 3.0L 6-cyl turbo RWD 22 30 25 $3,170
540i xDrive 3.0L 6-cyl turbo AWD 22 29 25 $3,270

4 configurations require or recommend higher-octane gasoline and are costed at premium gasoline $5.36/gal (U.S. average, Sep 2026).

Plug-in hybrid configurations (2)

2020 BMW 5 Series plug-in hybrid configurations: EPA ratings and annual cost
TrimDriveGas MPGElectric MPGeElectric range$/yr
530e (Most efficient) RWD 27 69 21 mi $2,170
530e xDrive AWD 25 65 19 mi $2,410

Cost assumes EPA's utility factor: 44%–47% of miles are driven on electricity (residential electricity 18.3¢/kWh (U.S. average, Jul 2026)) and the rest on gasoline (premium gasoline $5.36/gal (U.S. average, Sep 2026)).

2019 BMW 5 Series MPG

24–27 MPG · $2,210–$3,370/yr

Versus 2018: The most efficient configuration moves from 30 to 27 MPG, down 3. Its annual cost goes from $3,160 to $2,930, $230 less.

Gas · 2.0L, 3.0L
Combined
24–27 MPG
Per year
$2,930–$3,370
See gas configurations
Plug-in hybrid · 2.0L
Gas-only combined
28–29 MPG
Per year
$2,210–$2,280

On electricity 67–72 MPGe, with 15–16 miles of electric range.

See plug-in hybrid configurations

Gas configurations (4)

2019 BMW 5 Series gas configurations: EPA ratings and annual cost
TrimEngineDriveCityHwyComb.$/yr
530i (Most efficient) 2.0L 4-cyl turbo RWD 24 34 27 $2,930
530i xDrive 2.0L 4-cyl turbo AWD 23 33 27 $3,000
540i xDrive 3.0L 6-cyl turbo AWD 21 29 24 $3,340
540i 3.0L 6-cyl turbo RWD 21 29 24 $3,370

4 configurations require or recommend higher-octane gasoline and are costed at premium gasoline $5.36/gal (U.S. average, Sep 2026).

Plug-in hybrid configurations (2)

2019 BMW 5 Series plug-in hybrid configurations: EPA ratings and annual cost
TrimDriveGas MPGElectric MPGeElectric range$/yr
530e (Most efficient) RWD 29 72 16 mi $2,210
530e xDrive AWD 28 67 15 mi $2,280

Cost assumes EPA's utility factor: 37%–39% of miles are driven on electricity (residential electricity 18.3¢/kWh (U.S. average, Jul 2026)) and the rest on gasoline (premium gasoline $5.36/gal (U.S. average, Sep 2026)).

2018 BMW 5 Series MPG

23–30 MPG · $2,200–$3,420/yr

Versus 2017: The most efficient configuration moves from 27 to 30 MPG, up 3. Its annual cost goes from $2,930 to $3,160, $230 more.

Gas · 2.0L, 3.0L
Combined
23–27 MPG
Per year
$2,930–$3,420
See gas configurations
Plug-in hybrid · 2.0L
Gas-only combined
28–29 MPG
Per year
$2,200–$2,280

On electricity 67–72 MPGe, with 15–16 miles of electric range.

See plug-in hybrid configurations
Diesel · 3.0L
Combined
30 MPG
Per year
$3,160
See diesel configurations

Gas configurations (4)

2018 BMW 5 Series gas configurations: EPA ratings and annual cost
TrimEngineDriveCityHwyComb.$/yr
530i (Most efficient) 2.0L 4-cyl turbo RWD 24 34 27 $2,930
530i xDrive 2.0L 4-cyl turbo AWD 23 33 27 $3,020
540i 3.0L 6-cyl turbo RWD 21 30 24 $3,330
540i xDrive 3.0L 6-cyl turbo AWD 20 29 23 $3,420

4 configurations require or recommend higher-octane gasoline and are costed at premium gasoline $5.36/gal (U.S. average, Sep 2026).

Plug-in hybrid configurations (2)

2018 BMW 5 Series plug-in hybrid configurations: EPA ratings and annual cost
TrimDriveGas MPGElectric MPGeElectric range$/yr
530e (Most efficient) RWD 29 72 16 mi $2,200
530e xDrive AWD 28 67 15 mi $2,280

Cost assumes EPA's utility factor: 37%–39% of miles are driven on electricity (residential electricity 18.3¢/kWh (U.S. average, Jul 2026)) and the rest on gasoline (premium gasoline $5.36/gal (U.S. average, Sep 2026)).

Diesel configurations (1)

2018 BMW 5 Series diesel configurations: EPA ratings and annual cost
TrimEngineDriveCityHwyComb.$/yr
540d xDrive (Most efficient) 3.0L 6-cyl turbo AWD 26 36 30 $3,160

Diesel is priced at diesel $6.29/gal (U.S. average, Sep 2026).

2017 BMW 5 Series MPG

18–27 MPG · $2,930–$4,390/yr
Gas · 2.0L, 3.0L, 4.4L
Combined
18–27 MPG
Per year
$2,930–$4,390

Gas configurations (7)

2017 BMW 5 Series gas configurations: EPA ratings and annual cost
TrimEngineDriveCityHwyComb.$/yr
530i (Most efficient) 2.0L 4-cyl turbo RWD 24 34 27 $2,930
530i xDrive 2.0L 4-cyl turbo AWD 23 33 27 $3,020
540i 3.0L 6-cyl turbo RWD 20 30 24 $3,390
540i xDrive 3.0L 6-cyl turbo AWD 20 29 23 $3,430
535i Gran Turismo 3.0L 6-cyl turbo RWD 19 27 22 $3,660
535i xDrive Gran Turismo 3.0L 6-cyl turbo AWD 18 26 21 $3,780
Show 0 more configurations
2017 BMW 5 Series gas configurations: EPA ratings and annual cost (+1)
TrimEngineDriveCityHwyComb.$/yr
550i xDrive Gran Turismo4.4L 8-cyl turboAWD152418$4,390

7 configurations require or recommend higher-octane gasoline and are costed at premium gasoline $5.36/gal (U.S. average, Sep 2026).

Fuel cost by state

Yearly cost of the 530i Sedan 2.0L 4-cyl turbo RWD: $3,400 in California and $2,480 in Texas, a $920 difference.

Gasoline prices: California: California state average; Washington: Washington state average; New York: New York state average; Florida: Florida state average; Texas: Texas state average (Sep 2026).
Fuel cost in every state

Similar cars

Closest combined MPG among MY2023 midsize car models.

EPA ratings: fueleconomy.gov file of Sep 29, 2026 · Prices: EIA regular gasoline, U.S. average, Sep 2026 ($4.36/gal) · EIA residential electricity, U.S. average, Jul 2026 (18.3¢/kWh) · 15,000 mi/yr, 55% city / 45% highway · How we calculate

Generations

Frequently asked questions

What gas mileage does the 2017-2023 BMW 5 Series get?

EPA rates the 2017-2023 BMW 5 Series at 18–30 MPG combined across 46 configurations and 7 model years. The most efficient version, the 2018 540d xDrive 3.0L 6-cyl turbo AWD, is rated 30 MPG (26 city, 36 highway). By powertrain: Gas: 18–28 MPG; Hybrid: 25–27 MPG; Plug-in hybrid: 25–29 MPG; Diesel: 30 MPG.

Which years had the best MPG in the 2017-2023 BMW 5 Series?

The 540d xDrive 3.0L 6-cyl turbo AWD reached the generation's best combined rating, 30 MPG, in 2018. The lowest top rating, 27 MPG, was in 2017 and 2019.

Did EPA ratings change during the 2017-2023 BMW 5 Series?

Yes. Ratings changed in 2018, 2019, 2020, 2021, 2022 and 2023.

How does the 2017-2023 BMW 5 Series compare with the previous generation?

The previous generation (2011-2016 BMW 5 Series) is rated 17–30 MPG combined and costs $2,950–$4,840 a year to fuel; the 2017-2023 model is rated 18–30 MPG and costs $2,170–$4,390 a year.

How much does it cost to fuel a 2023 BMW 5 Series per year?

Driving 15,000 miles a year at premium gasoline $5.36/gal (U.S. average, Sep 2026), the 530i Sedan 2.0L 4-cyl turbo RWD costs about $2,860 a year. Across all 7 configurations the cost runs $2,240–$4,090 a year. That is a $1,850 difference between the cheapest and the costliest configuration.

How does the 2023 BMW 5 Series compare with other midsize car configurations?

The 530i Sedan 2.0L 4-cyl turbo RWD costs about $2,860 a year to fuel, $70 less than the class median of $2,930, and less than 5 of 10 midsize car configurations. The comparison covers all 134 rated midsize car configurations for MY2023, not weighted by sales.

Is the 2023 BMW 5 Series hybrid cheaper to fuel than the gas version?

No. The best hybrid (540i Sedan 3.0L 6-cyl turbo RWD) is rated 27 MPG against 28 MPG for the best gas version (530i Sedan 2.0L 4-cyl turbo RWD). At premium gasoline $5.36/gal (U.S. average, Sep 2026) that is $2,930 versus $2,860 a year, $70 more.

How far does the 2023 BMW 5 Series plug-in hybrid go on electricity?

EPA rates the electric range at 19–21 miles, with a total range of 320–340 miles when the gasoline engine helps. Once the battery is used, the car runs as a hybrid at 26 MPG. The 530e Sedan 2.0L 4-cyl turbo RWD costs about $2,240 a year, assuming EPA's utility factor of 47% of miles on electricity, at premium gasoline $5.36/gal (U.S. average, Sep 2026) + residential electricity 18.3¢/kWh (U.S. average, Jul 2026).

Is the 2023 BMW 5 Series different from the 2022 model?

The most efficient configuration stays at 28 MPG. Its annual cost stays at $2,860. EPA lists 7 configurations for 2023 against 7 configurations for 2022. See the 2022 BMW 5 Series for that year.