In short, yes! CarMax is a great place to sell your car, even if its condition isn't all too good. For instance, CarMax would even buy cars with frame or flood damage, and would even take in cars with a check engine light turned on. It's a part of their slogan to buy any car. However, CarMax may still refuse to buy salvaged or damaged cars if their condition is too bad or irreparable. On top of that, CarMax will carefully consider any damage done to the car in its appraisal process. As you can imagine, a car with frame or flood damage will severely impact its value. Thus, CarMax wouldn't offer you too much for it. Once CarMax has fixed up a frame or flood-damaged car, they would later re-sell it at dealer auctions, while also disclosing any damage the car's sustained.