To explore the impact of anemia on the incidence of perioperative lower limb deep vein thrombosis (DVT) in patients undergoing total hip arthroplasty (THA). A retrospective analysis was conducted on clinical data of 1 916 non-fracture patients who underwent THA between September 2015 and December 2021, meeting the selection criteria. Among them, there were 811 male and 1 105 female patients, aged between 18 and 94 years with an average of 59.2 years. Among the patients, 213 were diagnosed with anemia, while 1 703 were not. Preoperative DVT was observed in 55 patients, while 1 861 patients did not have DVT preoperatively (of which 75 patients developed new-onset DVT postoperatively). Univariate analysis was performed on variables including age, gender, body mass index (BMI), diabetes, hypertension, history of tumors, history of thrombosis, history of smoking, revision surgery, preoperative D-dimer positivity (≥0.5 mg/L), presence of anemia, operation time, intraoperative blood loss, transfusion requirement, and pre- and post-operative levels of red blood cells, hemoglobin, hematocrit, and platelets. Furthermore, logistic regression was utilized for multivariate analysis to identify risk factors associated with DVT formation. Univariate analysis showed that age, gender, hypertension, revision surgery, preoperative levels of red blood cells, preoperative hemoglobin, preoperative D-dimer positivity, and anemia were influencing factors for preoperative DVT ( P<0.05). Further logistic regression analysis indicated that age (>60 years old), female, preoperative D-dimer positivity, and anemia were risk factors for preoperative DVT ( P<0.05). Univariate analysis also revealed that age, female, revision surgery, preoperative D-dimer positivity, anemia, transfusion requirement, postoperative level of red blood cells, and postoperative hemoglobin level were influencing factors for postoperative new-onset DVT ( P<0.05). Further logistic regression analysis indicated that age (>60 years old), female, and revision surgery were risk factors for postoperative new-onset DVT ( P<0.05). The incidence of anemia is higher among patients with preoperative DVT for THA, and anemia is an independent risk factor for preoperative DVT occurrence in THA. While anemia may not be an independent risk factor for THA postoperative new-onset DVT, the incidence of anemia is higher among patients with postoperative new-onset DVT.