Electron-doped SrTiO3 is a well-known n-type thermoelectric material, although the figure of merit of SrTiO3 is still inferior compared with p-type metal oxide-based thermoelectric materials due to its high lattice thermal conductivity. In this study, we have used a different amount of the non-ionic surfactant F127 during sample preparation to introduce nanoscale porosities into bulk samples of La-doped SrTiO3. It has been observed that the porosities introduced into the bulk sample significantly improve the Seebeck coefficient and reduce the thermal conductivity by the charge carrier and phonon scattering respectively. Therefore, there is an overall enhancement in the power factor (PF) followed by a dimensionless figure of merit (zT) over a wide scale of temperature. The sample 20 at% La-doped SrTiO3 with 600 mg of F127 surfactant (SLTO 600F127) shows the maximum PF of 1.14 mW m−1 K−2 at 647 K which is 35% higher than the sample without porosity (SLTO 0F127), and the same sample (SLTO 600F127) shows the maximum value of zT is 0.32 at 968 K with an average enhancement of 62% in zT in comparison with the sample without porosity (SLTO 0F127).