When doing replacement or upgrading on 2006 – 2017 Mazda 5 capsule halogen headlamps HID with, the bulb size guide is necessary for you to take the reference.
Jump to corresponding car model with the catalog bellow.

Low Beam Headlight2006 H7
High Beam Headlight2006 9005
Front Fog Light2006 H8/H11/H16
Back Up Light2006 921
Brake2006 7443
Dome Light2006 DE3175
Front Side Marker2006 1157
Front Turn Signal2006 1157
License Plate2006 194
Parking Light2006 1157
Rear Turn Signal2006 7440NA
Tail Light2006 7443
Luggage Compartment2006 DE3175
Map Light2006 12961
Low Beam Headlight2012 – 2017 H11
2007 – 2010 H7
High Beam Headlight2007 – 2010, 2012 – 2017 9005
Front Fog Light2007 – 2010, 2012 – 2017 H8/H11/H16
Back Up Light2012 – 2017 7440
2007 – 2010 921
Brake2007 – 2010, 2012 – 2017 7443
Daytime Running Light2012 – 2017 9005
Dome Light2007 – 2010, 2012 – 2017 DE3175
Front Side Marker2007 – 2010 1157
2012 – 2017 1157NA
Front Turn Signal2007 – 2010, 2012 – 2017 1157
License Plate2012 – 2017 12961
2007 – 2010 194
Parking Light2007 – 2010, 2012 – 2017 1157
Rear Side Marker2007 – 2010, 2012 – 2017 7443
Rear Turn Signal2007 – 2010, 2012 – 2017 7440NA
Tail Light2007 – 2010, 2012 – 2017 7443
Luggage Compartment2007 – 2010, 2012 – 2017 DE3175
Map Light2007 – 2010, 2012 – 2017 12961
Low Beam Headlight2007 – 2010, 2012 – 2017 D2S
High Beam Headlight2007 – 2010, 2012 – 2017 9005
Front Fog Light2007 – 2010, 2012 – 2017 H8/H11/H16
Back Up Light2012 – 2017 7440
2007 – 2010 921
Brake2012 – 2017 7443
Daytime Running Light2012 – 2017 9005
Dome Light2007 – 2010, 2012 – 2017 DE3175
Front Side Marker2007 – 2010, 2012 – 2017 1157NA
Front Turn Signal2007 – 2010, 2012 – 2017 1157
License Plate2012 – 2017 12961
2007 – 2010 194
Parking Light2007 – 2010, 2012 – 2017 1157
Rear Side Marker2012 – 2017 7443
Rear Turn Signal2007 – 2010, 2012 – 2017 7440NA
Tail Light2012 – 2017 7443
Luggage Compartment2007 – 2010, 2012 – 2017 DE3175
Map Light2007 – 2010, 2012 – 2017 12961