From a purely statistical standpoint, Mercedes-Benz, particularly the C-Class, has shown slightly higher repair costs over a 10-year period compared to the BMW 3 Series, according to data from RepairPal and similar sources. However, the difference isn't massive, and both brands fall into the 'average' range for luxury car reliability. Key factors influencing reliability are the specific engine (some BMW engines are notorious for oil leaks), the car's maintenance history, and driving habits. Preventative maintenance on either is critical; neglecting oil changes or ignoring warning lights will lead to expensive problems down the road. For the 2018-2020 models, I would lean slightly towards BMW due to feedback on some early C-Class models having electrical gremlins. Post-2020, they seem much more evenly matched. Get a pre-purchase inspection by a qualified mechanic who specializes in European cars before committing to anything.