Complete Wiring Diagram for 2013 Mazda 3 Stereo System Installation Guide

If you’re installing or upgrading a sound system in a compact hatchback or sedan from that model year, the color-coded harness connections are your fastest route to avoiding trial-and-error mistakes. Start by locating the factory radio harness behind the center console–it’s typically a 12-pin connector with wires labeled for constant 12V power, ignition-switched 12V, ground, and four-speaker channels (front left/right, rear left/right). Match these to your aftermarket radio’s wiring schematic using a simple multimeter to verify voltage on each lead before making permanent connections.
For the speaker outputs, solid green (front right positive), solid violet (front left positive), striped green (rear right positive), and striped violet (rear left positive) are standard, with their negative counterparts following the same color pattern but adding a stripe. Avoid splicing these directly–use a harness adapter (ISO or model-specific) to preserve factory wiring integrity. If your vehicle includes steering-wheel audio controls, an additional data wire (often orange with white stripe) must be routed to the new unit’s interface to retain functionality.
Always disconnect the negative battery terminal before handling bare wires to prevent short circuits. For vehicles with security systems or amplified antennas, consult the owner’s manual for specific voltage stabilization procedures–some models require a delay module to prevent false alarms. If integrating a subwoofer, tap into the rear speaker wires (striped green/violet) with a line-output converter to convert high-level signals to RCA, ensuring compatibility with modern amplifiers. Double-check polarity by playing a mono audio test track; reversed wires will produce weak, phase-cancelled sound.
Connecting Audio Systems in the 2013 Compact Hatchback

Locate the wiring harness behind the factory unit–it terminates in a single 16-pin plug labeled “A” and a smaller 8-pin connector labeled “B”. Match each pin to the adapter bundle supplied with aftermarket head units to prevent signal loss or short circuits. Color codes generally follow ISO standards: white/white-black for front left positive/negative, gray/gray-black for front right, consistent across most aftermarket adapters.
Check the amplifier presence before splicing–base trims lack an external amp, indicated by the absence of thick orange and purple wires emerging from connector B. Premium trims integrate a 4-channel amp beneath the passenger seat; bypassing it requires connecting the adapter directly to the main harness, not the subwoofer or door speaker leads. Failure to verify this risks overridden bass or distorted midrange audio.
| Wire | Aftermarket Adapter Pin | Function | Notes |
|---|---|---|---|
| Orange/White | D12 | Illumination +12V | Dims with dash lights–connect to parking light circuit only. |
| Green/Red | C8 | Reverse Signal | Triggers rear camera input; verify polarity with multimeter. |
| Blue/White | B7 | Antenna Trigger | Activates motorized mast; manual units need direct +12V. |
| Brown/Yellow | A6 | Speed Signal | Adjustable in stereo settings; crucial for navigation map scaling. |
Retain steering-wheel controls by pairing the Metra ASWC-1 (or equivalent) to the red/yellow wire on the back of the adapter. Program each button sequence within 30 seconds of power connection; the factory default mapping erases if interrupted. Volume adjusts via rotary encoder, not +/- buttons on the wheel itself–reprogramming bypasses this limitation.
Secure ground connections to bare chassis metal behind the glove box–sand off paint and oxidant for negligible resistance. Factory jacks degrade over time; soldered joints reduce intermittent volume drops, especially in cold starts. Route RCA cables away from engine harnesses and ignition coils to avoid alternator whine, visible as a 3-5 kHz peak on equalizer graphs. Confirm proper shielding on subwoofer outputs–most factory harnesses lack dedicated twisted pairs, requiring a secondary ground lift to eliminate ground-loop hum.
Matching the Right Adapter for Your Compact Hatchback Audio Upgrade
Begin by locating the OEM connector behind the factory radio–typically a 16-pin plug with color-coded leads. Verify the harness type by comparing the pinout against standard aftermarket adapters: Metra 70-8112 for single-DIN units or Scosche MA03B for double-DIN configurations. Measure voltage on the yellow (12V constant) and red (switched) wires to confirm compatibility before purchase; incorrect harnesses may cause fuse blowouts or head unit malfunctions.
- 2009–2013 models use a unified pin layout, but late 2012 revisions introduced subtle changes–test with a multimeter if upgrading from an older vehicle.
- JDM variants often feature a distinct 20-pin connector (e.g., Mazda’s proprietary “JC” harness); Metra 71-7902 or Axxess AX-AUDIO-10 adapters bridge these gaps.
- Avoid universal harnesses claiming “one-size-fits-all” without model-specific verification–they frequently omit critical CAN bus wires, leading to dashboard errors.
For integrated steering wheel controls, pair the primary harness with a PAC RP4-MZ11 interface. This module retains OEM functionality while allowing aftermarket radios to interpret button presses. Wire the interface’s output to the radio’s input leads (typically labeled “SWI” or “REM”) and ground the black wire to chassis–skipping this step results in unresponsive controls. Always secure connections with solder and heat shrink tubing; tape or crimp connectors degrade over time, especially in climate-controlled cabins.
Step-by-Step Guide to Locating the Factory Radio Connector Pins
Begin by removing the dashboard trim panel surrounding the head unit. Use a plastic pry tool to detach the clips securing the panel–insert it at the lower edge near the climate controls to avoid snapping tabs. The factory harness will be visible once the unit is partially pulled out, still connected by a bundle of wires at the rear.
The main connector for the audio system in this model typically consists of two plugs: a larger 24-pin harness (A) and a smaller 12-pin auxiliary plug (B). Locate the 24-pin connector first–it’s usually white or gray and sits on the right side when viewing the back of the unit. The 12-pin plug, often black or blue, handles secondary functions like steering wheel controls or amplifier signals.
To identify individual pins, refer to a color-coded chart or a verified pinout schematic. If unavailable, use a multimeter set to continuity mode (≤ 200 ohms) to probe each pin against known grounds or power sources. Key pins to verify include:
- Constant 12V power (yellow wire, pin 4 on the 24-pin plug)
- Switched 12V (red wire, pin 6)
- Ground (black wire, pin 12)
- Front left speaker (+) (gray/violet, pin 15)
- Front left speaker (-) (gray, pin 16)
For amplifier-equipped trims, check the 12-pin plug for remote turn-on (blue/white wire, pin 1) and speaker-level outputs (if present). Some models route rear speaker wires through this plug–test for continuity to the corresponding pins on the 24-pin connector if audio is missing from the rear channels.
If the connector shows signs of corrosion or damage, strip the affected wires and solder replacements directly to the harness. Use heat-shrink tubing to insulate splices, ensuring no exposed copper remains. Avoid twisting wires together–this risks intermittent connections under vibration.
Troubleshooting Unlabeled Pins

When pins aren’t marked, cross-reference with a known wiring standard. For this vehicle series, the 24-pin plug often follows this pattern:
- Pins 1–3: Illumination (+/-) and dimmer control
- Pins 4–7: Power inputs (constant, switched, accessories)
- Pins 8–11: Vehicle data bus and MUTE functions
- Pins 13–24: Speaker outputs (front/rear, +/-)
Label ambiguous pins with masking tape to avoid re-testing. Never assume colors match aftermarket diagrams–this system occasionally swaps gray and white wires for speaker grounds.
Final Checks Before Reassembly
Reconnect the battery and test all functions–volume, balance, fade, and steering wheel controls–before securing the head unit. If the display dims inconsistently, verify pin 3 (illumination ground) isn’t shorted. Replace dashboard clips in reverse order, pressing firmly until they audibly snap into place. Store labeled wiring notes inside the glove box for future reference.
Integrating Third-Party Audio System Cables with Factory Harness in the Hatchback

Match the aftermarket unit’s power lead to the vehicle’s constant 12V line–located in the pink wire of the OEM connector–to maintain memory functions like presets and clock settings. Avoid splicing into the ignition-controlled line (yellow or red in most kits) unless the new head unit includes a dedicated memory saver feature; otherwise, disconnecting the battery may reset all custom settings.
Identify the ground cable (black) in the factory plug and verify its continuity with the chassis using a multimeter before attaching it to the aftermarket harness. A poor connection here generates alternator whine, signal interference, or dimming lights under heavy bass; twist the exposed ends tightly and secure them with a crimp connector or solder for durability.
Route the speaker outputs through the existing loom rather than running new cables to door-mounted drivers. The front left/right and rear left/right channels correspond to white/white-black (left front), gray/gray-black (right front), green/green-black (left rear), and purple/purple-black (right rear) wires in the stock harness. Ensure phase consistency–swap polarity on one channel if imaging sounds inverted during testing.
Use a bypass module or direct wiring for the vehicle’s amplifier trigger if the new unit lacks built-in turn-on control. The factory signal (blue/white stripe) activates external electronics; connect it to the aftermarket remote wire only if the system includes external amplifiers. Skipping this step leaves powered subwoofers or signal processors dormant, silencing key audio components.
Test each connection individually with a 1kHz sine wave at moderate volume before finalizing the install. Check for balanced volume across all channels and verify that mute functions (parking brake, reverse signal) engage correctly. Replace any blown fuses immediately–standard ratings are 10A for constant power and 15A for switched circuits–to prevent overheating.
Secure excess cable length with spiral wrap or loom tape to prevent rattling against dashboard components or pedal assemblies. Zip-tie bundles away from moving parts like steering columns or HVAC vents; trapped wires can melt under heat or cause shorts if pinched. Label each connection with color-coded tape for future diagnostics.
Program the new unit’s fader and balance settings to match the vehicle’s cabin layout before mounting the dash kit. Factory settings often assume front-heavy soundstages; adjust rear channel output downward if vocals sound distant or echo. Reset equalizer presets to flat prior to fine-tuning–bass-heavy factory curves mask distortion in lower-quality speakers.