MedCarni is used to prevent and treat a lack of carnitine. It is used to prevent and treat this condition in patients with kidney disease on dialysis. It is given to people whose body cannot properly use carnitine from their diet. Lack of carnitine can lead to liver, heart, and muscle problems.