will dtc codes clear themselves?
Each throws a very distinct code which will not shut itself off until the issue is fixed. If the condition that caused it to come on is a minor fault, and stops occurring, then yes, it will clear itself. If the condition indicates a larger problem, then it will stay on until cleared manually.