checkengine light on 2007 Mazda Mazda5

what makes a car shut off. but then when you go to start it up it does ,but ends up shutting off again

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
Many many possibilities, get the codes checked to see why the check engine light came on, this will lead you to what is causing the stalling problem.