The DMIGM − z relation for fast radio bursts (FRBs). The scatter star points are 23 localized FRBs. DMIGM values are derived by deducing the DMMW, DMhalo, and DMhost from DMobs. DMMW values are deduced from the NE2001 model, and DMhalo values are estimated to be 65 pc cm−3. We use the median value of DMhost at different redshifts according to Equation (5). The blue line is the result derived from IllustrisTNG 300 cosmological simulation and the green shaded region is the 95% confidence level. The red line represents the theoretical model DMIGM (Equation (2)) assuming f IGM = 0.82, Ω b = 0.0488 and H 0 = 70 km s−1 Mpc−1. Due to FRB 210117 (red point) deviating from the 95% confidence region of DMIGM, we exclude it in the following analysis.