Mac serial number production week: reading position 5 and applying the +26 rule

Position 5 of a 12-character Mac serial encodes the production week using a custom alphabet that skips vowels and S. For second-half-of-year serials, you add 26 to get the absolute calendar week.

Marcus Williams
Marcus WilliamsHardware reporter
7 min read
serial-numbermac-lookupapple-identifiersserial-decodingproduction-weeklegacy-serial
Mac serial number production week: reading position 5 and applying the +26 rule

The fifth character of a 12-character Mac serial number is the production-week code, but only within the half-year that the preceding character (position 4) encodes. To get an absolute calendar week, you read position 4 to determine whether it is a first-half or second-half letter, and add 26 to the position-5 week if it is second-half. The position-4 year-and-half-year decoder covers the adjacent letter that this character depends on.

This is the part of legacy serial decoding that trips up most third-party tools. The week alphabet is non-obvious. It skips vowels and several other letters, and the half-year adjustment is silently omitted by some decoders, which then return weeks 1-26 with no indication they may need to be doubled. Apple has never published this table; the mapping is community-derived from extensive reverse engineering through the MacRumors WikiPost on decoding Apple serials, Beetstech, and the acidanthera macserial source. The cluster pillar at the Mac serial-number complete guide wires this one slot into the full identifier picture.

The 12-character format ran from 2010 through early 2021. Before that, Macs used an 11-character format with the week encoded as two literal digits. After early 2021, Apple switched to randomized 10-character serials per internal AppleCare communications obtained by MacRumors, which carry no production date at all.

The week alphabet#

Position 5 uses a custom 26-symbol alphabet that maps to weeks 1 through 26 of the half-year:

CharWeekCharWeekCharWeek
1199N18
22C10P19
33D11Q20
44F12R21
55G13T22
66H14V23
77J15W24
88K16X25
L17Y26 (or 27)

Digits 1 through 9 cover the first nine weeks straightforwardly. From week 10 onward, the alphabet uses letters: C, D, F, G, H, J, K, L, N, P, Q, R, T, V, W, X, Y.

The 17 letters used are the result of removing every letter that would cause a misread. Vowels (A, E, I, O, U) are excluded to avoid spelling words and to dodge the O/0 and I/1 look-alikes that Apple Support 102858 calls out as banned across all Apple serials. S is excluded specifically to avoid OCR confusion with 5. B, M, and Z are also unused in this position. Community references attribute the exclusions to a mix of OCR safety (B/8, Z/2) and to avoiding accidentally generating profanity in serial sequences.

Y occasionally encodes week 27 instead of week 26. ISO calendar years sometimes contain 53 weeks (most recently 2020), and Apple pushed Y to mean week 27 in those production cycles to avoid collapsing two literal weeks onto a single code. In practice this only matters for production runs that straddled an ISO 53-week boundary; in normal years Y is week 26.

A handful of third-party decoders swap the M/L mapping or treat M as valid in position 5. The mapping above is the one acidanthera's macserial and the MacRumors WikiPost both use; treat it as the community consensus rather than as Apple-authoritative.

The half-year adjustment#

Position 5 only ranges from week 1 to week 26 (or 27) of a half-year. To get the absolute calendar week, you have to know which half-year position 4 selected.

Position 4 encodes both year and half-year in a single letter. The letters that signal first-half-of-year are C, F, H, K, M, P, R, T, W, Y. The letters that signal second-half-of-year are D, G, J, L, N, Q, S, V, X, Z.

The decoding rule:

  • If position 4 is a first-half letter, the position-5 week is the absolute calendar week. A 1 is calendar week 1, a C is calendar week 10, a Y is calendar week 26.
  • If position 4 is a second-half letter, add 26 to the position-5 week. A 1 becomes calendar week 27, a C becomes calendar week 36, a Y becomes calendar week 52 (or 53 in the rare Y-means-27 case).

This is the silent failure mode in many "decode my Apple serial" web tools. They will correctly identify the year and the within-half-year week, then either omit the absolute calendar week entirely or report only the half-year week without flagging that it may need to be doubled. If the year matters for your use case (warranty math, batch-defect investigation, used-market dating), verify whether the tool you are using applies the +26 rule.

Worked example#

Take the canonical Macfax example serial C02XG…JG5J. The same serial gets a full position-by-position breakdown in decoding a real Mac serial number from start to finish; the abbreviated version for the week character alone:

  1. C02: Quanta Computer (Tech Com subsidiary), China.
  2. X in position 4: second half of 2018.
  3. G in position 5: week 13 of that half-year.
  4. Because position 4 is a second-half letter, apply the +26 adjustment: 13 + 26 = week 39 of 2018, which falls in late September.
  5. JG5J in positions 9-12: MacBook Pro (15-inch, 2018), specific RAM/SSD/color SKU.

The same serial with XF instead of XG in positions 4-5 would mean late 2018 still, but week 12 of the half-year, calendar week 38, mid-September. Replacing the X with W would shift to first-half 2018 and drop the +26 entirely: WG would be calendar week 13, late March 2018.

Edge cases worth knowing#

53-week ISO years. When the production year contains 53 ISO weeks (2009, 2015, 2020), Apple sometimes used Y to mean week 27 of the half-year rather than the usual week 26. Combined with a second-half position 4, this lets the serial address calendar week 53. The 2020 H2 case is the most recent legacy example, since Apple stopped issuing structured serials in early 2021.

Transition between formats. The 11-character pre-2010 format encoded the week as two literal digits (01 through 52) at positions 4-5, with no alphabet substitution and no half-year. If you are reading a serial that is 11 characters rather than 12, the rules in this post do not apply. See the pre-2010 11-character serial format reference.

Letter-set drift across third-party tables. Older community tables sometimes show M as valid in position 5, or swap L and M in the week ordering. The mapping in this post matches the current macserial source and the MacRumors WikiPost. If you encounter a serial that doesn't decode cleanly against this table, the most likely explanation is OCR error in the original transcription (8/B, 0/D/Q, 1/7, 5/S are the common confusables on dark anodized aluminum), not a table discrepancy. A phone macro lens with raking light usually disambiguates.

Apple silicon and the end of the structured format. Position 5 only carries meaning on 12-character serials. The randomized 10-character format that began rolling out on Macs in late 2021 with the M1 Pro/Max 14-inch and 16-inch MacBook Pro does not encode production week, production year, or factory at all (see the randomized-serial format change for the full transition history). The 24-inch iMac with M1 (2021) still used the legacy 12-character format despite launching in 2021, so a Mac21,1-era iMac serial can still be decoded position-by-position; an M1 Pro 14-inch MacBook Pro cannot.

What this means for the reader#

If you are decoding a 12-character Mac serial and want the calendar week of manufacture, read position 4 first to determine year and half-year, then read position 5 against the table above, then apply +26 if position 4 was a second-half letter. The result is the ISO calendar week of final assembly, not of customer shipment or sale, which can lag by days to weeks depending on retail channel and country.

For a Mac built after early 2021, the production week is not recoverable from the serial, though the model and year still are: the Macfax serial lookup resolves randomized serials against Apple's own device database. The closest substitute is the Boot ROM Version visible in System Information, which roughly bounds the firmware build date but is not the assembly date. For purchase-date-grade certainty on any era of Mac, the original receipt or the Apple Account device list at account.apple.com is the authoritative source. Apple Check Coverage reports the registration/activation date, which is typically days to weeks after the actual retail purchase.

Check a serial

Have a serial in front of you? The Macfax lookup reads the model, year and configuration, and shows what Apple's own tools leave out.

Marcus Williams

Written by

Marcus Williams

Hardware reporter

Marcus Williams covers Mac hardware and repair for Macfax. He spent six years on the bench at an Apple Authorized Service Provider in the Pacific Northwest before going independent, most of that time on logic-board repair, display assembly swaps, and the failure patterns Apple's diagnostics don't surface. He writes about what's inside a Mac, what breaks first, and what a serial number can and can't tell you about a unit's history.

More posts by Marcus →