BackgroundIncreased levels of low-density lipoprotein cholesterol (LDL-C) have been identified as one potential risk factor for diabetic peripheral neuropathy (DPN) in patients. The current study seeks to clarify the link between LDL-C, hyperglycemia, and DPN in patients with type 2 diabetes mellitus (T2DM).MethodsHere, a total of 120 T2DM individuals were recruited. These volunteers with T2DM were divided into 2 groups, based on the presence or absence of peripheral neuropathy. Additionally, their baseline characteristics were compared. Association among LDL-C and glycosylated hemoglobin (HbA1c) levels and DPN, particularly with respect to specific nerve conduction velocity were analyzed. To identify factors influencing DPN, regression was performed. Furthermore, mediation analysis was employed to evaluate the indirect, direct and total effects of LDL-C on specific nerve conduction velocity, with HbA1c serving as a mediator.ResultsCompared to 55 patients without DPN, 65 patients with DPN demonstrated elevated levels of LDL-C and HbA1c. Both LDL-C and HbA1c have been found to be associated with reduced the motor fiber conduction velocities of Ulnar (or the Common peroneal) nerve in diabetic patients. HbA1c is one of the known risk factors for DPN in individuals with T2DM. Further mediation analysis revealed that the effect of LDL-C on the Ulnar (or the Common peroneal) nerve motor fiber conduction velocities are fully mediated by HbA1c in patients with T2DM.ConclusionsThe impact of elevated LDL-C levels upon the Ulnar (or the Common peroneal) nerve motor fiber conduction velocities in patients with T2DM was found to be entirely mediated by increased HbA1c levels.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12944-023-01865-5.