If you own a BMW M340i, M440i or M240i with the B58 engine, the first exhaust question is usually not "which part is best?" It is "which part should I install first?" A valved exhaust and a downpipe change the car in very different ways.
A valved exhaust is the sound-first upgrade: more tone, more control, and a better daily-driver experience when you want the car quiet one minute and open the next. A downpipe is the performance-supporting upgrade: more turbo response, more volume, and a more direct path toward Stage 2-style tuning, but with more CEL, smell, inspection and race-use questions.
This guide is for G20 M340i, G22/G26 M440i, G42 M240i and earlier F-chassis 340i/440i buyers who are deciding between an AZM valved exhaust and a B58 downpipe. It is not a replacement for the full B58 fitment chart; if your main question is GEN1 vs GEN2 vs GEN3 LCI fitment, use AZM's related guide: B58 downpipe fitment guide
Quick answer — should you install the exhaust or downpipe first?
Choose the valved exhaust first if your main goal is sound, daily drivability and control. The AZM B58 BMW M340i/M440i/M240i (G20/G22/G42) Valved Exhaust System is the better first move when you want the car to feel more special every day without immediately stepping into the full tune/CEL/inspection conversation that comes with a downpipe.
Choose the downpipe first if your main goal is turbo response and a future performance path. A B58 downpipe sits closer to the turbocharger, so it has a bigger effect on exhaust flow, spool character and Stage 2-style supporting-mod planning. It also makes the car louder and can introduce check-engine-light, smell and emissions/inspection questions depending on the setup.
For most street-driven M340i owners in Québec or elsewhere in Canada, the practical order is:
- Valved exhaust first for sound control and daily enjoyment.
- Downpipe second if you are building toward tune-supported performance or track/race-use goals.
- Pair both only after verifying chassis, B58 generation, model year, valve setup, tune plan and local-use expectations.
For a race-use build, the order can flip. If the car is already being tuned and the priority is flow, the downpipe can come first, then the exhaust can be added to shape the final tone.
What changes with a valved exhaust
A valved exhaust changes the part of the system most owners notice every time they drive: tone, volume character and control. On a B58 M340i or M440i, it is the upgrade that makes the car feel less muted without turning every cold start, commute or highway drive into a full-volume event.
The AZM B58 G20/G22/G42 valved exhaust is built for 2019+ G20 M340i, 2021+ G22/G26 M440i and 2022+ G42 M240i fitments listed on the product page. AZM lists two material paths: T304 stainless steel for daily-driven toughness or Grade 5 titanium for a lighter, more premium setup. The product page also lists valve-control choices: OEM-style valve integration or a remote valve kit for open/close control.
The important buyer takeaway: a valved exhaust is not just about being louder. It lets you separate two personalities:
- Valves closed: better for early starts, cold weather commuting, longer highway drives and neighbourhood-friendly driving.
- Valves open: more volume, sharper shifts and a more aggressive B58 tone when the setting makes sense.
No exhaust can promise zero drone in every vehicle, tire setup, road surface and driving condition. But for a daily-driven M340i, a valved system gives you more control than a fixed loud setup or a muffler delete. That matters in Québec where the same car might see dense suburbs, rough spring roads, winter tires and weekend pulls.
A valved exhaust is also the cleaner first upgrade when you are not ready to tune the car. It does not replace the catalytic section and it does not carry the same CEL and emissions-risk conversation as a downpipe. If your goal is sound-first, start here:
- AZM B58 BMW M340i/M440i/M240i (G20/G22/G42) Valved Exhaust System: AZM B58 valved exhaust
- BMW Exhaust Systems collection: BMW exhaust systems collection
What changes with a downpipe
A downpipe changes the high-impact section after the turbocharger. On a B58, that makes it a performance-supporting part as much as a sound part.
Compared with a rear exhaust, an M340i downpipe can change:
- Turbo response and spool character.
- Exhaust flow for a tune-supported setup.
- Overall volume, especially under load.
- Burble/crackle intensity if the car's calibration is set up that way.
- Exhaust smell, especially with race/catless configurations.
- CEL and inspection risk, depending on the downpipe, catalyst configuration, calibration and local rules.
AZM's B58 downpipe pages list Race (Catless) and High Flow (Catted) selections on relevant products. They also list 304 stainless steel construction, CNC-machined flanges/cast inlets, compatibility with factory and most aftermarket exhaust systems where applicable, and installation language around no cutting or welding.
That does not mean every downpipe behaves the same. Community discussion around M340i downpipes repeatedly focuses on the same buyer concerns: will it throw a CEL, will it smell, is it too loud with a muffler delete, will it pass emissions, and do I need a tune? Those are exactly the questions to answer before ordering.
A downpipe usually makes the most sense when at least one of these is true:
- You are planning a tune-supported performance path.
- The car is for track/race/off-road use where applicable.
- You understand the CEL, smell and inspection trade-offs.
- You have verified the exact B58 generation and chassis fitment.
- You want more sound from the front/turbo side, not only a different rear tone.
If you only want a nicer daily sound, a downpipe is not always the best first part. If you want the supporting mod that moves the car toward a Stage 2-style path, it becomes much more relevant. For general tuning context, see AZM's Stage 1 vs Stage 2 guide: Stage 1 vs Stage 2 guide
Fitment checks for G20/G22/G42 and F-chassis GEN1 buyers
Do not order an M340i downpipe by engine name alone. "B58" is not enough. BMW changed chassis applications and B58 generations over time, so the correct part depends on the car's exact chassis, model year and generation.
Use this as a starting point, then verify before purchase:
- 2016+ F22/F23 M240i, 2016+ F30/F31 340i and 2016+ F32/F33/F36 440i: AZM lists these under the B58 GEN1 downpipe product.
- 2019+ G20 M340i, 2021+ G22/G26 M440i and 2022+ G42 M240i: AZM lists these under the B58 GEN2 downpipe product.
- 2025+ G20/G21 M340i LCI and 2025+ G22/G26 M440i LCI: AZM lists these under the B58 GEN3 LCI downpipe product.
Examples:
- A 2017 BMW 340i is an F-chassis buyer, so the GEN1 page is the first place to check.
- A 2023 BMW M340i is a G20 buyer, but you still need to verify the correct B58 generation and part listing before ordering.
- A 2025 BMW M340i LCI may fall into the GEN3 LCI path listed by AZM, so do not assume an earlier G20 part is correct.
Relevant AZM pages:
- B58 GEN1 downpipe: B58 GEN1 downpipe
- B58 GEN2 downpipe: B58 GEN2 downpipe
- B58 GEN3 LCI downpipe: B58 GEN3 LCI downpipe
- BMW Downpipes collection: BMW downpipes collection
If you are not sure, contact AZM with the ordering checklist below instead of guessing.
CEL, tune and inspection questions for Canada and Québec
This is where the valved exhaust vs downpipe decision becomes more than sound.
A valved exhaust does not usually create the same CEL discussion because it does not replace the catalytic section. It is still an exhaust modification and should be used responsibly, but the decision is mostly about sound level, valve control, fitment and material choice.
A downpipe is different. Because it changes the section tied closely to emissions hardware, the buyer must treat CEL, tune and inspection questions seriously. AZM should not guarantee that any M340i downpipe will avoid a check-engine light, pass an emissions/inspection process or be legal for road use in every province, setup or model year.
For Québec and Canada, use these rules of thumb:
- Race/catless downpipes should be treated as race-use/off-road parts only.
- Do not remove or modify emissions-related equipment on a street car without understanding the legal and inspection consequences.
- A catted downpipe may reduce smell and emissions-related concern compared with a catless setup, but it is not a blanket legal or no-CEL guarantee.
- A tune may be part of a performance path, but tune compatibility depends on ECU/DME status, software, model year and your chosen calibrator.
- Local enforcement and inspection outcomes can vary; confirm your intended use before ordering.
If the car needs to remain quiet, road-comfortable and low-risk for daily commuting, the valved exhaust is usually the safer first conversation. If the car is being prepared for race-use performance and tuning, the downpipe becomes a more logical early supporting mod.
Recommended AZM paths
Sound-first daily driver
Best for: owners who want a more emotional M340i/M440i/M240i without making the car obnoxious every day.
Recommended path:
- AZM B58 G20/G22/G42 valved exhaust.
- Choose stainless steel for daily durability or titanium if weight and premium feel matter more.
- Keep the downpipe stock until you know you want the extra volume and performance path.
- Add a downpipe later only after fitment, tune and local-use questions are answered.
Start here: AZM B58 valved exhaust
Performance-first B58 build
Best for: owners moving toward tune-supported power and sharper turbo response.
Recommended path:
- Confirm chassis/year/B58 generation.
- Choose the correct AZM B58 downpipe: GEN1, GEN2 or GEN3 LCI.
- Decide whether Race (Catless) or High Flow (Catted) matches the intended use.
- Talk through tune, CEL and inspection expectations before installation.
- Add the valved exhaust after the downpipe if you want more rear-section tone control.
Start with the collection: BMW downpipes collection
Track / race-use build
Best for: cars where performance, flow and sound are prioritized over street comfort.
Recommended path:
- Build the plan around the correct downpipe and tune strategy.
- Treat race/catless hardware as off-road/race-use only.
- Add the valved exhaust if you still want control over sound character between paddock, transit and wide-open driving.
- Verify heat management, installation clearances and service access before combining parts.
Start with performance downpipes: performance downpipes collection
Ordering checklist before contacting AZM
Before you ask for a quote or place the order, collect these details:
- Exact model: M340i, M440i, M240i, 340i, 440i or another B58 platform.
- Model year.
- Chassis code if known: G20, G21, G22, G26, G42, F22, F30, F32, etc.
- Engine/generation if known: GEN1, GEN2 or GEN3 LCI.
- Drivetrain: RWD or xDrive.
- Current exhaust setup: stock, muffler delete, aftermarket catback, existing downpipe.
- Goal: sound-first, performance-first or race-use build.
- Tune status: stock, Stage 1, Stage 2, locked/unlocked ECU/DME if known.
- Preferred material for exhaust: stainless steel or titanium.
- Downpipe preference: Race (Catless) or High Flow (Catted), if applicable.
- Province/use case: Québec street car, track car, out-of-province use, etc.
- Any emissions/inspection requirements you must satisfy.
That list lets AZM confirm fitment and recommend a path without guessing.
FAQ
Should I install an exhaust or downpipe first on an M340i?
Install the valved exhaust first if your goal is sound and daily control. Install the downpipe first if your goal is tune-supported performance, turbo response or a race-use build. For most street-driven M340i owners, exhaust first is the cleaner daily-driver move; downpipe first makes more sense when the tune/performance plan is already decided.
Will an M340i downpipe cause a check-engine light?
It can. CEL risk depends on the downpipe configuration, catalyst setup, model year, sensors, software and tune strategy. Do not buy any M340i downpipe expecting a guaranteed no-CEL result unless that has been verified for your exact setup. AZM should confirm expectations before ordering, especially for street-driven Canadian cars.
Do I need a tune for a B58 downpipe?
A downpipe can physically be installed without explaining the whole tune plan, but the performance case usually connects to Stage 2-style tuning. Tune needs vary by model year, ECU/DME status and calibration. If your goal is only sound, a valved exhaust may be a better first upgrade than installing a downpipe with no tune strategy.
Is a valved exhaust too loud for daily driving?
A valved exhaust is normally the daily-friendly sound upgrade because you can close the valves for quieter driving and open them when you want more volume. Exact loudness and drone depend on the car, road conditions, tire setup and whether the downpipe is stock or upgraded. It is more flexible than a fixed loud setup.
Which downpipe fits my 2017, 2023 or 2025 M340i/340i?
A 2017 340i points toward the F-chassis GEN1 downpipe path. A 2023 M340i is a G20 buyer and should be checked against the GEN2 listing. A 2025 M340i LCI may fall under the GEN3 LCI listing. Always verify chassis, year and B58 generation before ordering; do not rely on "B58" alone.
Can I pair an AZM valved exhaust with a downpipe?
Yes, that is a common build path when fitment is correct, but the result will be louder than either part alone and may increase CEL, smell and inspection considerations depending on the downpipe. Confirm the exact downpipe, valve setup, chassis and tune plan before combining parts.
Is an M340i downpipe street legal in Québec or Canada?
Do not assume it is. Race/catless downpipes should be treated as race-use/off-road parts only, and no article can guarantee street legality, emissions compliance or inspection results across Québec and Canada. If the car must stay road-compliant, confirm local rules and intended use before buying or installing.
Is a catted downpipe the same as keeping the factory catalytic converter?
No. A high-flow catted downpipe may be more street-friendly than a catless/race downpipe in terms of smell and emissions-related concerns, but it is still a modification. It should not be treated as a guaranteed no-CEL, no-inspection-issue or road-legal replacement for the factory setup.