BMW · Midsize luxury SUV · Built in the USA

Free BMW X5 VIN Decoder

Decode any BMW X5 VIN to confirm the exact model (xDrive40i, xDrive50e, M50i, M60i, 35d diesel or X5 M), generation, engine, assembly plant and model year, then check open recalls before you buy.

  • 100% free
  • Data from NHTSA
  • Instant results
Current generation
G05 · 2019–present
US models today
40i · 50e · M60i · X5 M
Built in
Spartanburg, South Carolina
VIN starts with
5UX · 5YM (X5 M)

What the BMW X5 VIN decoder shows

The X5 has been built at BMW’s plant in Spartanburg, South Carolina, since it first went on sale for the 2000 model year. Over four generations it has been offered with six-cylinder and V8 gas engines, a diesel and plug-in hybrids. Our decoder shows:

  • Exact model: for example xDrive40i, sDrive40i, xDrive50e, M60i, xDrive35d or X5 M. BMW encodes the model type in characters 4 to 7.
  • Generation: E53, E70, F15 or G05, based on the model year and model code.
  • Engine and powertrain: 3.0L six, 4.4L V8, diesel or plug-in hybrid.
  • Drivetrain: rear-wheel drive (sDrive) or xDrive all-wheel drive.
  • Model year and assembly plant: from characters 10 and 11.
  • Open safety recalls: any recall on record with NHTSA for that exact VIN.

BMW X5 generations in the US

GenerationUS model yearsMain US models
G052019–present (updated for 2024)sDrive40i, xDrive40i, xDrive45e, xDrive50e, M50i, M60i, X5 M
F152014–2018sDrive35i, xDrive35i, xDrive35d, xDrive40e, xDrive50i, X5 M
E702007–20133.0si, 4.8i, xDrive30i, xDrive35i, xDrive35d, xDrive48i, xDrive50i, X5 M
E532000–20063.0i, 4.4i, 4.6is, 4.8is

An optional third row was offered on the E70, F15 and G05, so some X5 seat seven. The X5 M is a separate high-performance model with its own VIN code.

Which X5 do you have? Models and engines

A badge can be changed or removed. The VIN cannot. Compare what the decoder shows with this table:

ModelUS model yearsEngine
X5 M / X5 M Competition (F95)2020–present4.4L twin-turbo V8
M60i xDrive (G05)2024–present4.4L twin-turbo V8, mild hybrid
xDrive50e (G05)2024–present3.0L turbo inline-six, plug-in hybrid
xDrive40i / sDrive40i (G05)2019–present3.0L turbo inline-six (B58), mild hybrid from 2024
M50i (G05)2020–20234.4L twin-turbo V8 (N63)
xDrive45e (G05)2021–20233.0L turbo inline-six, plug-in hybrid
xDrive50i (G05 / F15 / E70)2011–20194.4L twin-turbo V8 (N63)
xDrive35d (F15 / E70)2009–20183.0L turbodiesel inline-six
xDrive40e (F15)2016–20182.0L turbo four, plug-in hybrid
xDrive35i / sDrive35i (F15 / E70)2011–20183.0L turbo inline-six (N55)
4.8i / xDrive48i (E70)2007–20104.8L V8 (N62)
3.0si / xDrive30i (E70)2007–20103.0L inline-six

BMW renamed most G05 models for 2024 (xDrive45e became xDrive50e, M50i became M60i). Options such as the M Sport package or third row are not part of the VIN. See “Options and window sticker” below.

How to read a BMW X5 VIN

Every X5 has a 17-character VIN. Here is an example:

5UX CR6C0 9 L 9 123456

Example VIN for illustration only.

CharactersIn this VINWhat it tells you
1–3 · WMI5UXBMW Manufacturing Co., USA (SUVs built in Spartanburg). An X5 M starts with 5YM.
4–7 · Model type codeCR6CBMW’s type code. It identifies the exact model and drivetrain, for example xDrive40i vs M50i.
8 · Vehicle code0Additional vehicle information such as the restraint system.
9 · Check digit9A calculated value that confirms the VIN is valid. It can be a number from 0 to 9 or the letter X.
10 · Model yearLThe model year: L is 2020.
11 · Plant code9The BMW assembly plant.
12–17 · Serial number123456The unique production number of that vehicle.

X5 WMI codes and plants

WMIBuilt byWhich X5
5UXBMW Manufacturing Co. (BMW North America)X5 sold in the US, all generations, built in Spartanburg, South Carolina.
5YMBMW Manufacturing Co. (BMW North America)X5 M, built in Spartanburg.

Source: NHTSA vPIC (5UX and 5YM = BMW Manufacturer Corporation / BMW North America, multipurpose passenger vehicle).

BMW X5 model year codes

The 10th character shows the model year. Codes for every X5 sold in the US:

CodeYearCodeYearCodeYear
Y · 12000 · 200192009J2018
2 · 32002 · 2003A · B2010 · 2011K2019
42004C · D2012 · 2013L · M2020 · 2021
5 · 62005 · 2006E · F2014 · 2015N · P2022 · 2023
7 · 82007 · 2008G · H2016 · 2017R · S · T2024 · 2025 · 2026

BMW X5 recalls

Recalls are issued for specific VINs, so two X5 of the same year can have different results. Repairs for safety recalls are free at any BMW center, even if you are not the first owner. Important X5 campaigns include:

  • Takata airbags, “Do Not Drive” (2023): BMW and NHTSA told owners of unrepaired 2000–2004 X5 (E53) not to drive them until the airbag is replaced. These inflators can rupture in a crash.
  • Diesel EGR cooler (2018 and 2021): X5 xDrive35d diesel models were recalled because a leaking EGR cooler can lead to a melted intake manifold and a risk of fire. A separate recall covers the diesel high-pressure fuel pump, which can fail and stall the engine.
  • Plug-in hybrid battery (2020): some X5 xDrive45e were recalled because debris in battery cells could cause a short circuit. Owners were told not to charge until the battery was inspected.
  • Brakes and 48V battery (2020–2021): some early G05 were recalled for the integrated brake system, which could lose ABS and brake assist, and for a 48-volt battery connection with a fire risk.

Enter the VIN above to see every recall on record for that exact vehicle and whether it is still open.

Common BMW X5 problems by generation

These are issues that owners and independent mechanics often report. They don’t affect every X5, but they are worth checking on a used one:

GenerationOften reportedWhat to check
G05 (2019–)Early-build recalls and software updates; the B58 six in the 40i has a good reputationRecalls completed, air suspension (if equipped), service history
F15 (2014–2018)N63 V8 in the 50i known for oil consumption, timing chain and valve stem seal repairs; EGR and emissions parts on the 35d diesel; air suspension leaksProof of V8 repairs or BMW service campaign work, diesel recalls done, rear ride height
E70 (2007–2013)Same N63 V8 issues on the 2011–2013 50i; valve stem seals on the 4.8i; oil leaks; diesel EGR and emissions partsV8 repair records, oil leaks, diesel recalls done
E53 (2000–2006)Takata airbag recall; oil leaks, cooling system and transfer case faults with ageTakata recall completed before you drive it

How to verify an M50i, M60i or X5 M

V8 and M models cost much more, so some X5 are re-badged to look like a better model. To check:

  1. Decode the VIN and read the model name and engine it returns.
  2. Compare them with the badge and the seller’s listing.
  3. A real X5 M starts with 5YM, not 5UX.
  4. If the VIN says xDrive40i but the X5 is badged M50i or M60i, it is not that model.

Where to find the VIN on a BMW X5

Where to find the VIN on a vehicle: on the dashboard by the windshield and on the label inside the driver’s door jamb
The VIN is on the dashboard (seen through the windshield) and on the label inside the driver’s door.
  • Dashboard: on the driver’s side, visible through the lower windshield.
  • Driver’s door pillar: on the label on the B-pillar when the door is open.
  • Under the hood: also stamped in the engine bay on many models.
  • Documents: title, registration and insurance card.

Buying a used BMW X5: checklist

  • The VIN on the dashboard, door pillar and title all match.
  • The model, engine and drivetrain from the VIN match the badge and the listing.
  • No open safety recalls, especially the Takata recall on a 2000–2004 X5.
  • No salvage, flood or rebuilt title brand, and odometer readings that go up steadily.
  • Service records, including oil changes at the recommended interval.
  • On V8 models (xDrive50i, M50i), ask about oil consumption and engine repairs.
  • On a 35d diesel, check that the EGR and fuel pump recalls were done.
  • On a plug-in hybrid (40e, 45e, 50e), check that the battery charges and the electric range is normal.
  • Check the air suspension (if equipped) and the third row (if listed).
  • A pre-purchase inspection by a BMW specialist.

Before you buy, run a full vehicle history check to see title brands, accidents, odometer readings and past sales, or see a sample report.

Options and window sticker

The VIN shows the model, engine, drivetrain, plant and year. Factory options such as the M Sport package, third-row seat, air suspension, driver-assistance packages or paint color are stored in BMW’s build record, not in the VIN. A BMW center can look them up by VIN.

BMW X5 VIN FAQs

Where is the VIN on a BMW X5?

On the driver’s side of the dashboard, visible through the windshield, and on the label on the driver’s door pillar. It is also on the title, registration and insurance card.

Why does a BMW X5 VIN start with 5UX?

The X5 is built at BMW’s plant in Spartanburg, South Carolina. US-built BMW SUVs start with 5UX, and the X5 M starts with 5YM.

How do I know which X5 generation I have?

Check the model year (10th character). 2019 and newer is the G05, 2014–2018 is the F15, 2007–2013 is the E70 and 2000–2006 is the E53.

Does the VIN show if an X5 has a third row?

No. The third row is a factory option, stored in BMW’s build record. A BMW center can confirm it by VIN.

Does my BMW X5 have an open recall?

Enter the VIN at the top of this page. We check NHTSA records and show any recall that applies to that exact vehicle.

How can I tell a real X5 M by VIN?

A real X5 M starts with 5YM. A regular X5, M50i or M60i starts with 5UX, even with M badges added.

Is the BMW X5 VIN decoder free?

Yes. Decoding the specs and checking recalls is free with no sign-up. A full vehicle history report is a separate paid option.

Other BMW models

See all codes in the BMW VIN decoder.

Similar midsize luxury SUVs

Sources: NHTSA (VIN standards, WMI codes and recalls) and BMW model information. Recall data updated October 8, 2026. HistoryByVIN is not affiliated with BMW. BMW and the BMW logo are trademarks of their owner.