Background: In Tanzania, the uptake of optimal doses (≥ 3) of sulfadoxine-pyrimethamine for intermittent preventive treatment of malaria (IPTp-SP) during pregnancy has remained below the recommended target of 80%. Therefore, this study aimed to investigate the predictors for the uptake of optimal IPTp-SP among pregnant women in Tanzania.Methods: This study used data from the 2015-16 Tanzania demographic and health survey and malaria indicator survey (TDHS-MIS). The study had a total of 4,111 women aged 15 to 49 who had live births 2 years preceding the survey. The outcome variable was uptake of three or more doses of IPTp-SP and the independent variables were age, marital status, education level, place of residence, wealth index, occupation, geographic zone, parity, the timing of first antenatal care (ANC), number of ANC visits and type of the health facility for ANC visits. Predictors for the optimal uptake of IPTp-SP were assessed using univariate and multivariable logistic regression.Results: A total of 327 (8%) women had optimal uptake of IPTp-SP doses. Among the assessed predictors, the following were significantly associated with optimal uptake of IPTp-SP doses; education level [primary (AOR: 2.2, 95% CI 1.26–3.67, P = 0.005); secondary or higher education (AOR: 2.1, 95% CI 1.08–4.22, P = 0.029)], attended ANC at the first trimester (AOR: 2.4, 95% CI 1.20–4.96, P = 0.014), attended ≥ 4 ANC visits (AOR: 1.9, 95% CI 1.34–2.83, P <0.001), attended government health facilities (AOR: 1.5, 95% CI 1.07–1.97, P = 0.017) and geographic zone [Central (AOR: 5, 95% CI 2.08–11.95, P <0.001); Southern Highlands (AOR: 2.8, 95% CI 1.15–7.02, P = 0.023); Southwest Highlands (AOR: 2.7, 95% CI 1.03–7.29, P = 0.043); Lake (AOR: 3.5, 95% CI 1.51–8.14, P = 0.004); Eastern (AOR: 1.5, 95% CI 1.88–11.07, P = 0.001)].Conclusions: The uptake of optimal IPTp-SP doses is still low in Tanzania. The optimal uptake of IPTp-SP was associated with attending ANC in the first trimester, attending more than four ANC visit, attending government health facility for ANC, having primary, secondary or higher education level and geographic zone. Therefore, we recommend health education and behavior change interventions with the emphasis on the optimal use of IPTp-SP doses.