If there is a deficiency of magnesium in your body then you can overcome this deficiency by a healthy diet. Magnesium is malar from some food items. Such as almonds, avocados, bananas, banana seeds, soya, milk, cashews, pecans, walnuts, potato skin, yogurt, whole grains and green leafy vegetables.