If taking high blood pressure medication causes leg swelling, it may be that the drug is a calcium antagonist, which is a weak dilation of small microcirculation veins, resulting in increased venous pressure within the microcirculation, which in turn triggers leg swelling. Drugs for the treatment of hypertension include nifedipine, amlodipine, felodipine, lacidipine, etc. They are calcium antagonists, which can block the L-type calcium channels of the vascular endothelium, reduce the inward flow of calcium ions, and increase the vascular permeability, so that intracellular water infiltration into the third interstitial space, that is, peripherally in the low-hanging parts of the body to produce edema. Drugs for the treatment of hypertension need to be taken under the guidance of a doctor, do not take them blindly on your own. In the process of application caused leg swelling, you can change the drug under the guidance of the doctor. Patients need to pay attention to a low-salt diet to avoid aggravating the symptoms, and it is also recommended to try to eat more potassium-containing foods, such as oranges, spinach, purslane, etc., which can alleviate the water-sodium imbalance to a certain extent, thus playing an auxiliary role in the swelling of the legs.