This content was put together by forum member Carsten Whimster and we are happy to host it here in the Leica Forum Blog!

Leica Lens CodeFor the Leica M8’s launch, Leica created a lens coding system which works together with firmware to correct vignetting, but when an excessive infrared sensitivity was discovered, cyan corner elimination was added for when using IR filters. This table lists the codes used by Leica. Readings are made by placing the lens with the pattern at 12 O’Clock, and reading clockwise. The “Other Lenses” column lists lenses which are known to benefit from the same coding as the Leica lens in the “Lens Name” column.

The “Frames” column is new, and indicates which frames the lens code works with. Initially I have just the primary frameset, but some lens codes work with more than one (and retain the correct EXIF focal length/aperture), so if you have any additional frames to be added, please let me know.

Lens Name Product # Black Product # Chrome Lens Code Value Picture Frames Other Lenses
Tri-Elmar-M 16-18-21mm f/4 ASPH. 11626 010000 16 ⬜⬛⬜⬜⬜⬜ 28/90 Voigtländer 15mm f/4.5 (@16mm)
Super-Elmar-M 18mm f/3.8 ASPH. 11649 110100 52 ⬛⬛⬜⬛⬜⬜ 50/75 Zeiss Distagon T* 4/18 ZM
Elmarit-M 21mm f/2.8 11134 000001 1 ⬜⬜⬜⬜⬜⬛ 28/90 Konica M-Hexanon 21-35mm f/3.4-4.0 (1)
Elmarit-M 21mm f/2.8 ASPH. 11135 11897 011000 24 ⬜⬛⬛⬜⬜⬜ 28/90 Voigtländer 21mm F4,0 Color Skopar
Zeiss Biogon T* 2,8/21 ZM
Kobalux 21mm f/2.8
Summilux-M 21mm f/1.4 ASPH. 11647 101111 47 ⬛⬜⬛⬛⬛⬛ 28/90
Elmar-M 24mm f/3.8 ASPH. 11648 110010 50 ⬛⬛⬜⬜⬛⬜ 24/35 Voigtländer 25mm F4,0 Snap Shot Skopar
Elmarit-M 24mm f/2.8 ASPH. 11878 11898 011001 25 ⬜⬛⬛⬜⬜⬛ 24/35 Zeiss Biogon T* 2,8/25 ZM (with mount fix)
Summilux-M 24mm f/1.4 ASPH. 11601 110000 48 ⬛⬛⬜⬜⬜⬜ 24/35
Tri-Elmar-M 28-35-50mm f/4 ASPH. 11890
11894 101010 42 ⬛⬜⬛⬜⬛⬜ 28/90, 24/35, 50/75
Elmarit-M 28mm f/2.8 (III) 11804 000011 3 ⬜⬜⬜⬜⬛⬛ 28/90
Elmarit-M 28mm f/2.8 (IV) 11809 011011 27 ⬜⬛⬛⬜⬛⬛ 28/90
Elmarit-M 28mm f/2.8 ASPH. 11606 011100 28 ⬜⬛⬛⬛⬜⬜ 28/90 Zeiss Biogon T* 2,8/28 ZM,Konica M-Hexanon 28mm f/2.8
Summicron-M 28mm f/2 ASPH. 11604 011010 26 ⬜⬛⬛⬜⬛⬜ 28/90 Voigtländer 28mm F1,9 Ultron
Voigtländer 28mm F3,5 Color Skopar
Zeiss Biogon T* 2,8/25 ZM
Summarit-M 35mm f/2.5 11643 101011 43 ⬛⬜⬛⬜⬛⬛ 24/35 Voigtländer 35mm F2,5 Color Skopar
Summicron-M 35mm f/2 (IV) 11310 11311 000110 6 ⬜⬜⬜⬛⬛⬜ 24/35 Zeiss Biogon T* 2/35 ZM
Minolta M-Rokkor 40mm f/2.0 (3)
Summicron-M 35mm f/2 ASPH. 11879 11882 011110 30 ⬜⬛⬛⬛⬛⬜ 24/35 Voigtländer 35mm F1,7 Ultron
Summilux-M 35mm f/1.4 ASPH. 11874 11883 011101 29 ⬜⬛⬛⬛⬜⬛ 24/35 Voigtländer 40mm F1,4 Nokton
Elmar-M 50mm f/2.8 11831
11823 100010 34 ⬛⬜⬜⬜⬛⬜ 50/75
Summarit-M 50mm f/2.5 11644 101100 44 ⬛⬜⬛⬛⬜⬜ 50/75 Voigtländer 50mm F2.5 Color Skopar
Summicron-M 50mm f/2 (III) 11817 (010111) (23) (⬜⬛⬜⬛⬛⬛) 50/75 Konica M-Hexanon 50mm f/2.0
Summicron-M 50mm f/2 (IV, V) 11819
100001 33 ⬛⬜⬜⬜⬜⬛ 50/75 Zeiss Planar T* 2/50 ZM
Summilux-M 50mm f/1.4 (II) 11868 11856 000101 5 ⬜⬜⬜⬛⬜⬛ 50/75
Summilux-M 50mm f/1.4 ASPH. 11891 11892 100000 32 ⬛⬜⬜⬜⬜⬜ 50/75 Voigtländer 50mm F1,5 Nokton
Zeiss C Sonnar T* 1,5/50 ZM
Noctilux-M 50mm f/1 11821
011111 31 ⬜⬛⬛⬛⬛⬛ 50/75
Noctilux-M 50mm f/0.95 ASPH. 11602 110001 49 ⬛⬛⬜⬜⬜⬛ 50/75
Summarit-M 75mm f/2.5 11645 101101 45 ⬛⬜⬛⬛⬜⬛ 50/75 Voigtländer 75mm F2,5 Color Heliar
Apo-Summicron-M 75mm f/2 ASPH. 11637 100100 36 ⬛⬜⬜⬛⬜⬜ 50/75
Summilux-M 75mm f/1.4 11810
100011 35 ⬛⬜⬜⬜⬛⬛ 50/75
Macro-Elmar-M 90mm f/4 11633 11634 100111 39 ⬛⬜⬜⬛⬛⬛ 28/90
Macro-Adaptor-M 14409 101000 40 ⬛⬜⬛⬜⬜⬜ 28/90 (?)
Tele-Elmarit-M 90mm f/2.8 (II) 11800 000100 4 ⬜⬜⬜⬛⬜⬜ 28/90 Konica M-Hexanon 90mm f/2.8 (2)
Elmarit-M 90mm f/2.8 11807 11808 100110 38 ⬛⬜⬜⬛⬛⬜ 28/90
Summarit-M 90mm f/2.5 11646 101110 46 ⬛⬜⬛⬛⬛⬜ 28/90
Summicron-M 90mm f/2 (II) 11136 11137 000111 7 ⬜⬜⬜⬛⬛⬛ 28/90
Apo-Summicron-M 90mm f/2 ASPH. 11884 11885 100101 37 ⬛⬜⬜⬛⬜⬛ 28/90
Elmarit-M 135mm f/2.8 (I/II) 11829 001001 9 ⬜⬜⬛⬜⬜⬛ 28/90


  1. Coding for 21mm only; you must start camera with preview in 28mm position and use that position when shooting. This lens uses a 6-screw mount, but the extra screws are outside the coding area. Unfortunately, this lens uses a 35mm frame position, which is not compatible as far as I can tell with any Leica 21mm lens code. (Dante Stella)
  2. Typically no coding necessary; a screw provides the 1. (Dante Stella)
  3. Clip the frameline lug (so as to show 35mm frames). (Dante Stella)


Many thanks go to Sean Reid, for generously providing informative comparative test results for the “Other Lenses” column. Examples and further details available at Reid Reviews. Many thanks to Popflash.Photo, Mark Norton, and many others, for the use of the code images.

Thanks to Jan Dvorak, the table is now sorted by focal length, then slow-to-fast and old-to-new, which is ultimately much more useful than sorting by code. I also took this opportunity to move the columns around a bit, making it easier to find the information you need.

If you have lenses to add or find mistakes, please mail me at Ideal would be a photo of the lens with the code.


Mike Prevette on the Leica M8 Forum has found out that by marking lenses in the correct spot with a black marker, the M8 will actually read the above codes, and use the internal settings for the lens whose code was marked. This is handy not only for marking the above lenses without actually sending them in for coding, but also for marking “similar” lenses and getting some benefit of the coding even for older Leica or other non-Leica lenses. Experimentation is in order!

To help marking the lenses in the correct spot, Bob Blakley has released a template (click image on the right)into the public domain with the Creative Commons Public Domain Dedication license, ie. it is free for use. Instructions from Bob: “Print it out; the gray surround should be exactly 2 inches by 2 inches. Cut out all the white parts. The cutout at lower left aligns with the little recessed slot in the lensmount; the holes then represent the code bit positions. It’s easiest to get on if you cut the recessed-slot piece all the way through to the edge of the paper so you can just open the template up and slip it on. I’ve made it a nice shade of magenta 🙂 If you want a template you can use over and over again, I’d suggest a trip down to Office Depot to get some overhead transparencies to print the template on. That way your Sharpie won’t damage the template.” A Sharpie is a brand of permanent black marker.

A new, apparently more accurate template (image on the right) has been sent to me by cedmus. Please try it out and let me know how it works. Sadly I have sold my M system, so I cannot test it myself.

Here is the original thread which got all this started.


  1. […] The Leica Forum Blog now has a new page where you can find all lens codes with useful information: […]

  2. […] One thing that is often forgotten, is that the six bit code is also used by the Flash (SF58). Yes all new Leica lenses (just recently the 135mm APO-Summicron is now coming coded). But when it comes to older lenses, it's not so good. There is not enough codes for all Leica lenses. So even if you have a M-Coder or have purchased a new mount, often there is not a code for your lens. What you have to do is try out different combinations. But since two of the same type of lens may have quite differently rendering, the choice is not always so obvious. Then if you have a third-party lens it's even worse. On the other hand you can just select manual lens selection, and pick your lens. Most older lenses are their (but not all). Here is a chart, I found at the L-leica forum, that might help: Leica Lens Codes – Leica Forum Blog – Leica Forum Blog […]

  3. […] IR-Filters Farbverschiebungen in den Bildrändern. Im Internet gibts ja bekanntlich alles, so auch hier eine Schablone, mit deren Hilfe man die Markierungen selber machen kann. (Das hier besprochene Objektiv ist als […]

  4. […] ヨドバシでようやくテプラのテープを買ってきたので、手持ちのMマウントレンズに貼り付けて擬似6ビットコード化。まぁ、本来の使い方ではないのだけど、EXIFにレンズのデータが埋められるのはありがたいのでね。 […]

  5. […] von Hand ausgewählt. Natürlich vergisst man dies doch hin und wieder gerne. Nun habe ich unter ( eine Liste mit 6 Bit Codes inkl. Markierungsschablone […]

  6. […] Can I borrow A LENS CODER FOR LEICA Leica Lens Codes – Leica Forum Blog – Leica Forum Blog […]

  7. […] RAW exported with no changes from Lightroom 5.7. Lens name and number, with help from the Leica Lens Codes. Voigtlander Color-Skopar 35mm f/2.5 results To my eyes, 1., 4. and 6. look the best. The edges […]

  8. […] codificadas para objetivos de otras marcas, que compartan montura Leica-M. Otros, a través de Leicaforum, han aprendido a crear plantillas y codificar ellos mismos sus objetivos mediante dicha plantilla y […]

  9. I need some help with this. How do you get the template to print out the right size. Mine keep printing way too large.

  10. Anyone volunteer to update this coding list with the new lenses? I realise that these arrive already coded but folks may wish to experiment coding their older or uncoded lenses as one of the new lenses. I was thinking of coding the 35/135 LTM to LM adapter ring I use on my LTM 35/2.8 Summaron as a 35/2.4 Summarit but only the older f2.5 lens is on the list. Wilson

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>