Randy Couture is on the mend ... TMZ Sports has learned he's been discharged from the hospital following his scary crash last week and is now at home recovering.
The UFC legend sustained serious injuries after he wrecked his car during practice runs at a racetrack in Kansas City ... and actually needed to be airlifted to a medical facility to get treatment.
We're told he suffered first and second-degree burns in the accident .