An unhealthy diet is a risk factor for developing hypertension. A high-calorie, high-fat diet and a diet that is too high in salt increases your risk of developing hypertension.