Decode Your VIN
Enter your vehicle's VIN code to discover all technical specifications. The VIN consists of 17 alphanumeric characters.
Decode any BMW X4 VIN free in seconds. Enter the 17-character vehicle identification number into the decoder above and get the model year, trim, engine, plant of origin, and open NHTSA recalls, instantly, with no sign-up.
This page is the dedicated X4 hub: the F26 and G02 generations, the WMI code, the position-by-position breakdown, the VIN blocks that identify each trim, where to find the VIN, and X4-specific NHTSA recalls. It also says plainly which model years we could and could not decode, so you know what to expect.
About the BMW X4
The X4 is BMW’s “Sports Activity Coupe,” a sloping-roof variant of the X3 that went on sale in the United States for model year 2015. It is built at BMW’s plant in Spartanburg (Greer), South Carolina, and NHTSA’s decoder returns Greer, South Carolina for every X4 VIN pattern we tested.
| Generation | Model years (US) | Chassis code | Notes |
|---|---|---|---|
| 1st | 2015-2018 | F26 | xDrive28i and xDrive35i at launch; the xDrive M40i joined for 2016 |
| 2nd | 2019-present | G02 | xDrive30i and M40i; BMW also sold a higher-performance X4 M, which NHTSA recall filings name for 2020-2025 |
The chassis code does not appear literally in the VIN. It is enthusiast shorthand. What the VIN does carry is a vehicle descriptor block (positions 4-8) and a model year character (position 10), and together they identify the X4 trim and which generation you are looking at.
BMW X4 WMI code (positions 1-3)
Checked against NHTSA’s vPIC decoder using X4 VIN patterns:
| WMI | Country (per registry) | Plant | Notes |
|---|---|---|---|
| 5UX | USA | Spartanburg (Greer), SC | The WMI on every X4 pattern we decoded |
If your X4 VIN starts with anything else, treat it as suspect and confirm with the decoder above. Cars built for other markets may carry a different World Manufacturer Identifier, and NHTSA’s database is built around vehicles sold in the United States, so a non-5UX X4 may not decode fully.
How to decode a BMW X4 VIN, position by position
Positions 1-3: World Manufacturer Identifier
5UX, as in the table above.
Positions 4-8: Vehicle Descriptor Section (VDS)
This block identifies the X4 trim. We built VINs with valid check digits for each block and decoded them in NHTSA’s vPIC database:
| Positions 4-7 | Model years | vPIC decode | Engine (per vPIC) |
|---|---|---|---|
XW3C |
2015-2018 | X4 xDrive28i, all-wheel drive | 2.0L 4-cylinder gasoline |
XW5C |
2015-2018 | X4 xDrive35i, all-wheel drive | 3.0L 6-cylinder gasoline |
XW7C |
2016-2018 | X4 xDrive M40i, all-wheel drive | 3.0L 6-cylinder gasoline |
2V1C |
2020-2021 | X4 xDrive30i, all-wheel drive | 2.0L 4-cylinder gasoline |
2V5C |
2020-2021 | X4 M40i, all-wheel drive | 3.0L 6-cylinder gasoline |
Things worth knowing when you read your own VIN:
- Position 8 changes with the generation. The F26 blocks above decoded with a
5in position 8, while the G02 blocks decoded with a0. That character is part of BMW’s block, so if a hand-decode disagrees with the tool above, check position 8 before assuming the VIN is wrong. - We could not decode every year. In our tests vPIC returned no X4 decode for the 2019 model year, or for 2022 and later, with the blocks above. NHTSA recall filings name the X4 for 2019 and for every year from 2022 to 2026, so those cars exist. This is a gap in the public database or a different block we did not find, not evidence the cars are fake. If your VIN does not decode, check the check digit first.
- The X4 M is not in this table. NHTSA recall filings name the X4 M, but we found no vPIC decode for it.
Position 9: Check digit
Calculated from the other 16 characters using modulo-11 math. A single mistyped character breaks the math, and any compliant decoder, DMV, or insurer will reject it. Every VIN pattern used for this page was built with a valid check digit and returned a clean decode (error code 0) in vPIC unless noted. See how the VIN check digit works.
Position 10: Model year
The 10th character maps to model year. For the years the X4 has been sold in the US:
| Char | Model year | Char | Model year |
|---|---|---|---|
| F | 2015 | M | 2021 |
| G | 2016 | N | 2022 |
| H | 2017 | P | 2023 |
| J | 2018 | R | 2024 |
| K | 2019 | S | 2025 |
| L | 2020 | T | 2026 |
Letters I, O and Q are never used in a VIN, which is why the sequence skips from H to J, from N to P and from P to R.
Position 11: Assembly plant
One character identifying the assembly plant. In vPIC, the characters 0, 9 and L in position 11 of a 5UX VIN all resolve to Greer, South Carolina. The X4 is built at one US plant, so the specific character matters less than the WMI: it is BMW’s internal code and can change as production lines rotate.
Positions 12-17: Serial number
The production sequence number for that specific X4. Combined with the previous 11 characters, this makes every X4 VIN globally unique.
X4 trim levels by model year
As identified by the VDS blocks above and NHTSA recall filings:
- 2015: xDrive28i, xDrive35i
- 2016-2018: xDrive28i, xDrive35i, xDrive M40i
- 2019-present: xDrive30i, M40i, plus the X4 M named in NHTSA recall filings (decoded blocks cover 2020-2021)
The 2.0L four-cylinder is the entry engine in both generations (xDrive28i, then xDrive30i), and the 3.0L six-cylinder powers the xDrive35i, xDrive M40i and M40i. vPIC reports slightly different displacement values for the same engine family in some years (for example 1.99L and 2.97L in 2021), so treat displacement as approximate.
Where to find the VIN on a BMW X4
- Lower-left corner of the windshield, visible from outside the car
- Driver’s side door jamb sticker (VIN, paint code, production date)
- Stamped in the engine bay or body structure (the location varies by model and year)
- Vehicle title, registration, and the BMW service portal
BMW X4 recalls and safety
A selection of NHTSA campaigns that name the X4 specifically:
- Rearview mirror (2015 X3 and X4 built July 28-29, 2014, campaign 14V648000): the driver’s side exterior mirror may have been designed to meet non-US requirements, so the vehicles fail to comply with the federal rearview mirror standard.
- Driver air bag inflator (2015 X4 xDrive28i and xDrive35i, campaign 16V683000): the driver’s frontal air bag inflator may have been improperly welded, and its housing could separate from the base plate in a crash.
- Seatback frames (2019 X4 xDrive30i and M40i, campaign 19V563000): the front seatback frames may have been improperly welded, allowing the seatback to fold forward or rearward.
- Steering rack (2020 X4 M40i, campaign 19V738000): the steering rack pinion teeth may break under load, resulting in a loss of steering control.
- Front axle swivel bearings (2020 X4 xDrive30i and M40i, campaign 19V678000): the bearings may not have been properly heat treated, reducing their strength and possibly causing them to break.
- Transmission mechatronics (2022 X4 xDrive30i, campaign 22V070000): the mechatronics unit inside the transmission may not have been assembled properly, which could cause an internal leak.
- Roof frame near the head air bag (2025 X4 xDrive30i, M40i and M, campaign 24V910000): a crack in the inner-left roof frame could damage the head air bag during deployment.
- Windshield seal (2026 X4 and X6, campaign 25V671000): the windshield may not be sealed properly, allowing water to enter the power distribution box or an electronic control unit.
These are examples, not a complete list: the X4 has also been named in several multi-model campaigns for back-over prevention (sensing) systems, starter motors and brake components. To check your specific X4:
- Decode the VIN with the tool above to confirm the model year and trim
- Look up the 17-character VIN on the NHTSA recall lookup and the BMW recall portal (US)
- Contact your nearest BMW authorized service center for any open campaign repair
Recall repairs are free regardless of vehicle age, mileage, or ownership history.
Frequently asked questions
How do I decode a BMW X4 VIN?
Type the 17-character VIN from the windshield, door jamb, or title into the decoder above. Results return in seconds: model year, trim, engine, plant of origin, and any open NHTSA recalls. No sign-up required.
What does a BMW X4 VIN starting with 5UX mean?
5UX is the World Manufacturer Identifier BMW uses for sport activity vehicles built at its Spartanburg, South Carolina plant. In NHTSA’s decoder, 5UX X4 VINs resolve to Greer, South Carolina.
How do I tell an X4 xDrive30i from an M40i by the VIN?
Look at positions 4-7. On a 2020-2021 X4, 2V1C is the xDrive30i (2.0L four-cylinder) and 2V5C is the M40i (3.0L six-cylinder). On a 2015-2018 X4, XW3C is the xDrive28i, XW5C the xDrive35i and XW7C the xDrive M40i. The decoder above does this automatically.
Why does my 2022 or newer X4 VIN not decode?
In our tests NHTSA’s vPIC database returned no X4 decode for the blocks used on 2020-2021 cars, and none for 2019 or 2022-2026 patterns. Recall filings confirm X4s exist for those years. First re-check the VIN for typos with the check digit method above; if it passes, the database may simply not have that block yet.
How is the X4 different from the X3 in the VIN?
Both are built in Spartanburg and share the 5UX prefix, so the WMI does not separate them. The vehicle descriptor block does: in vPIC, the X4 blocks above decode as X4, while the 5UX blocks used on the X3 decode as X3.
Where is the BMW X4 built?
At BMW’s plant in Spartanburg (Greer), South Carolina. Every X4 VIN pattern we tested resolved to Greer in NHTSA’s decoder.
Is the BMW X4 VIN decoder free?
Yes, with no sign-up. A full vehicle history report (accident records, odometer history, prior ownership, salvage status) is available as a paid upgrade if you need it.
Can a BMW X4 VIN be faked?
The 17 characters can be retyped on a counterfeit plate, but the check digit at position 9 catches most single-character changes. If the windshield and door-jamb VINs do not match each other, or do not match the title, walk away. The guide how to check if a car is stolen by VIN walks through the verification steps.
Decode any BMW X4 VIN free
Type your 17-character X4 VIN into the decoder at the top of this page for an instant breakdown. To go deeper into VIN structure or check other BMW models:
- BMW VIN decoder hub for the brand-wide guide
- BMW X3 VIN decoder, the X4’s sibling built at the same plant
- BMW X6 VIN decoder for the larger coupe-style SUV
- How to read a VIN number for the general standard
- What every character in a VIN means for a position-by-position reference
- VIN decoder vs. vehicle history report for what a decode covers vs. what it doesn’t
- How the VIN check digit works for verifying a VIN was not mistyped or altered
- VIN formats by country and manufacturer for what the first three characters tell you
