Objective To explore the association of trimethylamine-N-oxide(TMAO)and triglyceride-glucose(TyG)index with the risk of acute ischemic stroke(AIS).Methods Patients who suffered from AIS for the first time and finally diagnosed with aortic atherosclerosis by TOAST classification were recruited in case group(n=163),and non-stroke inpatients during the same period were enrolled as control group(n=82).TyG index was calculated using fasting triglycerides and fasting blood glucose.Based on TyG index,case group was divided into low TyG(L-TyG)-,medium TyG(M-TyG)-and high TyG(H-TyG)subgroups.Blood samples were collected from all selected subjects.Enzyme-linked immunosorbent assay(ELISA)was performed to measure plasma TMAO levels.Spearman rank correlation analysis was conducted to determine the correlation between various indicators.Multiple linear regression analysis was used to identify the influencing factors of TMAO,and logistic regression analysis used to explore the influencing factors of AIS.Results When compared with control group,case group had elevated plasma TMAO levels,which followed the order H-TyG subgroup greater than M-TyG subgroup greater than L-TyG subgroup(P<0.05).TMAO level was positively correlated with TyG index(r=0.522,P<0.001)and TG(r=0.362,P<0.001)in case group.The linear regression analysis of TyG index and blood TMAO revealed that TMAO levels were influenced by gender(B=-4.871,P<0.05),diabetes(B=5.466,P<0.05)and TyG index(B=10.816,P<0.05).TyG index had the greatest impact on plasma TMAO levels in the patients with AIS.Univariate and multivariate logistic regression analyses showed that hypertension,smoking,high-density lipoprotein cholesterol(HDL-C),fasting blood glucose(FPG),homocysteine(HCY),TyG index,and TMAO were risk factors for the occurrence of AIS(P<0.05).Conclusion The patients with acute ischemic stroke have elevated plasma TMAO levels and increased TyG index.TyG index is an independent factor influencing plasma TMAO levels in patients with AIS.High levels of plasma TMAO and TyG index are risk factors for AIS.