A five-month-old boy presented with severe dilated cardiomyopathy, requiring intravenous inotropes as part of the initial management. He was found to have hypocalcemia due to vitamin D deficiency rickets. His cardiac function recovered completely after six months of vitamin D supplementation.